Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

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