Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

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