Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

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