No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

4524 líneas
153 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 = 47);
  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. /***/ 47:
  546. /***/ (function(module, exports, __webpack_require__) {
  547. module.exports = __webpack_require__("sGRZ");
  548. /***/ }),
  549. /***/ "4D1s":
  550. /***/ (function(module, exports) {
  551. module.exports = require("@material-ui/icons/Menu");
  552. /***/ }),
  553. /***/ "5ImT":
  554. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  555. "use strict";
  556. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  557. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  558. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  559. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  560. /* harmony import */ var assets_jss_nextjs_material_kit_pages_componentsSections_notificationsStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7WNa");
  561. /* harmony import */ var components_Card_Card_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("A2So");
  562. /* harmony import */ var components_Card_CardBody_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UsYt");
  563. /* harmony import */ var components_Card_CardHeader_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2zww");
  564. /* harmony import */ var components_Header_LinkCompany_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("K2z0");
  565. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  566. 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; }
  567. 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; }
  568. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(assets_jss_nextjs_material_kit_pages_componentsSections_notificationsStyles_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]);
  569. const DataPenghargaan = function (_ref) {
  570. let {
  571. backend,
  572. businessPartners,
  573. service,
  574. carousel
  575. } = _ref,
  576. props = _objectWithoutProperties(_ref, ["backend", "businessPartners", "service", "carousel"]);
  577. const classes = useStyles();
  578. return __jsx("div", null, __jsx(components_Card_Card_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
  579. className: classes.textCenter,
  580. align: "center",
  581. style: {
  582. padding: "5px"
  583. }
  584. }, __jsx("div", {
  585. align: "center"
  586. }, __jsx(components_Card_CardHeader_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], {
  587. color: "info",
  588. justify: "center"
  589. }, __jsx(components_Header_LinkCompany_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], null))), __jsx(components_Card_CardBody_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], null, __jsx("div", {
  590. align: "center"
  591. }, __jsx("img", {
  592. src: "http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png"
  593. })), __jsx("h1", {
  594. className: classes.cardTitle
  595. }, __jsx("b", null, "Penghargaan Thamrin Group")), __jsx("p", null, "Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti"), __jsx("h3", null, "Visi"), __jsx("p", null, "Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik"), __jsx("h3", null, "Misi"), __jsx("p", null, "1. Melayani 21,7 juta pelanggan di tahun 2022"), __jsx("p", null, "2. Mengembangkan pemimpin yang sukses"), __jsx("p", null, "3. Mengelola proses administrasi yang simple & excellent"), __jsx("p", null, "4. Mendukung continuous improvement"))));
  596. };
  597. /* harmony default export */ __webpack_exports__["a"] = (DataPenghargaan);
  598. /***/ }),
  599. /***/ "7KCV":
  600. /***/ (function(module, exports, __webpack_require__) {
  601. var _typeof = __webpack_require__("C+bE");
  602. function _getRequireWildcardCache() {
  603. if (typeof WeakMap !== "function") return null;
  604. var cache = new WeakMap();
  605. _getRequireWildcardCache = function _getRequireWildcardCache() {
  606. return cache;
  607. };
  608. return cache;
  609. }
  610. function _interopRequireWildcard(obj) {
  611. if (obj && obj.__esModule) {
  612. return obj;
  613. }
  614. if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
  615. return {
  616. "default": obj
  617. };
  618. }
  619. var cache = _getRequireWildcardCache();
  620. if (cache && cache.has(obj)) {
  621. return cache.get(obj);
  622. }
  623. var newObj = {};
  624. var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
  625. for (var key in obj) {
  626. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  627. var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
  628. if (desc && (desc.get || desc.set)) {
  629. Object.defineProperty(newObj, key, desc);
  630. } else {
  631. newObj[key] = obj[key];
  632. }
  633. }
  634. }
  635. newObj["default"] = obj;
  636. if (cache) {
  637. cache.set(obj, newObj);
  638. }
  639. return newObj;
  640. }
  641. module.exports = _interopRequireWildcard;
  642. /***/ }),
  643. /***/ "7WNa":
  644. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  645. "use strict";
  646. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  647. 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; }
  648. 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; }
  649. 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; }
  650. const notificationsStyles = {
  651. section: {
  652. backgroundColor: "#FFFFFF",
  653. display: "block",
  654. width: "100%",
  655. position: "relative",
  656. padding: "0"
  657. },
  658. title: _objectSpread({}, assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* title */ "v"], {
  659. marginTop: "30px",
  660. minHeight: "32px",
  661. textDecoration: "none"
  662. }),
  663. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"]
  664. };
  665. /* harmony default export */ __webpack_exports__["a"] = (notificationsStyles);
  666. /***/ }),
  667. /***/ "7vM9":
  668. /***/ (function(module, exports) {
  669. module.exports = require("@material-ui/core/Icon");
  670. /***/ }),
  671. /***/ "8//M":
  672. /***/ (function(module, exports) {
  673. module.exports = require("@material-ui/core/styles/makeStyles");
  674. /***/ }),
  675. /***/ "8x5e":
  676. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  677. "use strict";
  678. // EXPORTS
  679. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Header; });
  680. // EXTERNAL MODULE: external "react"
  681. var external_react_ = __webpack_require__("cDcd");
  682. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  683. // EXTERNAL MODULE: ./node_modules/next/link.js
  684. var next_link = __webpack_require__("YFqc");
  685. var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
  686. // EXTERNAL MODULE: external "classnames"
  687. var external_classnames_ = __webpack_require__("K2gz");
  688. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  689. // EXTERNAL MODULE: external "@material-ui/core/styles"
  690. var styles_ = __webpack_require__("9Pu4");
  691. // EXTERNAL MODULE: external "@material-ui/core/AppBar"
  692. var AppBar_ = __webpack_require__("4151");
  693. var AppBar_default = /*#__PURE__*/__webpack_require__.n(AppBar_);
  694. // EXTERNAL MODULE: external "@material-ui/core/Toolbar"
  695. var Toolbar_ = __webpack_require__("Ms0O");
  696. var Toolbar_default = /*#__PURE__*/__webpack_require__.n(Toolbar_);
  697. // EXTERNAL MODULE: external "@material-ui/core/IconButton"
  698. var IconButton_ = __webpack_require__("EmCc");
  699. var IconButton_default = /*#__PURE__*/__webpack_require__.n(IconButton_);
  700. // EXTERNAL MODULE: external "@material-ui/core/Button"
  701. var Button_ = __webpack_require__("Wh1t");
  702. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  703. // EXTERNAL MODULE: external "@material-ui/core/Hidden"
  704. var Hidden_ = __webpack_require__("Y8uC");
  705. var Hidden_default = /*#__PURE__*/__webpack_require__.n(Hidden_);
  706. // EXTERNAL MODULE: external "@material-ui/core/Drawer"
  707. var Drawer_ = __webpack_require__("Q01v");
  708. var Drawer_default = /*#__PURE__*/__webpack_require__.n(Drawer_);
  709. // EXTERNAL MODULE: external "@material-ui/icons/Menu"
  710. var Menu_ = __webpack_require__("4D1s");
  711. var Menu_default = /*#__PURE__*/__webpack_require__.n(Menu_);
  712. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  713. var nextjs_material_kit = __webpack_require__("eDSW");
  714. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerStyle.js
  715. 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; }
  716. 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; }
  717. 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; }
  718. const headerStyle = {
  719. appBar: {
  720. display: "flex",
  721. border: "0",
  722. borderRadius: "3px",
  723. padding: "0.625rem 0",
  724. marginBottom: "20px",
  725. color: "#555",
  726. width: "100%",
  727. backgroundColor: "#fff",
  728. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)",
  729. transition: "all 150ms ease 0s",
  730. alignItems: "center",
  731. flexFlow: "row nowrap",
  732. justifyContent: "flex-start",
  733. position: "relative",
  734. zIndex: "unset"
  735. },
  736. absolute: {
  737. position: "absolute",
  738. zIndex: "1100"
  739. },
  740. fixed: {
  741. position: "fixed",
  742. zIndex: "1100"
  743. },
  744. container: _objectSpread({}, nextjs_material_kit["c" /* container */], {
  745. minHeight: "50px",
  746. flex: "1",
  747. alignItems: "center",
  748. justifyContent: "space-between",
  749. display: "flex",
  750. flexWrap: "nowrap"
  751. }),
  752. flex: {
  753. flex: 1
  754. },
  755. title: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  756. lineHeight: "30px",
  757. fontSize: "18px",
  758. borderRadius: "3px",
  759. textTransform: "none",
  760. color: "inherit",
  761. padding: "8px 16px",
  762. letterSpacing: "unset",
  763. "&:hover,&:focus": {
  764. color: "inherit",
  765. background: "transparent"
  766. }
  767. }),
  768. appResponsive: {
  769. margin: "20px 10px"
  770. },
  771. primary: {
  772. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  773. color: "#FFFFFF",
  774. 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)}`
  775. },
  776. info: {
  777. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  778. color: "#FFFFFF",
  779. 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)}`
  780. },
  781. success: {
  782. backgroundColor: nextjs_material_kit["u" /* successColor */],
  783. color: "#FFFFFF",
  784. 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)}`
  785. },
  786. warning: {
  787. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  788. color: "#FFFFFF",
  789. 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)}`
  790. },
  791. danger: {
  792. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  793. color: "#FFFFFF",
  794. 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)}`
  795. },
  796. rose: {
  797. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  798. color: "#FFFFFF",
  799. 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)}`
  800. },
  801. transparent: {
  802. backgroundColor: "transparent !important",
  803. boxShadow: "none",
  804. paddingTop: "25px",
  805. color: "#FFFFFF"
  806. },
  807. dark: {
  808. color: "#FFFFFF",
  809. backgroundColor: "#212121 !important",
  810. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)"
  811. },
  812. white: {
  813. border: "0",
  814. padding: "0.625rem 0",
  815. marginBottom: "20px",
  816. color: "#555",
  817. backgroundColor: "#fff !important",
  818. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)"
  819. },
  820. drawerPaper: _objectSpread({
  821. border: "none",
  822. bottom: "0",
  823. transitionProperty: "top, bottom, width",
  824. transitionDuration: ".2s, .2s, .35s",
  825. transitionTimingFunction: "linear, linear, ease",
  826. width: nextjs_material_kit["h" /* drawerWidth */]
  827. }, nextjs_material_kit["a" /* boxShadow */], {
  828. position: "fixed",
  829. display: "block",
  830. top: "0",
  831. height: "100vh",
  832. right: "0",
  833. left: "auto",
  834. visibility: "visible",
  835. overflowY: "visible",
  836. borderTop: "none",
  837. textAlign: "left",
  838. paddingRight: "0px",
  839. paddingLeft: "0"
  840. }, nextjs_material_kit["w" /* transition */])
  841. };
  842. /* harmony default export */ var components_headerStyle = (headerStyle);
  843. // CONCATENATED MODULE: ./components/Header/Header.js
  844. var __jsx = external_react_default.a.createElement;
  845. // nodejs library that concatenates classes
  846. // nodejs library to set properties for components
  847. // @material-ui/core components
  848. // @material-ui/icons
  849. // core components
  850. const useStyles = Object(styles_["makeStyles"])(components_headerStyle);
  851. function Header(props) {
  852. const classes = useStyles();
  853. const [mobileOpen, setMobileOpen] = external_react_default.a.useState(false);
  854. external_react_default.a.useEffect(() => {
  855. if (props.changeColorOnScroll) {
  856. window.addEventListener("scroll", headerColorChange);
  857. }
  858. return function cleanup() {
  859. if (props.changeColorOnScroll) {
  860. window.removeEventListener("scroll", headerColorChange);
  861. }
  862. };
  863. });
  864. const handleDrawerToggle = () => {
  865. setMobileOpen(!mobileOpen);
  866. };
  867. const headerColorChange = () => {
  868. const {
  869. color,
  870. changeColorOnScroll
  871. } = props;
  872. const windowsScrollTop = window.pageYOffset;
  873. if (windowsScrollTop > changeColorOnScroll.height) {
  874. document.body.getElementsByTagName("header")[0].classList.remove(classes[color]);
  875. document.body.getElementsByTagName("header")[0].classList.add(classes[changeColorOnScroll.color]);
  876. } else {
  877. document.body.getElementsByTagName("header")[0].classList.add(classes[color]);
  878. document.body.getElementsByTagName("header")[0].classList.remove(classes[changeColorOnScroll.color]);
  879. }
  880. };
  881. const {
  882. color,
  883. rightLinks,
  884. leftLinks,
  885. brand,
  886. fixed,
  887. absolute
  888. } = props;
  889. const appBarClasses = external_classnames_default()({
  890. [classes.appBar]: true,
  891. [classes[color]]: color,
  892. [classes.absolute]: absolute,
  893. [classes.fixed]: fixed
  894. });
  895. const brandComponent = __jsx(link_default.a, {
  896. href: "/components",
  897. as: "/components"
  898. }, __jsx(Button_default.a, {
  899. className: classes.title
  900. }, brand));
  901. return __jsx(AppBar_default.a, {
  902. className: appBarClasses
  903. }, __jsx(Toolbar_default.a, {
  904. className: classes.container
  905. }, leftLinks !== undefined ? brandComponent : null, __jsx("div", {
  906. className: classes.flex
  907. }, leftLinks !== undefined ? __jsx(Hidden_default.a, {
  908. smDown: true,
  909. implementation: "css"
  910. }, leftLinks) : brandComponent), __jsx(Hidden_default.a, {
  911. smDown: true,
  912. implementation: "css"
  913. }, rightLinks), __jsx(Hidden_default.a, {
  914. mdUp: true
  915. }, __jsx(IconButton_default.a, {
  916. color: "inherit",
  917. "aria-label": "open drawer",
  918. onClick: handleDrawerToggle
  919. }, __jsx(Menu_default.a, null)))), __jsx(Hidden_default.a, {
  920. mdUp: true,
  921. implementation: "js"
  922. }, __jsx(Drawer_default.a, {
  923. variant: "temporary",
  924. anchor: "right",
  925. open: mobileOpen,
  926. classes: {
  927. paper: classes.drawerPaper
  928. },
  929. onClose: handleDrawerToggle
  930. }, __jsx("div", {
  931. className: classes.appResponsive
  932. }, leftLinks, rightLinks))));
  933. }
  934. Header.defaultProp = {
  935. color: "black"
  936. };
  937. /***/ }),
  938. /***/ "9Pu4":
  939. /***/ (function(module, exports) {
  940. module.exports = require("@material-ui/core/styles");
  941. /***/ }),
  942. /***/ "A2So":
  943. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  944. "use strict";
  945. // EXPORTS
  946. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Card; });
  947. // EXTERNAL MODULE: external "react"
  948. var external_react_ = __webpack_require__("cDcd");
  949. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  950. // EXTERNAL MODULE: external "classnames"
  951. var external_classnames_ = __webpack_require__("K2gz");
  952. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  953. // EXTERNAL MODULE: external "@material-ui/core/styles"
  954. var styles_ = __webpack_require__("9Pu4");
  955. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardStyle.js
  956. const cardStyle = {
  957. card: {
  958. border: "0",
  959. marginBottom: "30px",
  960. marginTop: "30px",
  961. borderRadius: "6px",
  962. color: "rgba(0, 0, 0, 0.87)",
  963. background: "#fff",
  964. width: "100%",
  965. 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)",
  966. position: "relative",
  967. display: "flex",
  968. flexDirection: "column",
  969. minWidth: "0",
  970. wordWrap: "break-word",
  971. fontSize: ".875rem",
  972. transition: "all 300ms linear"
  973. },
  974. cardPlain: {
  975. background: "transparent",
  976. boxShadow: "none"
  977. },
  978. cardCarousel: {
  979. overflow: "hidden"
  980. }
  981. };
  982. /* harmony default export */ var components_cardStyle = (cardStyle);
  983. // CONCATENATED MODULE: ./components/Card/Card.js
  984. var __jsx = external_react_default.a.createElement;
  985. 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); }
  986. 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; }
  987. 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; }
  988. // nodejs library that concatenates classes
  989. // nodejs library to set properties for components
  990. // @material-ui/core components
  991. // @material-ui/icons
  992. // core components
  993. const useStyles = Object(styles_["makeStyles"])(components_cardStyle);
  994. function Card(props) {
  995. const classes = useStyles();
  996. const {
  997. className,
  998. children,
  999. plain,
  1000. carousel
  1001. } = props,
  1002. rest = _objectWithoutProperties(props, ["className", "children", "plain", "carousel"]);
  1003. const cardClasses = external_classnames_default()({
  1004. [classes.card]: true,
  1005. [classes.cardPlain]: plain,
  1006. [classes.cardCarousel]: carousel,
  1007. [className]: className !== undefined
  1008. });
  1009. return __jsx("div", _extends({
  1010. className: cardClasses
  1011. }, rest), children);
  1012. }
  1013. /***/ }),
  1014. /***/ "AroE":
  1015. /***/ (function(module, exports) {
  1016. function _interopRequireDefault(obj) {
  1017. return obj && obj.__esModule ? obj : {
  1018. "default": obj
  1019. };
  1020. }
  1021. module.exports = _interopRequireDefault;
  1022. /***/ }),
  1023. /***/ "C+bE":
  1024. /***/ (function(module, exports) {
  1025. 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); }
  1026. function _typeof(obj) {
  1027. if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
  1028. module.exports = _typeof = function _typeof(obj) {
  1029. return _typeof2(obj);
  1030. };
  1031. } else {
  1032. module.exports = _typeof = function _typeof(obj) {
  1033. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
  1034. };
  1035. }
  1036. return _typeof(obj);
  1037. }
  1038. module.exports = _typeof;
  1039. /***/ }),
  1040. /***/ "EmCc":
  1041. /***/ (function(module, exports) {
  1042. module.exports = require("@material-ui/core/IconButton");
  1043. /***/ }),
  1044. /***/ "Fm7H":
  1045. /***/ (function(module, exports) {
  1046. module.exports = require("@material-ui/icons/Favorite");
  1047. /***/ }),
  1048. /***/ "JQ2V":
  1049. /***/ (function(module, exports) {
  1050. module.exports = require("@material-ui/core/Grid");
  1051. /***/ }),
  1052. /***/ "Jlmy":
  1053. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1054. "use strict";
  1055. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Footer; });
  1056. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1057. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1058. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  1059. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  1060. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("KKbo");
  1061. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__);
  1062. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  1063. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  1064. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Fm7H");
  1065. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__);
  1066. /* harmony import */ var components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("mtPR");
  1067. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("JQ2V");
  1068. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__);
  1069. /* harmony import */ var components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("i4t8");
  1070. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("qt1I");
  1071. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__);
  1072. /* harmony import */ var components_Card_Card_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("A2So");
  1073. /* harmony import */ var assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("oLCs");
  1074. /* harmony import */ var assets_img_nscb_png__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("+Ore");
  1075. /* harmony import */ var assets_img_nscb_png__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(assets_img_nscb_png__WEBPACK_IMPORTED_MODULE_11__);
  1076. /* harmony import */ var assets_img_Suzuki_png__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("Npyv");
  1077. /* harmony import */ var assets_img_Suzuki_png__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(assets_img_Suzuki_png__WEBPACK_IMPORTED_MODULE_12__);
  1078. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1079. 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"]);
  1080. function Footer(props) {
  1081. const classes = useStyles();
  1082. const {
  1083. whiteFont
  1084. } = props;
  1085. const footerClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1086. [classes.footer]: true,
  1087. [classes.footerWhiteFont]: whiteFont
  1088. });
  1089. const aClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1090. [classes.a]: true,
  1091. [classes.footerWhiteFont]: whiteFont
  1092. });
  1093. return __jsx(components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
  1094. xs: 12
  1095. }, __jsx("div", {
  1096. align: "center",
  1097. style: {
  1098. marginTop: "-20px"
  1099. }
  1100. }, __jsx("br", null), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1101. align: "center",
  1102. style: {
  1103. marginTop: "-20px"
  1104. }
  1105. }, __jsx("img", {
  1106. className: classes.imgCard,
  1107. src: assets_img_nscb_png__WEBPACK_IMPORTED_MODULE_11___default.a,
  1108. style: {
  1109. width: "350px",
  1110. padding: "20px"
  1111. }
  1112. }), __jsx("img", {
  1113. className: classes.imgCard,
  1114. src: assets_img_Suzuki_png__WEBPACK_IMPORTED_MODULE_12___default.a,
  1115. style: {
  1116. width: "350px",
  1117. padding: "20px"
  1118. }
  1119. }))), __jsx("br", null), __jsx("div", {
  1120. align: "center"
  1121. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1122. className: classes.list
  1123. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1124. className: classes.inlineBlock
  1125. }, __jsx("a", {
  1126. href: "/suzuki/home",
  1127. className: classes.block
  1128. }, " Home ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1129. className: classes.inlineBlock
  1130. }, __jsx("a", {
  1131. href: "/suzuki/product/product",
  1132. className: classes.block
  1133. }, " Product ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1134. className: classes.inlineBlock
  1135. }, __jsx("a", {
  1136. href: "/suzuki/latestsnews",
  1137. className: classes.block
  1138. }, " Latest News ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1139. className: classes.inlineBlock
  1140. }, __jsx("a", {
  1141. href: "/suzuki/carrer",
  1142. className: classes.block
  1143. }, " Carrer ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1144. className: classes.inlineBlock
  1145. }, __jsx("a", {
  1146. href: "/suzuki/about_us/aboutus",
  1147. className: classes.block
  1148. }, " About Us ")))), __jsx("div", {
  1149. align: "center"
  1150. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1151. className: classes.list
  1152. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1153. className: classes.inlineBlock
  1154. }, __jsx("a", {
  1155. href: "#",
  1156. target: "_blank",
  1157. className: classes.block
  1158. }, "Facebook")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1159. className: classes.inlineBlock
  1160. }, __jsx("a", {
  1161. href: "#",
  1162. target: "_blank",
  1163. className: classes.block
  1164. }, "Instagram")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1165. className: classes.inlineBlock
  1166. }, __jsx("a", {
  1167. href: "#",
  1168. target: "_blank",
  1169. className: classes.block
  1170. }, "Twitter")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1171. className: classes.inlineBlock
  1172. }, __jsx("a", {
  1173. href: "#",
  1174. target: "_blank",
  1175. className: classes.block
  1176. }, "Youtube")))), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1177. align: "center"
  1178. }, "\xA9 ", 1900 + new Date().getYear(), " , All Right Reserved", " ", " by", " ", " @Thamrin Brothers"), __jsx("br", null), __jsx("br", null));
  1179. }
  1180. /***/ }),
  1181. /***/ "K2gz":
  1182. /***/ (function(module, exports) {
  1183. module.exports = require("classnames");
  1184. /***/ }),
  1185. /***/ "K2z0":
  1186. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1187. "use strict";
  1188. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Footer; });
  1189. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1190. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1191. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  1192. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  1193. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("KKbo");
  1194. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__);
  1195. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  1196. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  1197. /* harmony import */ var components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Kg+a");
  1198. /* harmony import */ var assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("oLCs");
  1199. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1200. /*eslint-disable*/
  1201. // nodejs library to set properties for components
  1202. // nodejs library that concatenates classes
  1203. // material-ui core components
  1204. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__["makeStyles"])(assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"]);
  1205. function Footer(props) {
  1206. const classes = useStyles();
  1207. const {
  1208. whiteFont
  1209. } = props;
  1210. const footerClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1211. [classes.footer]: true,
  1212. [classes.footerWhiteFont]: whiteFont
  1213. });
  1214. const aClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1215. [classes.a]: true,
  1216. [classes.footerWhiteFont]: whiteFont
  1217. });
  1218. return __jsx("footer", {
  1219. className: footerClasses
  1220. }, __jsx("div", {
  1221. className: classes.container
  1222. }, __jsx("div", null, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1223. justify: "center",
  1224. className: classes.list
  1225. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1226. className: classes.inlineBlock
  1227. }, __jsx("a", {
  1228. href: "tugas_fungsi",
  1229. className: classes.block
  1230. }, "Tugas & Fungsi")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1231. className: classes.inlineBlock
  1232. }, __jsx("a", {
  1233. href: "sejarah",
  1234. className: classes.block
  1235. }, "Sejarah Perusahaan")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1236. className: classes.inlineBlock
  1237. }, __jsx("a", {
  1238. href: "profile",
  1239. className: classes.block
  1240. }, "Profil Perusahaan")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1241. className: classes.inlineBlock
  1242. }, __jsx("a", {
  1243. href: "tata_kelola",
  1244. className: classes.block
  1245. }, "Tata Kelola Perusahaan")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1246. className: classes.inlineBlock
  1247. }, __jsx("a", {
  1248. href: "struktur_organisasi",
  1249. className: classes.block
  1250. }, "Struktur Organisasi")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1251. className: classes.inlineBlock
  1252. }, __jsx("a", {
  1253. href: "saham",
  1254. className: classes.block
  1255. }, "Kepemilikan Saham")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1256. className: classes.inlineBlock
  1257. }, __jsx("a", {
  1258. href: "penghargaan",
  1259. className: classes.block
  1260. }, "Penghargaan"))))));
  1261. }
  1262. /***/ }),
  1263. /***/ "KKbo":
  1264. /***/ (function(module, exports) {
  1265. module.exports = require("@material-ui/core");
  1266. /***/ }),
  1267. /***/ "Kg+a":
  1268. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1269. "use strict";
  1270. // EXTERNAL MODULE: external "react"
  1271. var external_react_ = __webpack_require__("cDcd");
  1272. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1273. // EXTERNAL MODULE: external "classnames"
  1274. var external_classnames_ = __webpack_require__("K2gz");
  1275. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1276. // EXTERNAL MODULE: external "@material-ui/core/styles/makeStyles"
  1277. var makeStyles_ = __webpack_require__("8//M");
  1278. var makeStyles_default = /*#__PURE__*/__webpack_require__.n(makeStyles_);
  1279. // EXTERNAL MODULE: external "@material-ui/core/Button"
  1280. var Button_ = __webpack_require__("Wh1t");
  1281. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  1282. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1283. var nextjs_material_kit = __webpack_require__("eDSW");
  1284. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/buttonStyle.js
  1285. const buttonStyle = {
  1286. button: {
  1287. minHeight: "auto",
  1288. minWidth: "auto",
  1289. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1290. color: "#FFFFFF",
  1291. 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)",
  1292. border: "none",
  1293. borderRadius: "3px",
  1294. position: "relative",
  1295. padding: "12px 30px",
  1296. margin: ".3125rem 1px",
  1297. fontSize: "12px",
  1298. fontWeight: "400",
  1299. textTransform: "uppercase",
  1300. letterSpacing: "0",
  1301. willChange: "box-shadow, transform",
  1302. transition: "box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
  1303. lineHeight: "1.42857143",
  1304. textAlign: "center",
  1305. whiteSpace: "nowrap",
  1306. verticalAlign: "middle",
  1307. touchAction: "manipulation",
  1308. cursor: "pointer",
  1309. "&:hover,&:focus": {
  1310. color: "#FFFFFF",
  1311. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1312. 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)"
  1313. },
  1314. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1315. position: "relative",
  1316. display: "inline-block",
  1317. top: "0",
  1318. fontSize: "1.1rem",
  1319. marginRight: "4px",
  1320. verticalAlign: "middle"
  1321. },
  1322. "& svg": {
  1323. position: "relative",
  1324. display: "inline-block",
  1325. top: "0",
  1326. width: "18px",
  1327. height: "18px",
  1328. marginRight: "4px",
  1329. verticalAlign: "middle"
  1330. },
  1331. "&$justIcon": {
  1332. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1333. marginRight: "0px",
  1334. position: "absolute",
  1335. width: "100%",
  1336. transform: "none",
  1337. left: "0px",
  1338. top: "0px",
  1339. height: "100%",
  1340. lineHeight: "41px",
  1341. fontSize: "20px"
  1342. }
  1343. }
  1344. },
  1345. fullWidth: {
  1346. width: "100%"
  1347. },
  1348. primary: {
  1349. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1350. 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)}`,
  1351. "&:hover,&:focus": {
  1352. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1353. 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)}`
  1354. }
  1355. },
  1356. info: {
  1357. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1358. 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)}`,
  1359. "&:hover,&:focus": {
  1360. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1361. 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)}`
  1362. }
  1363. },
  1364. success: {
  1365. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1366. 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)}`,
  1367. "&:hover,&:focus": {
  1368. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1369. 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)}`
  1370. }
  1371. },
  1372. warning: {
  1373. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1374. 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)}`,
  1375. "&:hover,&:focus": {
  1376. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1377. 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)}`
  1378. }
  1379. },
  1380. danger: {
  1381. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1382. 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)}`,
  1383. "&:hover,&:focus": {
  1384. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1385. 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)}`
  1386. }
  1387. },
  1388. rose: {
  1389. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1390. 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)}`,
  1391. "&:hover,&:focus": {
  1392. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1393. 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)}`
  1394. }
  1395. },
  1396. white: {
  1397. "&,&:focus,&:hover,&:visited": {
  1398. backgroundColor: "#FFFFFF",
  1399. color: nextjs_material_kit["i" /* grayColor */]
  1400. }
  1401. },
  1402. twitter: {
  1403. backgroundColor: "#55acee",
  1404. color: "#fff",
  1405. 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)",
  1406. "&:hover,&:focus,&:visited": {
  1407. backgroundColor: "#55acee",
  1408. color: "#fff",
  1409. 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)"
  1410. }
  1411. },
  1412. facebook: {
  1413. backgroundColor: "#3b5998",
  1414. color: "#fff",
  1415. 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)",
  1416. "&:hover,&:focus": {
  1417. backgroundColor: "#3b5998",
  1418. color: "#fff",
  1419. 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)"
  1420. }
  1421. },
  1422. google: {
  1423. backgroundColor: "#dd4b39",
  1424. color: "#fff",
  1425. 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)",
  1426. "&:hover,&:focus": {
  1427. backgroundColor: "#dd4b39",
  1428. color: "#fff",
  1429. 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)"
  1430. }
  1431. },
  1432. github: {
  1433. backgroundColor: "#333333",
  1434. color: "#fff",
  1435. 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)",
  1436. "&:hover,&:focus": {
  1437. backgroundColor: "#333333",
  1438. color: "#fff",
  1439. 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)"
  1440. }
  1441. },
  1442. simple: {
  1443. "&,&:focus,&:hover,&:visited": {
  1444. color: "#FFFFFF",
  1445. background: "transparent",
  1446. boxShadow: "none"
  1447. },
  1448. "&$primary": {
  1449. "&,&:focus,&:hover,&:visited": {
  1450. color: nextjs_material_kit["p" /* primaryColor */]
  1451. }
  1452. },
  1453. "&$info": {
  1454. "&,&:focus,&:hover,&:visited": {
  1455. color: nextjs_material_kit["m" /* infoColor */]
  1456. }
  1457. },
  1458. "&$success": {
  1459. "&,&:focus,&:hover,&:visited": {
  1460. color: nextjs_material_kit["u" /* successColor */]
  1461. }
  1462. },
  1463. "&$warning": {
  1464. "&,&:focus,&:hover,&:visited": {
  1465. color: nextjs_material_kit["z" /* warningColor */]
  1466. }
  1467. },
  1468. "&$rose": {
  1469. "&,&:focus,&:hover,&:visited": {
  1470. color: nextjs_material_kit["r" /* roseColor */]
  1471. }
  1472. },
  1473. "&$danger": {
  1474. "&,&:focus,&:hover,&:visited": {
  1475. color: nextjs_material_kit["f" /* dangerColor */]
  1476. }
  1477. },
  1478. "&$twitter": {
  1479. "&,&:focus,&:hover,&:visited": {
  1480. color: "#55acee"
  1481. }
  1482. },
  1483. "&$facebook": {
  1484. "&,&:focus,&:hover,&:visited": {
  1485. color: "#3b5998"
  1486. }
  1487. },
  1488. "&$google": {
  1489. "&,&:focus,&:hover,&:visited": {
  1490. color: "#dd4b39"
  1491. }
  1492. },
  1493. "&$github": {
  1494. "&,&:focus,&:hover,&:visited": {
  1495. color: "#333333"
  1496. }
  1497. }
  1498. },
  1499. transparent: {
  1500. "&,&:focus,&:hover,&:visited": {
  1501. color: "inherit",
  1502. background: "transparent",
  1503. boxShadow: "none"
  1504. }
  1505. },
  1506. disabled: {
  1507. opacity: "0.65",
  1508. pointerEvents: "none"
  1509. },
  1510. lg: {
  1511. padding: "1.125rem 2.25rem",
  1512. fontSize: "0.875rem",
  1513. lineHeight: "1.333333",
  1514. borderRadius: "0.2rem"
  1515. },
  1516. sm: {
  1517. padding: "0.40625rem 1.25rem",
  1518. fontSize: "0.6875rem",
  1519. lineHeight: "1.5",
  1520. borderRadius: "0.2rem"
  1521. },
  1522. round: {
  1523. borderRadius: "30px"
  1524. },
  1525. block: {
  1526. width: "100% !important"
  1527. },
  1528. link: {
  1529. "&,&:hover,&:focus": {
  1530. backgroundColor: "transparent",
  1531. color: "#999999",
  1532. boxShadow: "none"
  1533. }
  1534. },
  1535. justIcon: {
  1536. paddingLeft: "12px",
  1537. paddingRight: "12px",
  1538. fontSize: "20px",
  1539. height: "41px",
  1540. minWidth: "41px",
  1541. width: "41px",
  1542. "& .fab,& .fas,& .far,& .fal,& svg,& .material-icons": {
  1543. marginRight: "0px"
  1544. },
  1545. "&$lg": {
  1546. height: "57px",
  1547. minWidth: "57px",
  1548. width: "57px",
  1549. lineHeight: "56px",
  1550. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1551. fontSize: "32px",
  1552. lineHeight: "56px"
  1553. },
  1554. "& svg": {
  1555. width: "32px",
  1556. height: "32px"
  1557. }
  1558. },
  1559. "&$sm": {
  1560. height: "30px",
  1561. minWidth: "30px",
  1562. width: "30px",
  1563. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1564. fontSize: "17px",
  1565. lineHeight: "29px"
  1566. },
  1567. "& svg": {
  1568. width: "17px",
  1569. height: "17px"
  1570. }
  1571. }
  1572. }
  1573. };
  1574. /* harmony default export */ var components_buttonStyle = (buttonStyle);
  1575. // CONCATENATED MODULE: ./components/CustomButtons/Button.js
  1576. var __jsx = external_react_default.a.createElement;
  1577. 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); }
  1578. 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; }
  1579. 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; }
  1580. 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; }
  1581. 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; }
  1582. 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; }
  1583. // nodejs library to set properties for components
  1584. // nodejs library that concatenates classes
  1585. // @material-ui/core components
  1586. // core components
  1587. const makeComponentStyles = makeStyles_default()(() => _objectSpread({}, components_buttonStyle));
  1588. const RegularButton = external_react_default.a.forwardRef((props, ref) => {
  1589. const {
  1590. color,
  1591. round,
  1592. children,
  1593. fullWidth,
  1594. disabled,
  1595. simple,
  1596. size,
  1597. block,
  1598. link,
  1599. justIcon,
  1600. className
  1601. } = props,
  1602. rest = _objectWithoutProperties(props, ["color", "round", "children", "fullWidth", "disabled", "simple", "size", "block", "link", "justIcon", "className"]);
  1603. const classes = makeComponentStyles();
  1604. const btnClasses = external_classnames_default()({
  1605. [classes.button]: true,
  1606. [classes[size]]: size,
  1607. [classes[color]]: color,
  1608. [classes.round]: round,
  1609. [classes.fullWidth]: fullWidth,
  1610. [classes.disabled]: disabled,
  1611. [classes.simple]: simple,
  1612. [classes.block]: block,
  1613. [classes.link]: link,
  1614. [classes.justIcon]: justIcon,
  1615. [className]: className
  1616. });
  1617. return __jsx(Button_default.a, _extends({}, rest, {
  1618. ref: ref,
  1619. classes: {
  1620. root: btnClasses
  1621. }
  1622. }), children);
  1623. });
  1624. /* harmony default export */ var Button = __webpack_exports__["a"] = (RegularButton);
  1625. /***/ }),
  1626. /***/ "Ms0O":
  1627. /***/ (function(module, exports) {
  1628. module.exports = require("@material-ui/core/Toolbar");
  1629. /***/ }),
  1630. /***/ "Npyv":
  1631. /***/ (function(module, exports) {
  1632. module.exports = "/_next/static/images/Suzuki-46aee4e5f912860adf2da85d836532b5.png";
  1633. /***/ }),
  1634. /***/ "Osoz":
  1635. /***/ (function(module, exports) {
  1636. module.exports = require("next/dist/next-server/lib/router-context.js");
  1637. /***/ }),
  1638. /***/ "Q01v":
  1639. /***/ (function(module, exports) {
  1640. module.exports = require("@material-ui/core/Drawer");
  1641. /***/ }),
  1642. /***/ "QOEo":
  1643. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1644. "use strict";
  1645. // EXPORTS
  1646. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CustomDropdown; });
  1647. // EXTERNAL MODULE: external "react"
  1648. var external_react_ = __webpack_require__("cDcd");
  1649. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1650. // EXTERNAL MODULE: external "classnames"
  1651. var external_classnames_ = __webpack_require__("K2gz");
  1652. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1653. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1654. var styles_ = __webpack_require__("9Pu4");
  1655. // EXTERNAL MODULE: external "@material-ui/core/MenuItem"
  1656. var MenuItem_ = __webpack_require__("x54t");
  1657. var MenuItem_default = /*#__PURE__*/__webpack_require__.n(MenuItem_);
  1658. // EXTERNAL MODULE: external "@material-ui/core/MenuList"
  1659. var MenuList_ = __webpack_require__("xmQw");
  1660. var MenuList_default = /*#__PURE__*/__webpack_require__.n(MenuList_);
  1661. // EXTERNAL MODULE: external "@material-ui/core/ClickAwayListener"
  1662. var ClickAwayListener_ = __webpack_require__("31Yn");
  1663. var ClickAwayListener_default = /*#__PURE__*/__webpack_require__.n(ClickAwayListener_);
  1664. // EXTERNAL MODULE: external "@material-ui/core/Paper"
  1665. var Paper_ = __webpack_require__("qt1I");
  1666. var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
  1667. // EXTERNAL MODULE: external "@material-ui/core/Grow"
  1668. var Grow_ = __webpack_require__("mf1M");
  1669. var Grow_default = /*#__PURE__*/__webpack_require__.n(Grow_);
  1670. // EXTERNAL MODULE: external "@material-ui/core/Divider"
  1671. var Divider_ = __webpack_require__("nybW");
  1672. var Divider_default = /*#__PURE__*/__webpack_require__.n(Divider_);
  1673. // EXTERNAL MODULE: external "@material-ui/core/Icon"
  1674. var Icon_ = __webpack_require__("7vM9");
  1675. var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
  1676. // EXTERNAL MODULE: external "@material-ui/core/Popper"
  1677. var Popper_ = __webpack_require__("jD8W");
  1678. var Popper_default = /*#__PURE__*/__webpack_require__.n(Popper_);
  1679. // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
  1680. var Button = __webpack_require__("Kg+a");
  1681. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1682. var nextjs_material_kit = __webpack_require__("eDSW");
  1683. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/customDropdownStyle.js
  1684. 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; }
  1685. 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; }
  1686. 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; }
  1687. const customDropdownStyle = theme => ({
  1688. popperClose: {
  1689. pointerEvents: "none"
  1690. },
  1691. pooperNav: {
  1692. [theme.breakpoints.down("sm")]: {
  1693. position: "static !important",
  1694. left: "unset !important",
  1695. top: "unset !important",
  1696. transform: "none !important",
  1697. willChange: "none !important",
  1698. "& > div": {
  1699. boxShadow: "none !important",
  1700. marginLeft: "1.5rem",
  1701. marginRight: "1.5rem",
  1702. transition: "none !important",
  1703. marginTop: "0px !important",
  1704. marginBottom: "5px !important",
  1705. padding: "0px !important"
  1706. }
  1707. }
  1708. },
  1709. dropdown: {
  1710. borderRadius: "3px",
  1711. border: "0",
  1712. boxShadow: "0 2px 5px 0 rgba(0, 0, 0, 0.26)",
  1713. top: "100%",
  1714. zIndex: "1000",
  1715. minWidth: "160px",
  1716. padding: "5px 0",
  1717. margin: "2px 0 0",
  1718. fontSize: "14px",
  1719. textAlign: "left",
  1720. listStyle: "none",
  1721. backgroundColor: "#fff",
  1722. backgroundClip: "padding-box"
  1723. },
  1724. menuList: {
  1725. padding: "0"
  1726. },
  1727. popperResponsive: {
  1728. zIndex: "1200",
  1729. position: "absolute !important",
  1730. [theme.breakpoints.down("sm")]: {
  1731. zIndex: "1640",
  1732. position: "static !important",
  1733. float: "none",
  1734. width: "auto",
  1735. marginTop: "0",
  1736. backgroundColor: "transparent",
  1737. border: "0",
  1738. boxShadow: "none",
  1739. color: "black"
  1740. }
  1741. },
  1742. dropdownItem: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  1743. fontSize: "13px",
  1744. padding: "10px 20px",
  1745. margin: "0 5px",
  1746. borderRadius: "2px",
  1747. position: "relative",
  1748. transition: "all 150ms linear",
  1749. display: "block",
  1750. clear: "both",
  1751. fontWeight: "400",
  1752. height: "fit-content",
  1753. color: "#333",
  1754. whiteSpace: "nowrap",
  1755. minHeight: "unset"
  1756. }),
  1757. blackHover: {
  1758. "&:hover": {
  1759. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(33, 33, 33, 0.4)",
  1760. backgroundColor: "#212121",
  1761. color: "#fff"
  1762. }
  1763. },
  1764. primaryHover: {
  1765. "&:hover": _objectSpread({
  1766. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1767. color: "#FFFFFF"
  1768. }, nextjs_material_kit["n" /* primaryBoxShadow */])
  1769. },
  1770. infoHover: {
  1771. "&:hover": _objectSpread({
  1772. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1773. color: "#FFFFFF"
  1774. }, nextjs_material_kit["k" /* infoBoxShadow */])
  1775. },
  1776. successHover: {
  1777. "&:hover": _objectSpread({
  1778. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1779. color: "#FFFFFF"
  1780. }, nextjs_material_kit["s" /* successBoxShadow */])
  1781. },
  1782. warningHover: {
  1783. "&:hover": _objectSpread({
  1784. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1785. color: "#FFFFFF"
  1786. }, nextjs_material_kit["x" /* warningBoxShadow */])
  1787. },
  1788. dangerHover: {
  1789. "&:hover": _objectSpread({
  1790. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1791. color: "#FFFFFF"
  1792. }, nextjs_material_kit["d" /* dangerBoxShadow */])
  1793. },
  1794. roseHover: {
  1795. "&:hover": _objectSpread({
  1796. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1797. color: "#FFFFFF"
  1798. }, nextjs_material_kit["q" /* roseBoxShadow */])
  1799. },
  1800. dropdownItemRTL: {
  1801. textAlign: "right"
  1802. },
  1803. dropdownDividerItem: {
  1804. margin: "5px 0",
  1805. backgroundColor: "rgba(0, 0, 0, 0.12)",
  1806. height: "1px",
  1807. overflow: "hidden"
  1808. },
  1809. buttonIcon: {
  1810. width: "20px",
  1811. height: "20px"
  1812. },
  1813. caret: {
  1814. transition: "all 150ms ease-in",
  1815. display: "inline-block",
  1816. width: "0",
  1817. height: "0",
  1818. marginLeft: "4px",
  1819. verticalAlign: "middle",
  1820. borderTop: "4px solid",
  1821. borderRight: "4px solid transparent",
  1822. borderLeft: "4px solid transparent"
  1823. },
  1824. caretActive: {
  1825. transform: "rotate(180deg)"
  1826. },
  1827. caretRTL: {
  1828. marginRight: "4px"
  1829. },
  1830. dropdownHeader: {
  1831. display: "block",
  1832. padding: "0.1875rem 1.25rem",
  1833. fontSize: "0.75rem",
  1834. lineHeight: "1.428571",
  1835. color: "#777",
  1836. whiteSpace: "nowrap",
  1837. fontWeight: "inherit",
  1838. marginTop: "10px",
  1839. minHeight: "unset",
  1840. "&:hover,&:focus": {
  1841. backgroundColor: "transparent",
  1842. cursor: "auto"
  1843. }
  1844. },
  1845. noLiPadding: {
  1846. padding: "0"
  1847. }
  1848. });
  1849. /* harmony default export */ var components_customDropdownStyle = (customDropdownStyle);
  1850. // CONCATENATED MODULE: ./components/CustomDropdown/CustomDropdown.js
  1851. var __jsx = external_react_default.a.createElement;
  1852. 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); }
  1853. // nodejs library that concatenates classes
  1854. // nodejs library to set properties for components
  1855. // @material-ui/core components
  1856. // core components
  1857. const useStyles = Object(styles_["makeStyles"])(components_customDropdownStyle);
  1858. function CustomDropdown(props) {
  1859. const [anchorEl, setAnchorEl] = external_react_default.a.useState(null);
  1860. const handleClick = event => {
  1861. if (anchorEl && anchorEl.contains(event.target)) {
  1862. setAnchorEl(null);
  1863. } else {
  1864. setAnchorEl(event.currentTarget);
  1865. }
  1866. };
  1867. const handleClose = param => {
  1868. setAnchorEl(null);
  1869. if (props && props.onClick) {
  1870. props.onClick(param);
  1871. }
  1872. };
  1873. const handleCloseAway = event => {
  1874. if (anchorEl.contains(event.target)) {
  1875. return;
  1876. }
  1877. setAnchorEl(null);
  1878. };
  1879. const classes = useStyles();
  1880. const {
  1881. buttonText,
  1882. buttonIcon,
  1883. dropdownList,
  1884. buttonProps,
  1885. dropup,
  1886. dropdownHeader,
  1887. caret,
  1888. hoverColor,
  1889. left,
  1890. rtlActive,
  1891. noLiPadding,
  1892. navDropdown
  1893. } = props;
  1894. const caretClasses = external_classnames_default()({
  1895. [classes.caret]: true,
  1896. [classes.caretActive]: Boolean(anchorEl),
  1897. [classes.caretRTL]: rtlActive
  1898. });
  1899. const dropdownItem = external_classnames_default()({
  1900. [classes.dropdownItem]: true,
  1901. [classes[hoverColor + "Hover"]]: true,
  1902. [classes.noLiPadding]: noLiPadding,
  1903. [classes.dropdownItemRTL]: rtlActive
  1904. });
  1905. let icon = null;
  1906. switch (typeof buttonIcon) {
  1907. case "object":
  1908. icon = __jsx(props.buttonIcon, {
  1909. className: classes.buttonIcon
  1910. });
  1911. break;
  1912. case "string":
  1913. icon = __jsx(Icon_default.a, {
  1914. className: classes.buttonIcon
  1915. }, props.buttonIcon);
  1916. break;
  1917. default:
  1918. icon = null;
  1919. break;
  1920. }
  1921. return __jsx("div", null, __jsx("div", null, __jsx(Button["a" /* default */], _extends({
  1922. "aria-label": "Notifications",
  1923. "aria-owns": anchorEl ? "menu-list" : null,
  1924. "aria-haspopup": "true"
  1925. }, buttonProps, {
  1926. onClick: handleClick
  1927. }), icon, buttonText !== undefined ? buttonText : null, caret ? __jsx("b", {
  1928. className: caretClasses
  1929. }) : null)), __jsx(Popper_default.a, {
  1930. open: Boolean(anchorEl),
  1931. anchorEl: anchorEl,
  1932. transition: true,
  1933. disablePortal: true,
  1934. placement: dropup ? left ? "top-start" : "top" : left ? "bottom-start" : "bottom",
  1935. className: external_classnames_default()({
  1936. [classes.popperClose]: !anchorEl,
  1937. [classes.popperResponsive]: true,
  1938. [classes.pooperNav]: Boolean(anchorEl) && navDropdown
  1939. })
  1940. }, () => __jsx(Grow_default.a, {
  1941. in: Boolean(anchorEl),
  1942. id: "menu-list",
  1943. style: dropup ? {
  1944. transformOrigin: "0 100% 0"
  1945. } : {
  1946. transformOrigin: "0 0 0"
  1947. }
  1948. }, __jsx(Paper_default.a, {
  1949. className: classes.dropdown
  1950. }, __jsx(ClickAwayListener_default.a, {
  1951. onClickAway: handleCloseAway
  1952. }, __jsx(MenuList_default.a, {
  1953. role: "menu",
  1954. className: classes.menuList
  1955. }, dropdownHeader !== undefined ? __jsx(MenuItem_default.a, {
  1956. onClick: () => handleClose(dropdownHeader),
  1957. className: classes.dropdownHeader
  1958. }, dropdownHeader) : null, dropdownList.map((prop, key) => {
  1959. if (prop.divider) {
  1960. return __jsx(Divider_default.a, {
  1961. key: key,
  1962. onClick: () => handleClose("divider"),
  1963. className: classes.dropdownDividerItem
  1964. });
  1965. }
  1966. return __jsx(MenuItem_default.a, {
  1967. key: key,
  1968. onClick: () => handleClose(prop),
  1969. className: dropdownItem
  1970. }, prop);
  1971. })))))));
  1972. }
  1973. CustomDropdown.defaultProps = {
  1974. caret: true,
  1975. hoverColor: "primary"
  1976. };
  1977. /***/ }),
  1978. /***/ "UsYt":
  1979. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1980. "use strict";
  1981. // EXPORTS
  1982. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CardBody; });
  1983. // EXTERNAL MODULE: external "react"
  1984. var external_react_ = __webpack_require__("cDcd");
  1985. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1986. // EXTERNAL MODULE: external "classnames"
  1987. var external_classnames_ = __webpack_require__("K2gz");
  1988. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1989. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1990. var styles_ = __webpack_require__("9Pu4");
  1991. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardBodyStyle.js
  1992. const cardBodyStyle = {
  1993. cardBody: {
  1994. padding: "0.9375rem 1.875rem",
  1995. flex: "1 1 auto"
  1996. }
  1997. };
  1998. /* harmony default export */ var components_cardBodyStyle = (cardBodyStyle);
  1999. // CONCATENATED MODULE: ./components/Card/CardBody.js
  2000. var __jsx = external_react_default.a.createElement;
  2001. 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); }
  2002. 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; }
  2003. 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; }
  2004. // nodejs library that concatenates classes
  2005. // nodejs library to set properties for components
  2006. // @material-ui/core components
  2007. // @material-ui/icons
  2008. // core components
  2009. const useStyles = Object(styles_["makeStyles"])(components_cardBodyStyle);
  2010. function CardBody(props) {
  2011. const classes = useStyles();
  2012. const {
  2013. className,
  2014. children
  2015. } = props,
  2016. rest = _objectWithoutProperties(props, ["className", "children"]);
  2017. const cardBodyClasses = external_classnames_default()({
  2018. [classes.cardBody]: true,
  2019. [className]: className !== undefined
  2020. });
  2021. return __jsx("div", _extends({
  2022. className: cardBodyClasses
  2023. }, rest), children);
  2024. }
  2025. /***/ }),
  2026. /***/ "Wh1t":
  2027. /***/ (function(module, exports) {
  2028. module.exports = require("@material-ui/core/Button");
  2029. /***/ }),
  2030. /***/ "Y8uC":
  2031. /***/ (function(module, exports) {
  2032. module.exports = require("@material-ui/core/Hidden");
  2033. /***/ }),
  2034. /***/ "YFqc":
  2035. /***/ (function(module, exports, __webpack_require__) {
  2036. module.exports = __webpack_require__("cTJO")
  2037. /***/ }),
  2038. /***/ "YTqd":
  2039. /***/ (function(module, exports, __webpack_require__) {
  2040. "use strict";
  2041. Object.defineProperty(exports, "__esModule", {
  2042. value: true
  2043. }); // this isn't importing the escape-string-regex module
  2044. // to reduce bytes
  2045. function escapeRegex(str) {
  2046. return str.replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
  2047. }
  2048. function getRouteRegex(normalizedRoute) {
  2049. // Escape all characters that could be considered RegEx
  2050. const escapedRoute = escapeRegex(normalizedRoute.replace(/\/$/, '') || '/');
  2051. const groups = {};
  2052. let groupIndex = 1;
  2053. const parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2054. const isCatchAll = /^(\\\.){3}/.test($1);
  2055. groups[$1 // Un-escape key
  2056. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
  2057. ] = {
  2058. pos: groupIndex++,
  2059. repeat: isCatchAll
  2060. };
  2061. return isCatchAll ? '/(.+?)' : '/([^/]+?)';
  2062. });
  2063. let namedParameterizedRoute; // dead code eliminate for browser since it's only needed
  2064. // while generating routes-manifest
  2065. if (true) {
  2066. namedParameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2067. const isCatchAll = /^(\\\.){3}/.test($1);
  2068. const key = $1 // Un-escape key
  2069. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '');
  2070. return isCatchAll ? `/(?<${escapeRegex(key)}>.+?)` : `/(?<${escapeRegex(key)}>[^/]+?)`;
  2071. });
  2072. }
  2073. return Object.assign({
  2074. re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
  2075. groups
  2076. }, namedParameterizedRoute ? {
  2077. namedRegex: `^${namedParameterizedRoute}(?:/)?$`
  2078. } : {});
  2079. }
  2080. exports.getRouteRegex = getRouteRegex;
  2081. /***/ }),
  2082. /***/ "Z2Lm":
  2083. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2084. "use strict";
  2085. // EXPORTS
  2086. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Parallax; });
  2087. // EXTERNAL MODULE: external "react"
  2088. var external_react_ = __webpack_require__("cDcd");
  2089. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2090. // EXTERNAL MODULE: external "classnames"
  2091. var external_classnames_ = __webpack_require__("K2gz");
  2092. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2093. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2094. var styles_ = __webpack_require__("9Pu4");
  2095. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/parallaxStyle.js
  2096. const parallaxStyle = theme => ({
  2097. parallax: {
  2098. height: "90vh",
  2099. maxHeight: "1000px",
  2100. overflow: "hidden",
  2101. position: "relative",
  2102. backgroundPosition: "center top",
  2103. backgroundSize: "cover",
  2104. margin: "0",
  2105. padding: "0",
  2106. border: "0",
  2107. display: "flex",
  2108. alignItems: "center"
  2109. },
  2110. filter: {
  2111. "&:before": {
  2112. background: "#212121"
  2113. },
  2114. "&:after,&:before": {
  2115. position: "absolute",
  2116. zIndex: "1",
  2117. width: "100%",
  2118. height: "100%",
  2119. display: "block",
  2120. left: "0",
  2121. top: "0",
  2122. content: "''"
  2123. }
  2124. },
  2125. small: {
  2126. height: "380px"
  2127. },
  2128. parallaxResponsive: {
  2129. [theme.breakpoints.down("md")]: {
  2130. minHeight: "660px"
  2131. }
  2132. }
  2133. });
  2134. /* harmony default export */ var components_parallaxStyle = (parallaxStyle);
  2135. // CONCATENATED MODULE: ./components/Parallax/Parallax.js
  2136. var __jsx = external_react_default.a.createElement;
  2137. 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; }
  2138. 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; }
  2139. 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; }
  2140. // nodejs library that concatenates classes
  2141. // nodejs library to set properties for components
  2142. // @material-ui/core components
  2143. // core components
  2144. const useStyles = Object(styles_["makeStyles"])(components_parallaxStyle);
  2145. function Parallax(props) {
  2146. let windowScrollTop; // if (window.innerWidth >= 768) {
  2147. // windowScrollTop = window.pageYOffset / 3;
  2148. // } else {
  2149. // windowScrollTop = 0;
  2150. // }
  2151. const [transform, setTransform] = external_react_default.a.useState("translate3d(0,0px,0)");
  2152. external_react_default.a.useEffect(() => {
  2153. if (window.innerWidth >= 768) {
  2154. window.addEventListener("scroll", resetTransform);
  2155. }
  2156. return function cleanup() {
  2157. if (window.innerWidth >= 768) {
  2158. window.removeEventListener("scroll", resetTransform);
  2159. }
  2160. };
  2161. });
  2162. const resetTransform = () => {
  2163. var windowScrollTop = window.pageYOffset / 3;
  2164. setTransform("translate3d(0," + windowScrollTop + "px,0)");
  2165. };
  2166. const {
  2167. filter,
  2168. className,
  2169. children,
  2170. style,
  2171. image,
  2172. small,
  2173. responsive
  2174. } = props;
  2175. const classes = useStyles();
  2176. const parallaxClasses = external_classnames_default()({
  2177. [classes.parallax]: true,
  2178. [classes.filter]: filter,
  2179. [classes.small]: small,
  2180. [classes.parallaxResponsive]: responsive,
  2181. [className]: className !== undefined
  2182. });
  2183. return __jsx("div", {
  2184. className: parallaxClasses,
  2185. style: _objectSpread({}, style, {
  2186. backgroundImage: "url(" + image + ")",
  2187. transform: transform
  2188. })
  2189. }, children);
  2190. }
  2191. /***/ }),
  2192. /***/ "bhG4":
  2193. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2194. "use strict";
  2195. /* harmony import */ var _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  2196. const componentsStyle = {
  2197. container: _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  2198. brand: {
  2199. color: "#FFFFFF",
  2200. textAlign: "left"
  2201. },
  2202. title: {
  2203. fontSize: "4.2rem",
  2204. fontWeight: "600",
  2205. display: "inline-block",
  2206. position: "relative"
  2207. },
  2208. subtitle: {
  2209. fontSize: "1.313rem",
  2210. maxWidth: "510px",
  2211. margin: "10px 0 0"
  2212. },
  2213. main: {
  2214. background: "#FFFFFF",
  2215. position: "relative",
  2216. zIndex: "3"
  2217. },
  2218. mainRaised: {
  2219. margin: "-60px 30px 0px",
  2220. borderRadius: "6px",
  2221. 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)",
  2222. "@media (max-width: 830px)": {
  2223. marginLeft: "10px",
  2224. marginRight: "10px"
  2225. }
  2226. },
  2227. link: {
  2228. textDecoration: "none"
  2229. },
  2230. textCenter: {
  2231. textAlign: "center"
  2232. }
  2233. };
  2234. /* harmony default export */ __webpack_exports__["a"] = (componentsStyle);
  2235. /***/ }),
  2236. /***/ "bzos":
  2237. /***/ (function(module, exports) {
  2238. module.exports = require("url");
  2239. /***/ }),
  2240. /***/ "c25J":
  2241. /***/ (function(module, exports) {
  2242. module.exports = require("@material-ui/core/ListItem");
  2243. /***/ }),
  2244. /***/ "cDcd":
  2245. /***/ (function(module, exports) {
  2246. module.exports = require("react");
  2247. /***/ }),
  2248. /***/ "cTJO":
  2249. /***/ (function(module, exports, __webpack_require__) {
  2250. "use strict";
  2251. var _interopRequireDefault = __webpack_require__("AroE");
  2252. var _interopRequireWildcard = __webpack_require__("7KCV");
  2253. exports.__esModule = true;
  2254. exports.default = void 0;
  2255. var _react = _interopRequireWildcard(__webpack_require__("cDcd"));
  2256. var _url = __webpack_require__("bzos");
  2257. var _utils = __webpack_require__("kYf9");
  2258. var _router = _interopRequireDefault(__webpack_require__("nOHt"));
  2259. var _router2 = __webpack_require__("elyg");
  2260. function isLocal(href) {
  2261. var url = (0, _url.parse)(href, false, true);
  2262. var origin = (0, _url.parse)((0, _utils.getLocationOrigin)(), false, true);
  2263. return !url.host || url.protocol === origin.protocol && url.host === origin.host;
  2264. }
  2265. function memoizedFormatUrl(formatFunc) {
  2266. var lastHref = null;
  2267. var lastAs = null;
  2268. var lastResult = null;
  2269. return (href, as) => {
  2270. if (lastResult && href === lastHref && as === lastAs) {
  2271. return lastResult;
  2272. }
  2273. var result = formatFunc(href, as);
  2274. lastHref = href;
  2275. lastAs = as;
  2276. lastResult = result;
  2277. return result;
  2278. };
  2279. }
  2280. function formatUrl(url) {
  2281. return url && typeof url === 'object' ? (0, _utils.formatWithValidation)(url) : url;
  2282. }
  2283. var observer;
  2284. var listeners = new Map();
  2285. var IntersectionObserver = false ? undefined : null;
  2286. var prefetched = {};
  2287. function getObserver() {
  2288. // Return shared instance of IntersectionObserver if already created
  2289. if (observer) {
  2290. return observer;
  2291. } // Only create shared IntersectionObserver if supported in browser
  2292. if (!IntersectionObserver) {
  2293. return undefined;
  2294. }
  2295. return observer = new IntersectionObserver(entries => {
  2296. entries.forEach(entry => {
  2297. if (!listeners.has(entry.target)) {
  2298. return;
  2299. }
  2300. var cb = listeners.get(entry.target);
  2301. if (entry.isIntersecting || entry.intersectionRatio > 0) {
  2302. observer.unobserve(entry.target);
  2303. listeners.delete(entry.target);
  2304. cb();
  2305. }
  2306. });
  2307. }, {
  2308. rootMargin: '200px'
  2309. });
  2310. }
  2311. var listenToIntersections = (el, cb) => {
  2312. var observer = getObserver();
  2313. if (!observer) {
  2314. return () => {};
  2315. }
  2316. observer.observe(el);
  2317. listeners.set(el, cb);
  2318. return () => {
  2319. try {
  2320. observer.unobserve(el);
  2321. } catch (err) {
  2322. console.error(err);
  2323. }
  2324. listeners.delete(el);
  2325. };
  2326. };
  2327. class Link extends _react.Component {
  2328. constructor(props) {
  2329. super(props);
  2330. this.p = void 0;
  2331. this.cleanUpListeners = () => {};
  2332. this.formatUrls = memoizedFormatUrl((href, asHref) => {
  2333. return {
  2334. href: (0, _router2.addBasePath)(formatUrl(href)),
  2335. as: asHref ? (0, _router2.addBasePath)(formatUrl(asHref)) : asHref
  2336. };
  2337. });
  2338. this.linkClicked = e => {
  2339. var {
  2340. nodeName,
  2341. target
  2342. } = e.currentTarget;
  2343. if (nodeName === 'A' && (target && target !== '_self' || e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {
  2344. // ignore click for new tab / new window behavior
  2345. return;
  2346. }
  2347. var {
  2348. href,
  2349. as
  2350. } = this.formatUrls(this.props.href, this.props.as);
  2351. if (!isLocal(href)) {
  2352. // ignore click if it's outside our scope (e.g. https://google.com)
  2353. return;
  2354. }
  2355. var {
  2356. pathname
  2357. } = window.location;
  2358. href = (0, _url.resolve)(pathname, href);
  2359. as = as ? (0, _url.resolve)(pathname, as) : href;
  2360. e.preventDefault(); // avoid scroll for urls with anchor refs
  2361. var {
  2362. scroll
  2363. } = this.props;
  2364. if (scroll == null) {
  2365. scroll = as.indexOf('#') < 0;
  2366. } // replace state instead of push if prop is present
  2367. _router.default[this.props.replace ? 'replace' : 'push'](href, as, {
  2368. shallow: this.props.shallow
  2369. }).then(success => {
  2370. if (!success) return;
  2371. if (scroll) {
  2372. window.scrollTo(0, 0);
  2373. document.body.focus();
  2374. }
  2375. });
  2376. };
  2377. if (false) {}
  2378. this.p = props.prefetch !== false;
  2379. }
  2380. componentWillUnmount() {
  2381. this.cleanUpListeners();
  2382. }
  2383. getPaths() {
  2384. var {
  2385. pathname
  2386. } = window.location;
  2387. var {
  2388. href: parsedHref,
  2389. as: parsedAs
  2390. } = this.formatUrls(this.props.href, this.props.as);
  2391. var resolvedHref = (0, _url.resolve)(pathname, parsedHref);
  2392. return [resolvedHref, parsedAs ? (0, _url.resolve)(pathname, parsedAs) : resolvedHref];
  2393. }
  2394. handleRef(ref) {
  2395. if (this.p && IntersectionObserver && ref && ref.tagName) {
  2396. this.cleanUpListeners();
  2397. var isPrefetched = prefetched[this.getPaths().join( // Join on an invalid URI character
  2398. '%')];
  2399. if (!isPrefetched) {
  2400. this.cleanUpListeners = listenToIntersections(ref, () => {
  2401. this.prefetch();
  2402. });
  2403. }
  2404. }
  2405. } // The function is memoized so that no extra lifecycles are needed
  2406. // as per https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
  2407. prefetch(options) {
  2408. if (!this.p || true) return; // Prefetch the JSON page if asked (only in the client)
  2409. var paths = this.getPaths(); // We need to handle a prefetch error here since we may be
  2410. // loading with priority which can reject but we don't
  2411. // want to force navigation since this is only a prefetch
  2412. _router.default.prefetch(paths[
  2413. /* href */
  2414. 0], paths[
  2415. /* asPath */
  2416. 1], options).catch(err => {
  2417. if (false) {}
  2418. });
  2419. prefetched[paths.join( // Join on an invalid URI character
  2420. '%')] = true;
  2421. }
  2422. render() {
  2423. var {
  2424. children
  2425. } = this.props;
  2426. var {
  2427. href,
  2428. as
  2429. } = 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
  2430. if (typeof children === 'string') {
  2431. children = _react.default.createElement("a", null, children);
  2432. } // This will return the first child, if multiple are provided it will throw an error
  2433. var child = _react.Children.only(children);
  2434. var props = {
  2435. ref: el => {
  2436. this.handleRef(el);
  2437. if (child && typeof child === 'object' && child.ref) {
  2438. if (typeof child.ref === 'function') child.ref(el);else if (typeof child.ref === 'object') {
  2439. child.ref.current = el;
  2440. }
  2441. }
  2442. },
  2443. onMouseEnter: e => {
  2444. if (child.props && typeof child.props.onMouseEnter === 'function') {
  2445. child.props.onMouseEnter(e);
  2446. }
  2447. this.prefetch({
  2448. priority: true
  2449. });
  2450. },
  2451. onClick: e => {
  2452. if (child.props && typeof child.props.onClick === 'function') {
  2453. child.props.onClick(e);
  2454. }
  2455. if (!e.defaultPrevented) {
  2456. this.linkClicked(e);
  2457. }
  2458. }
  2459. }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
  2460. // defined, we specify the current 'href', so that repetition is not needed by the user
  2461. if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {
  2462. props.href = as || href;
  2463. } // Add the ending slash to the paths. So, we can serve the
  2464. // "<page>/index.html" directly.
  2465. if (false) { var rewriteUrlForNextExport; }
  2466. return _react.default.cloneElement(child, props);
  2467. }
  2468. }
  2469. if (false) { var exact, PropTypes, warn; }
  2470. var _default = Link;
  2471. exports.default = _default;
  2472. /***/ }),
  2473. /***/ "dZ6Y":
  2474. /***/ (function(module, exports, __webpack_require__) {
  2475. "use strict";
  2476. /*
  2477. MIT License
  2478. Copyright (c) Jason Miller (https://jasonformat.com/)
  2479. 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:
  2480. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  2481. 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.
  2482. */
  2483. Object.defineProperty(exports, "__esModule", {
  2484. value: true
  2485. });
  2486. function mitt() {
  2487. const all = Object.create(null);
  2488. return {
  2489. on(type, handler) {
  2490. ;
  2491. (all[type] || (all[type] = [])).push(handler);
  2492. },
  2493. off(type, handler) {
  2494. if (all[type]) {
  2495. // tslint:disable-next-line:no-bitwise
  2496. all[type].splice(all[type].indexOf(handler) >>> 0, 1);
  2497. }
  2498. },
  2499. emit(type, ...evts) {
  2500. // eslint-disable-next-line array-callback-return
  2501. ;
  2502. (all[type] || []).slice().map(handler => {
  2503. handler(...evts);
  2504. });
  2505. }
  2506. };
  2507. }
  2508. exports.default = mitt;
  2509. /***/ }),
  2510. /***/ "eDSW":
  2511. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2512. "use strict";
  2513. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hexToRGBAlpha; });
  2514. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return drawerWidth; });
  2515. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return transition; });
  2516. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return container; });
  2517. /* unused harmony export conatinerFluid */
  2518. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return boxShadow; });
  2519. /* unused harmony export card */
  2520. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return defaultFont; });
  2521. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return primaryColor; });
  2522. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return warningColor; });
  2523. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return dangerColor; });
  2524. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return successColor; });
  2525. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return infoColor; });
  2526. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return roseColor; });
  2527. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return grayColor; });
  2528. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return primaryBoxShadow; });
  2529. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return infoBoxShadow; });
  2530. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return successBoxShadow; });
  2531. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return warningBoxShadow; });
  2532. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return dangerBoxShadow; });
  2533. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return roseBoxShadow; });
  2534. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return warningCardHeader; });
  2535. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return successCardHeader; });
  2536. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return dangerCardHeader; });
  2537. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return infoCardHeader; });
  2538. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return primaryCardHeader; });
  2539. /* unused harmony export roseCardHeader */
  2540. /* unused harmony export cardActions */
  2541. /* unused harmony export cardHeader */
  2542. /* unused harmony export defaultBoxShadow */
  2543. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return title; });
  2544. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return cardTitle; });
  2545. /* unused harmony export cardLink */
  2546. /* unused harmony export cardSubtitle */
  2547. 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; }
  2548. 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; }
  2549. 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; }
  2550. const hexColorToRGB = function (hexColor) {
  2551. let detectShorthand = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; // #000 vs #000000
  2552. hexColor = hexColor.replace(detectShorthand, function (m, r, g, b) {
  2553. return r + r + g + g + b + b;
  2554. });
  2555. const hex_array = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor); // #000000 to #ffffff
  2556. return hex_array ? {
  2557. r: parseInt(hex_array[1], 16),
  2558. // 0-255
  2559. g: parseInt(hex_array[2], 16),
  2560. // 0-255
  2561. b: parseInt(hex_array[3], 16) // 0-255
  2562. } : null;
  2563. };
  2564. const hexToRGBAlpha = function (hexColor, alpha) {
  2565. let rgb = hexColorToRGB(hexColor);
  2566. return `rgba(${rgb.r},${rgb.g},${rgb.b},${alpha})`;
  2567. };
  2568. const drawerWidth = 260;
  2569. const transition = {
  2570. transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
  2571. };
  2572. const conatinerFluid = {
  2573. paddingRight: "15px",
  2574. paddingLeft: "15px",
  2575. marginRight: "auto",
  2576. marginLeft: "auto",
  2577. width: "100%"
  2578. };
  2579. const container = _objectSpread({}, conatinerFluid, {
  2580. "@media (min-width: 576px)": {
  2581. maxWidth: "540px"
  2582. },
  2583. "@media (min-width: 768px)": {
  2584. maxWidth: "720px"
  2585. },
  2586. "@media (min-width: 992px)": {
  2587. maxWidth: "960px"
  2588. },
  2589. "@media (min-width: 1200px)": {
  2590. maxWidth: "1140px"
  2591. }
  2592. });
  2593. const boxShadow = {
  2594. 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)"
  2595. };
  2596. const card = {
  2597. display: "inline-block",
  2598. position: "relative",
  2599. width: "100%",
  2600. margin: "25px 0",
  2601. boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.14)",
  2602. borderRadius: "3px",
  2603. color: "rgba(0, 0, 0, 0.87)",
  2604. background: "#fff"
  2605. };
  2606. const defaultFont = {
  2607. fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
  2608. fontWeight: "300",
  2609. lineHeight: "1.5em"
  2610. };
  2611. const primaryColor = "#212121";
  2612. const warningColor = "#ff9800";
  2613. const dangerColor = "#f44336";
  2614. const successColor = "#4caf50";
  2615. const infoColor = "#212121";
  2616. const roseColor = "#e91e63";
  2617. const grayColor = "#ffffff";
  2618. const primaryBoxShadow = {
  2619. 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)}`
  2620. };
  2621. const infoBoxShadow = {
  2622. 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)}`
  2623. };
  2624. const successBoxShadow = {
  2625. 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)}`
  2626. };
  2627. const warningBoxShadow = {
  2628. 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)}`
  2629. };
  2630. const dangerBoxShadow = {
  2631. 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)}`
  2632. };
  2633. const roseBoxShadow = {
  2634. boxShadow: `0 4px 20px 0px ${hexToRGBAlpha("#000", 0.14)}, 0 7px 10px -5px ${hexToRGBAlpha(roseColor, 0.4)}`
  2635. };
  2636. const warningCardHeader = _objectSpread({
  2637. color: "#fff",
  2638. background: "linear-gradient(60deg, #ffa726, #fb8c00)"
  2639. }, warningBoxShadow);
  2640. const successCardHeader = _objectSpread({
  2641. color: "#fff",
  2642. background: "linear-gradient(60deg, #66bb6a, #43a047)"
  2643. }, successBoxShadow);
  2644. const dangerCardHeader = _objectSpread({
  2645. color: "#fff",
  2646. background: "linear-gradient(60deg, #ef5350, #e53935)"
  2647. }, dangerBoxShadow);
  2648. const infoCardHeader = _objectSpread({
  2649. color: "#fff",
  2650. background: "#212121"
  2651. }, infoBoxShadow);
  2652. const primaryCardHeader = _objectSpread({
  2653. color: "#fff",
  2654. background: "linear-gradient(60deg, #ab47bc, #8e24aa)"
  2655. }, primaryBoxShadow);
  2656. const roseCardHeader = _objectSpread({
  2657. color: "#fff",
  2658. background: "linear-gradient(60deg, #ec407a, #d81b60)"
  2659. }, roseBoxShadow);
  2660. const cardActions = _objectSpread({
  2661. margin: "0 20px 10px",
  2662. paddingTop: "10px",
  2663. borderTop: "1px solid #eeeeee",
  2664. height: "auto"
  2665. }, defaultFont);
  2666. const cardHeader = {
  2667. margin: "-30px 15px 0",
  2668. borderRadius: "3px",
  2669. padding: "15px"
  2670. };
  2671. const defaultBoxShadow = {
  2672. border: "0",
  2673. borderRadius: "3px",
  2674. 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)",
  2675. padding: "10px 0",
  2676. transition: "all 150ms ease 0s"
  2677. };
  2678. const title = {
  2679. color: "#ffffff",
  2680. margin: "1.75rem 0 0.875rem",
  2681. textDecoration: "none",
  2682. fontWeight: "700",
  2683. fontFamily: `"Roboto Slab", "Times New Roman", serif`
  2684. };
  2685. const cardTitle = _objectSpread({}, title, {
  2686. marginTop: ".625rem"
  2687. });
  2688. const cardLink = {
  2689. "& + $cardLink": {
  2690. marginLeft: "1.25rem"
  2691. }
  2692. };
  2693. const cardSubtitle = {
  2694. marginBottom: "0",
  2695. marginTop: "-.375rem"
  2696. };
  2697. /***/ }),
  2698. /***/ "elyg":
  2699. /***/ (function(module, exports, __webpack_require__) {
  2700. "use strict";
  2701. var __importDefault = this && this.__importDefault || function (mod) {
  2702. return mod && mod.__esModule ? mod : {
  2703. "default": mod
  2704. };
  2705. };
  2706. Object.defineProperty(exports, "__esModule", {
  2707. value: true
  2708. });
  2709. const url_1 = __webpack_require__("bzos");
  2710. const mitt_1 = __importDefault(__webpack_require__("dZ6Y"));
  2711. const utils_1 = __webpack_require__("g/15");
  2712. const is_dynamic_1 = __webpack_require__("/jkW");
  2713. const route_matcher_1 = __webpack_require__("gguc");
  2714. const route_regex_1 = __webpack_require__("YTqd");
  2715. const basePath = false || '';
  2716. function addBasePath(path) {
  2717. return path.indexOf(basePath) !== 0 ? basePath + path : path;
  2718. }
  2719. exports.addBasePath = addBasePath;
  2720. function delBasePath(path) {
  2721. return path.indexOf(basePath) === 0 ? path.substr(basePath.length) || '/' : path;
  2722. }
  2723. exports.delBasePath = delBasePath;
  2724. function toRoute(path) {
  2725. return path.replace(/\/$/, '') || '/';
  2726. }
  2727. const prepareRoute = path => toRoute(!path || path === '/' ? '/index' : path);
  2728. function fetchNextData(pathname, query, isServerRender, cb) {
  2729. let attempts = isServerRender ? 3 : 1;
  2730. function getResponse() {
  2731. return fetch(utils_1.formatWithValidation({
  2732. pathname: addBasePath( // @ts-ignore __NEXT_DATA__
  2733. `/_next/data/${__NEXT_DATA__.buildId}${delBasePath(pathname)}.json`),
  2734. query
  2735. }), {
  2736. // Cookies are required to be present for Next.js' SSG "Preview Mode".
  2737. // Cookies may also be required for `getServerSideProps`.
  2738. //
  2739. // > `fetch` won’t send cookies, unless you set the credentials init
  2740. // > option.
  2741. // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
  2742. //
  2743. // > For maximum browser compatibility when it comes to sending &
  2744. // > receiving cookies, always supply the `credentials: 'same-origin'`
  2745. // > option instead of relying on the default.
  2746. // https://github.com/github/fetch#caveats
  2747. credentials: 'same-origin'
  2748. }).then(res => {
  2749. if (!res.ok) {
  2750. if (--attempts > 0 && res.status >= 500) {
  2751. return getResponse();
  2752. }
  2753. throw new Error(`Failed to load static props`);
  2754. }
  2755. return res.json();
  2756. });
  2757. }
  2758. return getResponse().then(data => {
  2759. return cb ? cb(data) : data;
  2760. }).catch(err => {
  2761. // We should only trigger a server-side transition if this was caused
  2762. // on a client-side transition. Otherwise, we'd get into an infinite
  2763. // loop.
  2764. if (!isServerRender) {
  2765. ;
  2766. err.code = 'PAGE_LOAD_ERROR';
  2767. }
  2768. throw err;
  2769. });
  2770. }
  2771. class Router {
  2772. constructor(pathname, query, as, {
  2773. initialProps,
  2774. pageLoader,
  2775. App,
  2776. wrapApp,
  2777. Component,
  2778. err,
  2779. subscription,
  2780. isFallback
  2781. }) {
  2782. // Static Data Cache
  2783. this.sdc = {};
  2784. this.onPopState = e => {
  2785. if (!e.state) {
  2786. // We get state as undefined for two reasons.
  2787. // 1. With older safari (< 8) and older chrome (< 34)
  2788. // 2. When the URL changed with #
  2789. //
  2790. // In the both cases, we don't need to proceed and change the route.
  2791. // (as it's already changed)
  2792. // But we can simply replace the state with the new changes.
  2793. // Actually, for (1) we don't need to nothing. But it's hard to detect that event.
  2794. // So, doing the following for (1) does no harm.
  2795. const {
  2796. pathname,
  2797. query
  2798. } = this;
  2799. this.changeState('replaceState', utils_1.formatWithValidation({
  2800. pathname,
  2801. query
  2802. }), utils_1.getURL());
  2803. return;
  2804. } // Make sure we don't re-render on initial load,
  2805. // can be caused by navigating back from an external site
  2806. if (e.state && this.isSsr && e.state.as === this.asPath && url_1.parse(e.state.url).pathname === this.pathname) {
  2807. return;
  2808. } // If the downstream application returns falsy, return.
  2809. // They will then be responsible for handling the event.
  2810. if (this._bps && !this._bps(e.state)) {
  2811. return;
  2812. }
  2813. const {
  2814. url,
  2815. as,
  2816. options
  2817. } = e.state;
  2818. if (false) {}
  2819. this.replace(url, as, options);
  2820. };
  2821. this._getStaticData = asPath => {
  2822. const pathname = prepareRoute(url_1.parse(asPath).pathname);
  2823. return true && this.sdc[pathname] ? Promise.resolve(this.sdc[pathname]) : fetchNextData(pathname, null, this.isSsr, data => this.sdc[pathname] = data);
  2824. };
  2825. this._getServerData = asPath => {
  2826. let {
  2827. pathname,
  2828. query
  2829. } = url_1.parse(asPath, true);
  2830. pathname = prepareRoute(pathname);
  2831. return fetchNextData(pathname, query, this.isSsr);
  2832. }; // represents the current component key
  2833. this.route = toRoute(pathname); // set up the component cache (by route keys)
  2834. this.components = {}; // We should not keep the cache, if there's an error
  2835. // Otherwise, this cause issues when when going back and
  2836. // come again to the errored page.
  2837. if (pathname !== '/_error') {
  2838. this.components[this.route] = {
  2839. Component,
  2840. props: initialProps,
  2841. err,
  2842. __N_SSG: initialProps && initialProps.__N_SSG,
  2843. __N_SSP: initialProps && initialProps.__N_SSP
  2844. };
  2845. }
  2846. this.components['/_app'] = {
  2847. Component: App
  2848. }; // Backwards compat for Router.router.events
  2849. // TODO: Should be remove the following major version as it was never documented
  2850. this.events = Router.events;
  2851. this.pageLoader = pageLoader;
  2852. this.pathname = pathname;
  2853. this.query = query; // if auto prerendered and dynamic route wait to update asPath
  2854. // until after mount to prevent hydration mismatch
  2855. this.asPath = // @ts-ignore this is temporarily global (attached to window)
  2856. is_dynamic_1.isDynamicRoute(pathname) && __NEXT_DATA__.autoExport ? pathname : as;
  2857. this.basePath = basePath;
  2858. this.sub = subscription;
  2859. this.clc = null;
  2860. this._wrapApp = wrapApp; // make sure to ignore extra popState in safari on navigating
  2861. // back from external site
  2862. this.isSsr = true;
  2863. this.isFallback = isFallback;
  2864. if (false) {}
  2865. } // @deprecated backwards compatibility even though it's a private method.
  2866. static _rewriteUrlForNextExport(url) {
  2867. if (false) {} else {
  2868. return url;
  2869. }
  2870. }
  2871. update(route, mod) {
  2872. const Component = mod.default || mod;
  2873. const data = this.components[route];
  2874. if (!data) {
  2875. throw new Error(`Cannot update unavailable route: ${route}`);
  2876. }
  2877. const newData = Object.assign(Object.assign({}, data), {
  2878. Component,
  2879. __N_SSG: mod.__N_SSG,
  2880. __N_SSP: mod.__N_SSP
  2881. });
  2882. this.components[route] = newData; // pages/_app.js updated
  2883. if (route === '/_app') {
  2884. this.notify(this.components[this.route]);
  2885. return;
  2886. }
  2887. if (route === this.route) {
  2888. this.notify(newData);
  2889. }
  2890. }
  2891. reload() {
  2892. window.location.reload();
  2893. }
  2894. /**
  2895. * Go back in history
  2896. */
  2897. back() {
  2898. window.history.back();
  2899. }
  2900. /**
  2901. * Performs a `pushState` with arguments
  2902. * @param url of the route
  2903. * @param as masks `url` for the browser
  2904. * @param options object you can define `shallow` and other options
  2905. */
  2906. push(url, as = url, options = {}) {
  2907. return this.change('pushState', url, as, options);
  2908. }
  2909. /**
  2910. * Performs a `replaceState` with arguments
  2911. * @param url of the route
  2912. * @param as masks `url` for the browser
  2913. * @param options object you can define `shallow` and other options
  2914. */
  2915. replace(url, as = url, options = {}) {
  2916. return this.change('replaceState', url, as, options);
  2917. }
  2918. change(method, _url, _as, options) {
  2919. return new Promise((resolve, reject) => {
  2920. if (!options._h) {
  2921. this.isSsr = false;
  2922. } // marking route changes as a navigation start entry
  2923. if (utils_1.ST) {
  2924. performance.mark('routeChange');
  2925. } // If url and as provided as an object representation,
  2926. // we'll format them into the string version here.
  2927. let url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
  2928. let as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _as;
  2929. url = addBasePath(url);
  2930. as = addBasePath(as); // Add the ending slash to the paths. So, we can serve the
  2931. // "<page>/index.html" directly for the SSR page.
  2932. if (false) {}
  2933. this.abortComponentLoad(as); // If the url change is only related to a hash change
  2934. // We should not proceed. We should only change the state.
  2935. // WARNING: `_h` is an internal option for handing Next.js client-side
  2936. // hydration. Your app should _never_ use this property. It may change at
  2937. // any time without notice.
  2938. if (!options._h && this.onlyAHashChange(as)) {
  2939. this.asPath = as;
  2940. Router.events.emit('hashChangeStart', as);
  2941. this.changeState(method, url, as, options);
  2942. this.scrollToHash(as);
  2943. Router.events.emit('hashChangeComplete', as);
  2944. return resolve(true);
  2945. }
  2946. const {
  2947. pathname,
  2948. query,
  2949. protocol
  2950. } = url_1.parse(url, true);
  2951. if (!pathname || protocol) {
  2952. if (false) {}
  2953. return resolve(false);
  2954. } // If asked to change the current URL we should reload the current page
  2955. // (not location.reload() but reload getInitialProps and other Next.js stuffs)
  2956. // We also need to set the method = replaceState always
  2957. // as this should not go into the history (That's how browsers work)
  2958. // We should compare the new asPath to the current asPath, not the url
  2959. if (!this.urlIsNew(as)) {
  2960. method = 'replaceState';
  2961. }
  2962. const route = toRoute(pathname);
  2963. const {
  2964. shallow = false
  2965. } = options;
  2966. if (is_dynamic_1.isDynamicRoute(route)) {
  2967. const {
  2968. pathname: asPathname
  2969. } = url_1.parse(as);
  2970. const routeRegex = route_regex_1.getRouteRegex(route);
  2971. const routeMatch = route_matcher_1.getRouteMatcher(routeRegex)(asPathname);
  2972. if (!routeMatch) {
  2973. const missingParams = Object.keys(routeRegex.groups).filter(param => !query[param]);
  2974. if (missingParams.length > 0) {
  2975. if (false) {}
  2976. 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`));
  2977. }
  2978. } else {
  2979. // Merge params into `query`, overwriting any specified in search
  2980. Object.assign(query, routeMatch);
  2981. }
  2982. }
  2983. Router.events.emit('routeChangeStart', as); // If shallow is true and the route exists in the router cache we reuse the previous result
  2984. this.getRouteInfo(route, pathname, query, as, shallow).then(routeInfo => {
  2985. const {
  2986. error
  2987. } = routeInfo;
  2988. if (error && error.cancelled) {
  2989. return resolve(false);
  2990. }
  2991. Router.events.emit('beforeHistoryChange', as);
  2992. this.changeState(method, url, as, options);
  2993. if (false) {}
  2994. this.set(route, pathname, query, as, routeInfo);
  2995. if (error) {
  2996. Router.events.emit('routeChangeError', error, as);
  2997. throw error;
  2998. }
  2999. Router.events.emit('routeChangeComplete', as);
  3000. return resolve(true);
  3001. }, reject);
  3002. });
  3003. }
  3004. changeState(method, url, as, options = {}) {
  3005. if (false) {}
  3006. if (method !== 'pushState' || utils_1.getURL() !== as) {
  3007. window.history[method]({
  3008. url,
  3009. as,
  3010. options
  3011. }, // Most browsers currently ignores this parameter, although they may use it in the future.
  3012. // Passing the empty string here should be safe against future changes to the method.
  3013. // https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
  3014. '', as);
  3015. }
  3016. }
  3017. getRouteInfo(route, pathname, query, as, shallow = false) {
  3018. const cachedRouteInfo = this.components[route]; // If there is a shallow route transition possible
  3019. // If the route is already rendered on the screen.
  3020. if (shallow && cachedRouteInfo && this.route === route) {
  3021. return Promise.resolve(cachedRouteInfo);
  3022. }
  3023. const handleError = (err, loadErrorFail) => {
  3024. return new Promise(resolve => {
  3025. if (err.code === 'PAGE_LOAD_ERROR' || loadErrorFail) {
  3026. // If we can't load the page it could be one of following reasons
  3027. // 1. Page doesn't exists
  3028. // 2. Page does exist in a different zone
  3029. // 3. Internal error while loading the page
  3030. // So, doing a hard reload is the proper way to deal with this.
  3031. window.location.href = as; // Changing the URL doesn't block executing the current code path.
  3032. // So, we need to mark it as a cancelled error and stop the routing logic.
  3033. err.cancelled = true; // @ts-ignore TODO: fix the control flow here
  3034. return resolve({
  3035. error: err
  3036. });
  3037. }
  3038. if (err.cancelled) {
  3039. // @ts-ignore TODO: fix the control flow here
  3040. return resolve({
  3041. error: err
  3042. });
  3043. }
  3044. resolve(this.fetchComponent('/_error').then(res => {
  3045. const {
  3046. page: Component
  3047. } = res;
  3048. const routeInfo = {
  3049. Component,
  3050. err
  3051. };
  3052. return new Promise(resolve => {
  3053. this.getInitialProps(Component, {
  3054. err,
  3055. pathname,
  3056. query
  3057. }).then(props => {
  3058. routeInfo.props = props;
  3059. routeInfo.error = err;
  3060. resolve(routeInfo);
  3061. }, gipErr => {
  3062. console.error('Error in error page `getInitialProps`: ', gipErr);
  3063. routeInfo.error = err;
  3064. routeInfo.props = {};
  3065. resolve(routeInfo);
  3066. });
  3067. });
  3068. }).catch(err => handleError(err, true)));
  3069. });
  3070. };
  3071. return new Promise((resolve, reject) => {
  3072. if (cachedRouteInfo) {
  3073. return resolve(cachedRouteInfo);
  3074. }
  3075. this.fetchComponent(route).then(res => resolve({
  3076. Component: res.page,
  3077. __N_SSG: res.mod.__N_SSG,
  3078. __N_SSP: res.mod.__N_SSP
  3079. }), reject);
  3080. }).then(routeInfo => {
  3081. const {
  3082. Component,
  3083. __N_SSG,
  3084. __N_SSP
  3085. } = routeInfo;
  3086. if (false) {}
  3087. 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`
  3088. {
  3089. pathname,
  3090. query,
  3091. asPath: as
  3092. })).then(props => {
  3093. routeInfo.props = props;
  3094. this.components[route] = routeInfo;
  3095. return routeInfo;
  3096. });
  3097. }).catch(handleError);
  3098. }
  3099. set(route, pathname, query, as, data) {
  3100. this.isFallback = false;
  3101. this.route = route;
  3102. this.pathname = pathname;
  3103. this.query = query;
  3104. this.asPath = as;
  3105. this.notify(data);
  3106. }
  3107. /**
  3108. * Callback to execute before replacing router state
  3109. * @param cb callback to be executed
  3110. */
  3111. beforePopState(cb) {
  3112. this._bps = cb;
  3113. }
  3114. onlyAHashChange(as) {
  3115. if (!this.asPath) return false;
  3116. const [oldUrlNoHash, oldHash] = this.asPath.split('#');
  3117. const [newUrlNoHash, newHash] = as.split('#'); // Makes sure we scroll to the provided hash if the url/hash are the same
  3118. if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) {
  3119. return true;
  3120. } // If the urls are change, there's more than a hash change
  3121. if (oldUrlNoHash !== newUrlNoHash) {
  3122. return false;
  3123. } // If the hash has changed, then it's a hash only change.
  3124. // This check is necessary to handle both the enter and
  3125. // leave hash === '' cases. The identity case falls through
  3126. // and is treated as a next reload.
  3127. return oldHash !== newHash;
  3128. }
  3129. scrollToHash(as) {
  3130. const [, hash] = as.split('#'); // Scroll to top if the hash is just `#` with no value
  3131. if (hash === '') {
  3132. window.scrollTo(0, 0);
  3133. return;
  3134. } // First we check if the element by id is found
  3135. const idEl = document.getElementById(hash);
  3136. if (idEl) {
  3137. idEl.scrollIntoView();
  3138. return;
  3139. } // If there's no element with the id, we check the `name` property
  3140. // To mirror browsers
  3141. const nameEl = document.getElementsByName(hash)[0];
  3142. if (nameEl) {
  3143. nameEl.scrollIntoView();
  3144. }
  3145. }
  3146. urlIsNew(asPath) {
  3147. return this.asPath !== asPath;
  3148. }
  3149. /**
  3150. * Prefetch page code, you may wait for the data during page rendering.
  3151. * This feature only works in production!
  3152. * @param url the href of prefetched page
  3153. * @param asPath the as path of the prefetched page
  3154. */
  3155. prefetch(url, asPath = url, options = {}) {
  3156. return new Promise((resolve, reject) => {
  3157. const {
  3158. pathname,
  3159. protocol
  3160. } = url_1.parse(url);
  3161. if (!pathname || protocol) {
  3162. if (false) {}
  3163. return;
  3164. } // Prefetch is not supported in development mode because it would trigger on-demand-entries
  3165. if (false) {}
  3166. const route = delBasePath(toRoute(pathname));
  3167. Promise.all([this.pageLoader.prefetchData(url, delBasePath(asPath)), this.pageLoader[options.priority ? 'loadPage' : 'prefetch'](route)]).then(() => resolve(), reject);
  3168. });
  3169. }
  3170. async fetchComponent(route) {
  3171. let cancelled = false;
  3172. const cancel = this.clc = () => {
  3173. cancelled = true;
  3174. };
  3175. route = delBasePath(route);
  3176. const componentResult = await this.pageLoader.loadPage(route);
  3177. if (cancelled) {
  3178. const error = new Error(`Abort fetching component for route: "${route}"`);
  3179. error.cancelled = true;
  3180. throw error;
  3181. }
  3182. if (cancel === this.clc) {
  3183. this.clc = null;
  3184. }
  3185. return componentResult;
  3186. }
  3187. _getData(fn) {
  3188. let cancelled = false;
  3189. const cancel = () => {
  3190. cancelled = true;
  3191. };
  3192. this.clc = cancel;
  3193. return fn().then(data => {
  3194. if (cancel === this.clc) {
  3195. this.clc = null;
  3196. }
  3197. if (cancelled) {
  3198. const err = new Error('Loading initial props cancelled');
  3199. err.cancelled = true;
  3200. throw err;
  3201. }
  3202. return data;
  3203. });
  3204. }
  3205. getInitialProps(Component, ctx) {
  3206. const {
  3207. Component: App
  3208. } = this.components['/_app'];
  3209. const AppTree = this._wrapApp(App);
  3210. ctx.AppTree = AppTree;
  3211. return utils_1.loadGetInitialProps(App, {
  3212. AppTree,
  3213. Component,
  3214. router: this,
  3215. ctx
  3216. });
  3217. }
  3218. abortComponentLoad(as) {
  3219. if (this.clc) {
  3220. const e = new Error('Route Cancelled');
  3221. e.cancelled = true;
  3222. Router.events.emit('routeChangeError', e, as);
  3223. this.clc();
  3224. this.clc = null;
  3225. }
  3226. }
  3227. notify(data) {
  3228. this.sub(data, this.components['/_app'].Component);
  3229. }
  3230. }
  3231. exports.default = Router;
  3232. Router.events = mitt_1.default();
  3233. /***/ }),
  3234. /***/ "g/15":
  3235. /***/ (function(module, exports, __webpack_require__) {
  3236. "use strict";
  3237. Object.defineProperty(exports, "__esModule", {
  3238. value: true
  3239. });
  3240. const url_1 = __webpack_require__("bzos");
  3241. /**
  3242. * Utils
  3243. */
  3244. function execOnce(fn) {
  3245. let used = false;
  3246. let result;
  3247. return (...args) => {
  3248. if (!used) {
  3249. used = true;
  3250. result = fn(...args);
  3251. }
  3252. return result;
  3253. };
  3254. }
  3255. exports.execOnce = execOnce;
  3256. function getLocationOrigin() {
  3257. const {
  3258. protocol,
  3259. hostname,
  3260. port
  3261. } = window.location;
  3262. return `${protocol}//${hostname}${port ? ':' + port : ''}`;
  3263. }
  3264. exports.getLocationOrigin = getLocationOrigin;
  3265. function getURL() {
  3266. const {
  3267. href
  3268. } = window.location;
  3269. const origin = getLocationOrigin();
  3270. return href.substring(origin.length);
  3271. }
  3272. exports.getURL = getURL;
  3273. function getDisplayName(Component) {
  3274. return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';
  3275. }
  3276. exports.getDisplayName = getDisplayName;
  3277. function isResSent(res) {
  3278. return res.finished || res.headersSent;
  3279. }
  3280. exports.isResSent = isResSent;
  3281. async function loadGetInitialProps(App, ctx) {
  3282. var _a;
  3283. if (false) {} // when called from _app `ctx` is nested in `ctx`
  3284. const res = ctx.res || ctx.ctx && ctx.ctx.res;
  3285. if (!App.getInitialProps) {
  3286. if (ctx.ctx && ctx.Component) {
  3287. // @ts-ignore pageProps default
  3288. return {
  3289. pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
  3290. };
  3291. }
  3292. return {};
  3293. }
  3294. const props = await App.getInitialProps(ctx);
  3295. if (res && isResSent(res)) {
  3296. return props;
  3297. }
  3298. if (!props) {
  3299. const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
  3300. throw new Error(message);
  3301. }
  3302. if (false) {}
  3303. return props;
  3304. }
  3305. exports.loadGetInitialProps = loadGetInitialProps;
  3306. exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
  3307. function formatWithValidation(url, options) {
  3308. if (false) {}
  3309. return url_1.format(url, options);
  3310. }
  3311. exports.formatWithValidation = formatWithValidation;
  3312. exports.SP = typeof performance !== 'undefined';
  3313. exports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';
  3314. /***/ }),
  3315. /***/ "gguc":
  3316. /***/ (function(module, exports, __webpack_require__) {
  3317. "use strict";
  3318. Object.defineProperty(exports, "__esModule", {
  3319. value: true
  3320. });
  3321. function getRouteMatcher(routeRegex) {
  3322. const {
  3323. re,
  3324. groups
  3325. } = routeRegex;
  3326. return pathname => {
  3327. const routeMatch = re.exec(pathname);
  3328. if (!routeMatch) {
  3329. return false;
  3330. }
  3331. const decode = param => {
  3332. try {
  3333. return decodeURIComponent(param);
  3334. } catch (_) {
  3335. const err = new Error('failed to decode param');
  3336. err.code = 'DECODE_FAILED';
  3337. throw err;
  3338. }
  3339. };
  3340. const params = {};
  3341. Object.keys(groups).forEach(slugName => {
  3342. const g = groups[slugName];
  3343. const m = routeMatch[g.pos];
  3344. if (m !== undefined) {
  3345. params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);
  3346. }
  3347. });
  3348. return params;
  3349. };
  3350. }
  3351. exports.getRouteMatcher = getRouteMatcher;
  3352. /***/ }),
  3353. /***/ "i4t8":
  3354. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3355. "use strict";
  3356. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridItem; });
  3357. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  3358. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3359. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  3360. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  3361. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  3362. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  3363. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  3364. 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); }
  3365. 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; }
  3366. 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; }
  3367. // nodejs library to set properties for components
  3368. // @material-ui/core components
  3369. const styles = {
  3370. grid: {
  3371. position: "relative",
  3372. width: "100%",
  3373. minHeight: "1px",
  3374. paddingRight: "15px",
  3375. paddingLeft: "15px",
  3376. flexBasis: "auto"
  3377. }
  3378. };
  3379. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  3380. function GridItem(props) {
  3381. const classes = useStyles();
  3382. const {
  3383. children,
  3384. className
  3385. } = props,
  3386. rest = _objectWithoutProperties(props, ["children", "className"]);
  3387. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  3388. item: true
  3389. }, rest, {
  3390. className: classes.grid + " " + className
  3391. }), children);
  3392. }
  3393. GridItem.defaultProps = {
  3394. className: ""
  3395. };
  3396. /***/ }),
  3397. /***/ "jD8W":
  3398. /***/ (function(module, exports) {
  3399. module.exports = require("@material-ui/core/Popper");
  3400. /***/ }),
  3401. /***/ "kYf9":
  3402. /***/ (function(module, exports) {
  3403. module.exports = require("next/dist/next-server/lib/utils.js");
  3404. /***/ }),
  3405. /***/ "mf1M":
  3406. /***/ (function(module, exports) {
  3407. module.exports = require("@material-ui/core/Grow");
  3408. /***/ }),
  3409. /***/ "mtPR":
  3410. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3411. "use strict";
  3412. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridContainer; });
  3413. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  3414. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3415. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  3416. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  3417. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  3418. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  3419. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  3420. 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); }
  3421. 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; }
  3422. 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; }
  3423. // nodejs library to set properties for components
  3424. // @material-ui/core components
  3425. const styles = {
  3426. grid: {
  3427. marginRight: "-15px",
  3428. marginLeft: "-15px",
  3429. width: "auto"
  3430. }
  3431. };
  3432. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  3433. function GridContainer(props) {
  3434. const classes = useStyles();
  3435. const {
  3436. children,
  3437. className
  3438. } = props,
  3439. rest = _objectWithoutProperties(props, ["children", "className"]);
  3440. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  3441. container: true
  3442. }, rest, {
  3443. className: classes.grid + " " + className
  3444. }), children);
  3445. }
  3446. GridContainer.defaultProps = {
  3447. className: ""
  3448. };
  3449. /***/ }),
  3450. /***/ "nOHt":
  3451. /***/ (function(module, exports, __webpack_require__) {
  3452. "use strict";
  3453. var _interopRequireWildcard = __webpack_require__("7KCV");
  3454. var _interopRequireDefault = __webpack_require__("AroE");
  3455. exports.__esModule = true;
  3456. exports.useRouter = useRouter;
  3457. exports.makePublicRouterInstance = makePublicRouterInstance;
  3458. exports.createRouter = exports.withRouter = exports.default = void 0;
  3459. var _react = _interopRequireDefault(__webpack_require__("cDcd"));
  3460. var _router2 = _interopRequireWildcard(__webpack_require__("elyg"));
  3461. exports.Router = _router2.default;
  3462. exports.NextRouter = _router2.NextRouter;
  3463. var _routerContext = __webpack_require__("Osoz");
  3464. var _withRouter = _interopRequireDefault(__webpack_require__("0Bsm"));
  3465. exports.withRouter = _withRouter.default;
  3466. /* global window */
  3467. var singletonRouter = {
  3468. router: null,
  3469. // holds the actual router instance
  3470. readyCallbacks: [],
  3471. ready(cb) {
  3472. if (this.router) return cb();
  3473. if (false) {}
  3474. }
  3475. }; // Create public properties and methods of the router in the singletonRouter
  3476. var urlPropertyFields = ['pathname', 'route', 'query', 'asPath', 'components', 'isFallback', 'basePath'];
  3477. var routerEvents = ['routeChangeStart', 'beforeHistoryChange', 'routeChangeComplete', 'routeChangeError', 'hashChangeStart', 'hashChangeComplete'];
  3478. 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
  3479. Object.defineProperty(singletonRouter, 'events', {
  3480. get() {
  3481. return _router2.default.events;
  3482. }
  3483. });
  3484. urlPropertyFields.forEach(field => {
  3485. // Here we need to use Object.defineProperty because, we need to return
  3486. // the property assigned to the actual router
  3487. // The value might get changed as we change routes and this is the
  3488. // proper way to access it
  3489. Object.defineProperty(singletonRouter, field, {
  3490. get() {
  3491. var router = getRouter();
  3492. return router[field];
  3493. }
  3494. });
  3495. });
  3496. coreMethodFields.forEach(field => {
  3497. // We don't really know the types here, so we add them later instead
  3498. ;
  3499. singletonRouter[field] = function () {
  3500. var router = getRouter();
  3501. return router[field](...arguments);
  3502. };
  3503. });
  3504. routerEvents.forEach(event => {
  3505. singletonRouter.ready(() => {
  3506. _router2.default.events.on(event, function () {
  3507. var eventField = "on" + event.charAt(0).toUpperCase() + event.substring(1);
  3508. var _singletonRouter = singletonRouter;
  3509. if (_singletonRouter[eventField]) {
  3510. try {
  3511. _singletonRouter[eventField](...arguments);
  3512. } catch (err) {
  3513. // tslint:disable-next-line:no-console
  3514. console.error("Error when running the Router event: " + eventField); // tslint:disable-next-line:no-console
  3515. console.error(err.message + "\n" + err.stack);
  3516. }
  3517. }
  3518. });
  3519. });
  3520. });
  3521. function getRouter() {
  3522. if (!singletonRouter.router) {
  3523. var message = 'No router instance found.\n' + 'You should only use "next/router" inside the client side of your app.\n';
  3524. throw new Error(message);
  3525. }
  3526. return singletonRouter.router;
  3527. } // Export the singletonRouter and this is the public API.
  3528. var _default = singletonRouter; // Reexport the withRoute HOC
  3529. exports.default = _default;
  3530. function useRouter() {
  3531. return _react.default.useContext(_routerContext.RouterContext);
  3532. } // INTERNAL APIS
  3533. // -------------
  3534. // (do not use following exports inside the app)
  3535. // Create a router and assign it as the singleton instance.
  3536. // This is used in client side when we are initilizing the app.
  3537. // This should **not** use inside the server.
  3538. var createRouter = function createRouter() {
  3539. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  3540. args[_key] = arguments[_key];
  3541. }
  3542. singletonRouter.router = new _router2.default(...args);
  3543. singletonRouter.readyCallbacks.forEach(cb => cb());
  3544. singletonRouter.readyCallbacks = [];
  3545. return singletonRouter.router;
  3546. }; // This function is used to create the `withRouter` router instance
  3547. exports.createRouter = createRouter;
  3548. function makePublicRouterInstance(router) {
  3549. var _router = router;
  3550. var instance = {};
  3551. for (var property of urlPropertyFields) {
  3552. if (typeof _router[property] === 'object') {
  3553. instance[property] = Object.assign({}, _router[property]); // makes sure query is not stateful
  3554. continue;
  3555. }
  3556. instance[property] = _router[property];
  3557. } // Events is a static property on the router, the router doesn't have to be initialized to use it
  3558. instance.events = _router2.default.events;
  3559. coreMethodFields.forEach(field => {
  3560. instance[field] = function () {
  3561. return _router[field](...arguments);
  3562. };
  3563. });
  3564. return instance;
  3565. }
  3566. /***/ }),
  3567. /***/ "nybW":
  3568. /***/ (function(module, exports) {
  3569. module.exports = require("@material-ui/core/Divider");
  3570. /***/ }),
  3571. /***/ "oLCs":
  3572. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3573. "use strict";
  3574. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  3575. const footerStyle = {
  3576. block: {
  3577. color: "inherit",
  3578. padding: "0.9375rem",
  3579. fontWeight: "500",
  3580. fontSize: "12px",
  3581. textTransform: "uppercase",
  3582. borderRadius: "3px",
  3583. textDecoration: "none",
  3584. position: "relative",
  3585. display: "block"
  3586. },
  3587. left: {
  3588. float: "left!important",
  3589. display: "block"
  3590. },
  3591. right: {
  3592. padding: "15px 0",
  3593. margin: "0",
  3594. float: "right!important"
  3595. },
  3596. footer: {
  3597. padding: "0.9375rem 0",
  3598. textAlign: "center",
  3599. display: "flex",
  3600. zIndex: "2",
  3601. position: "relative"
  3602. },
  3603. a: {
  3604. color: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* primaryColor */ "p"],
  3605. textDecoration: "none",
  3606. backgroundColor: "transparent"
  3607. },
  3608. footerWhiteFont: {
  3609. "&,&:hover,&:focus": {
  3610. color: "#FFFFFF"
  3611. }
  3612. },
  3613. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  3614. list: {
  3615. marginBottom: "0",
  3616. padding: "0",
  3617. marginTop: "0"
  3618. },
  3619. inlineBlock: {
  3620. display: "inline-block",
  3621. padding: "0px",
  3622. width: "auto"
  3623. },
  3624. icon: {
  3625. width: "18px",
  3626. height: "18px",
  3627. position: "relative",
  3628. top: "3px"
  3629. }
  3630. };
  3631. /* harmony default export */ __webpack_exports__["a"] = (footerStyle);
  3632. /***/ }),
  3633. /***/ "qt1I":
  3634. /***/ (function(module, exports) {
  3635. module.exports = require("@material-ui/core/Paper");
  3636. /***/ }),
  3637. /***/ "sBtl":
  3638. /***/ (function(module, exports) {
  3639. module.exports = "/_next/static/images/aboutus-d76b56c864c47997d857fe44b3567c36.jpg";
  3640. /***/ }),
  3641. /***/ "sGRZ":
  3642. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3643. "use strict";
  3644. __webpack_require__.r(__webpack_exports__);
  3645. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  3646. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  3647. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  3648. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  3649. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("YFqc");
  3650. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_2__);
  3651. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  3652. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  3653. /* harmony import */ var components_Header_Header_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("8x5e");
  3654. /* harmony import */ var components_Header_HeaderSuzuki_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("3f76");
  3655. /* harmony import */ var components_Footer_FooterSuzuki_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("Jlmy");
  3656. /* harmony import */ var components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("mtPR");
  3657. /* harmony import */ var components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("i4t8");
  3658. /* harmony import */ var pages_sections_yamaha_about_us_penghargaan_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("5ImT");
  3659. /* harmony import */ var components_Parallax_Parallax_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("Z2Lm");
  3660. /* harmony import */ var assets_jss_nextjs_material_kit_pages_components_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("bhG4");
  3661. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  3662. 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); }
  3663. 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; }
  3664. 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; }
  3665. // nodejs library that concatenates classes
  3666. // react components for routing our app without refresh
  3667. // @material-ui/core components
  3668. // @material-ui/icons
  3669. // core components
  3670. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__["makeStyles"])(assets_jss_nextjs_material_kit_pages_components_js__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"]);
  3671. const penghargaan = function (_ref) {
  3672. let {
  3673. backend,
  3674. businessPartners,
  3675. service,
  3676. carousel
  3677. } = _ref,
  3678. props = _objectWithoutProperties(_ref, ["backend", "businessPartners", "service", "carousel"]);
  3679. const classes = useStyles();
  3680. const rest = Object.assign({}, props);
  3681. return __jsx("div", null, __jsx(components_Header_Header_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], _extends({
  3682. rightLinks: __jsx(components_Header_HeaderSuzuki_js__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], null),
  3683. fixed: true,
  3684. color: "info",
  3685. changeColorOnScroll: {
  3686. height: 400,
  3687. color: "white"
  3688. }
  3689. }, rest)), __jsx(components_Parallax_Parallax_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"], {
  3690. image: __webpack_require__("sBtl"),
  3691. width: "200px"
  3692. }, __jsx("div", {
  3693. className: classes.container
  3694. }, __jsx(components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], null, __jsx(components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], null)))), __jsx("div", {
  3695. className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(classes.main, classes.mainRaised)
  3696. }, __jsx(pages_sections_yamaha_about_us_penghargaan_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], null)), __jsx(components_Footer_FooterSuzuki_js__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], null));
  3697. };
  3698. /* harmony default export */ __webpack_exports__["default"] = (penghargaan);
  3699. /***/ }),
  3700. /***/ "x54t":
  3701. /***/ (function(module, exports) {
  3702. module.exports = require("@material-ui/core/MenuItem");
  3703. /***/ }),
  3704. /***/ "xmQw":
  3705. /***/ (function(module, exports) {
  3706. module.exports = require("@material-ui/core/MenuList");
  3707. /***/ })
  3708. /******/ });