Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

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