Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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