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.
 
 

4552 linhas
154 KiB

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