added docker stuff and updated next.js to ^7.0.0
This commit is contained in:
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
db
|
||||||
@@ -1 +1 @@
|
|||||||
60371e5c-2085-4a2b-a88a-b930f4568bf0
|
lIlrIl8Q~DS1M0c3OvDaq
|
||||||
@@ -1 +1,48 @@
|
|||||||
{"pages":{},"css":["static/style.css"],"chunks/react_markdown_2310f29285bb72f338f5fec99785c0fb":["chunks/react_markdown_2310f29285bb72f338f5fec99785c0fb-24ac0d0da9f40eb7d170.js"],"chunks/comps_CodeMirror_51c113b8f0eb112cf9be60e9d3293726":["chunks/comps_CodeMirror_51c113b8f0eb112cf9be60e9d3293726-eb3ede167b1ed71779ab.js"],"bundles/pages/_error.js":["bundles/pages/_error.js"],"bundles/pages/edit.js":["bundles/pages/edit.js"],"bundles/pages/new.js":["bundles/pages/new.js"],"bundles/pages/_app.js":["bundles/pages/_app.js"],"bundles/pages/index.js":["bundles/pages/index.js"],"bundles/pages/k.js":["bundles/pages/k.js"],"bundles/pages/settings.js":["bundles/pages/settings.js"],"main.js":["static/commons/main-d7fba9ff49dfbe2862b8.js"]}
|
{
|
||||||
|
"devFiles": [],
|
||||||
|
"pages": {
|
||||||
|
"/_app": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/css/styles.e4072c36.chunk.css",
|
||||||
|
"static/chunks/styles.0a3c172918137cfae229.js",
|
||||||
|
"static/css/static/lIlrIl8Q~DS1M0c3OvDaq/pages/_app.js.970d9d14.chunk.css",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/edit": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/index": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/k": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/new": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/settings": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/_error": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
],
|
||||||
|
"/": [
|
||||||
|
"static/runtime/webpack-fe16071eecbc94b71bd0.js",
|
||||||
|
"static/chunks/commons.be3566392b121f4c3810.js",
|
||||||
|
"static/runtime/main-90d05adf631f91fa8cca.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2106
.next/dist/bundles/pages/edit.js
vendored
2106
.next/dist/bundles/pages/edit.js
vendored
File diff suppressed because it is too large
Load Diff
1768
.next/dist/bundles/pages/index.js
vendored
1768
.next/dist/bundles/pages/index.js
vendored
File diff suppressed because it is too large
Load Diff
1753
.next/dist/bundles/pages/k.js
vendored
1753
.next/dist/bundles/pages/k.js
vendored
File diff suppressed because it is too large
Load Diff
1819
.next/dist/bundles/pages/new.js
vendored
1819
.next/dist/bundles/pages/new.js
vendored
File diff suppressed because it is too large
Load Diff
1507
.next/dist/bundles/pages/settings.js
vendored
1507
.next/dist/bundles/pages/settings.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,160 +0,0 @@
|
|||||||
exports.ids = [0];
|
|
||||||
exports.modules = {
|
|
||||||
|
|
||||||
/***/ 22:
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return CodeMirror; });
|
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_codemirror__ = __webpack_require__(26);
|
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_codemirror___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_codemirror__);
|
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_keys__ = __webpack_require__(18);
|
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__util_keys__);
|
|
||||||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
||||||
|
|
||||||
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); }
|
|
||||||
|
|
||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
||||||
|
|
||||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
||||||
|
|
||||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (typeof window !== 'undefined') {
|
|
||||||
__webpack_require__(27);
|
|
||||||
}
|
|
||||||
|
|
||||||
var CodeMirror =
|
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Component) {
|
|
||||||
_inherits(CodeMirror, _Component);
|
|
||||||
|
|
||||||
function CodeMirror() {
|
|
||||||
var _ref;
|
|
||||||
|
|
||||||
var _temp, _this;
|
|
||||||
|
|
||||||
_classCallCheck(this, CodeMirror);
|
|
||||||
|
|
||||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
||||||
args[_key] = arguments[_key];
|
|
||||||
}
|
|
||||||
|
|
||||||
return _possibleConstructorReturn(_this, (_temp = _this = _possibleConstructorReturn(this, (_ref = CodeMirror.__proto__ || Object.getPrototypeOf(CodeMirror)).call.apply(_ref, [this].concat(args))), Object.defineProperty(_assertThisInitialized(_this), "handleChange", {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
writable: true,
|
|
||||||
value: function value() {
|
|
||||||
if (!_this.editor) return;
|
|
||||||
|
|
||||||
var value = _this.editor.getValue();
|
|
||||||
|
|
||||||
if (value !== _this.props.value) {
|
|
||||||
_this.props.onChange && _this.props.onChange(value);
|
|
||||||
|
|
||||||
if (_this.editor.getValue() !== _this.props.value) {
|
|
||||||
if (_this.state.isControlled) {
|
|
||||||
_this.editor.setValue(_this.props.value);
|
|
||||||
} else {
|
|
||||||
_this.props.value = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}), Object.defineProperty(_assertThisInitialized(_this), "checkSubmit", {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
writable: true,
|
|
||||||
value: function value(cm, e) {
|
|
||||||
var key = Object(__WEBPACK_IMPORTED_MODULE_2__util_keys__["getKey"])(e);
|
|
||||||
|
|
||||||
if (Object(__WEBPACK_IMPORTED_MODULE_2__util_keys__["isCtrlKey"])(key)) {
|
|
||||||
_this.ctrlKey = true;
|
|
||||||
} else if (key === 13 && _this.ctrlKey) {
|
|
||||||
_this.props.onSubmit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}), Object.defineProperty(_assertThisInitialized(_this), "handleKeyUp", {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
writable: true,
|
|
||||||
value: function value(cm, e) {
|
|
||||||
if (Object(__WEBPACK_IMPORTED_MODULE_2__util_keys__["isCtrlKey"])(Object(__WEBPACK_IMPORTED_MODULE_2__util_keys__["getKey"])(e))) _this.ctrlKey = false;
|
|
||||||
}
|
|
||||||
}), _temp));
|
|
||||||
}
|
|
||||||
|
|
||||||
_createClass(CodeMirror, [{
|
|
||||||
key: "componentDidMount",
|
|
||||||
value: function componentDidMount() {
|
|
||||||
if (typeof window === 'undefined') return;
|
|
||||||
this.editor = __WEBPACK_IMPORTED_MODULE_1_codemirror___default.a.fromTextArea(this.textarea, this.props.options);
|
|
||||||
this.editor.on('change', this.handleChange);
|
|
||||||
|
|
||||||
if (typeof this.props.onSubmit === 'function') {
|
|
||||||
this.editor.on('keydown', this.checkSubmit);
|
|
||||||
this.editor.on('keyup', this.handleKeyUp);
|
|
||||||
this.setupSubmitKey = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "componentWillUnmount",
|
|
||||||
value: function componentWillUnmount() {
|
|
||||||
if (this.setupSubmitKey) {
|
|
||||||
this.editor.off('keydown', this.checkSubmit);
|
|
||||||
this.editor.off('keyup', this.handleKeyUp);
|
|
||||||
this.setupSubmitKey = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "componentDidUpdate",
|
|
||||||
value: function componentDidUpdate() {
|
|
||||||
if (!this.editor || !this.props.value) return;
|
|
||||||
|
|
||||||
if (this.editor.getValue() !== this.props.value) {
|
|
||||||
this.editor.setValue(this.props.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
key: "render",
|
|
||||||
value: function render() {
|
|
||||||
var _this2 = this;
|
|
||||||
|
|
||||||
var _props = this.props,
|
|
||||||
value = _props.value,
|
|
||||||
className = _props.className,
|
|
||||||
onChange = _props.onChange;
|
|
||||||
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div", {
|
|
||||||
className: className
|
|
||||||
}, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("textarea", _extends({
|
|
||||||
value: value,
|
|
||||||
onChange: onChange
|
|
||||||
}, {
|
|
||||||
ref: function ref(el) {
|
|
||||||
return _this2.textarea = el;
|
|
||||||
}
|
|
||||||
})));
|
|
||||||
}
|
|
||||||
}]);
|
|
||||||
|
|
||||||
return CodeMirror;
|
|
||||||
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
};;
|
|
||||||
1
.next/dist/pages-manifest.json
vendored
1
.next/dist/pages-manifest.json
vendored
@@ -1 +0,0 @@
|
|||||||
{"/_app":"bundles/pages/_app.js","/_document":"bundles/pages/_document.js","/edit":"bundles/pages/edit.js","/index":"bundles/pages/index.js","/k":"bundles/pages/k.js","/new":"bundles/pages/new.js","/settings":"bundles/pages/settings.js","/_error":"bundles/pages/_error.js","/":"bundles/pages/index.js"}
|
|
||||||
2518
.next/react-loadable-manifest.json
Normal file
2518
.next/react-loadable-manifest.json
Normal file
File diff suppressed because it is too large
Load Diff
811
.next/records.json
Normal file
811
.next/records.json
Normal file
@@ -0,0 +1,811 @@
|
|||||||
|
{
|
||||||
|
"mini-css-extract-plugin node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!styles/style.sass": [
|
||||||
|
{
|
||||||
|
"modules": {
|
||||||
|
"byIdentifier": {
|
||||||
|
"node_modules/css-loader/lib/css-base.js": 0,
|
||||||
|
"node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!styles/style.sass": 1,
|
||||||
|
"node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!node_modules/codemirror/lib/codemirror.css": 2,
|
||||||
|
"node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!node_modules/codemirror/theme/monokai.css": 3
|
||||||
|
},
|
||||||
|
"usedIds": {
|
||||||
|
"0": 0,
|
||||||
|
"1": 1,
|
||||||
|
"2": 2,
|
||||||
|
"3": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chunks": {
|
||||||
|
"byName": {
|
||||||
|
"mini-css-extract-plugin": 0
|
||||||
|
},
|
||||||
|
"bySource": {},
|
||||||
|
"usedIds": [
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"modules": {
|
||||||
|
"byIdentifier": {
|
||||||
|
"node_modules/react/index.js": 0,
|
||||||
|
"node_modules/@babel/runtime/regenerator/index.js": 1,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/getUrl.js": 2,
|
||||||
|
"node_modules/core-js/library/modules/_core.js": 3,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js": 4,
|
||||||
|
"node_modules/prop-types/index.js": 5,
|
||||||
|
"node_modules/core-js/library/modules/_export.js": 6,
|
||||||
|
"node_modules/core-js/library/modules/_global.js": 7,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/getJwt.js": 8,
|
||||||
|
"node_modules/react-redux/es/index.js 67b03e0c128d2b1ee84267ae4ef3254d": 9,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!redux/actions/userAct.js": 10,
|
||||||
|
"node_modules/core-js/library/modules/_wks.js": 11,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/mapUser.js": 12,
|
||||||
|
"node_modules/core-js/library/modules/_is-object.js": 13,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js": 14,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/createClass.js": 15,
|
||||||
|
"node_modules/isomorphic-unfetch/browser.js": 16,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Page.js 8245350fae66397bf5f4212c5f0830f5": 17,
|
||||||
|
"node_modules/next/dynamic.js": 18,
|
||||||
|
"node_modules/next/router.js": 19,
|
||||||
|
"node_modules/core-js/library/modules/_object-dp.js": 20,
|
||||||
|
"node_modules/core-js/library/modules/_an-object.js": 21,
|
||||||
|
"node_modules/core-js/library/modules/_descriptors.js": 22,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/PaddedRow.js": 23,
|
||||||
|
"node_modules/core-js/library/modules/_ctx.js": 24,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/defineProperty.js": 25,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!redux/store.js 7cc7cd85ea10446cff073ac9df0a14ef": 26,
|
||||||
|
"node_modules/core-js/library/modules/_fails.js": 27,
|
||||||
|
"node_modules/core-js/library/modules/_hide.js": 28,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/objectSpread.js": 29,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/possibleConstructorReturn.js": 30,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js": 31,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/inherits.js": 32,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/updStateFromId.js": 33,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Markdown.js 2b6f97fce7c4009b6ee9a243ff44d63a": 34,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Spinner.js": 35,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/interopRequireWildcard.js": 36,
|
||||||
|
"node_modules/core-js/library/modules/_to-iobject.js": 37,
|
||||||
|
"node_modules/core-js/library/modules/_has.js": 38,
|
||||||
|
"node_modules/core-js/library/modules/_a-function.js": 39,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/typeof.js": 40,
|
||||||
|
"node_modules/next/dist/lib/utils.js": 41,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/checkDirParts.js": 42,
|
||||||
|
"node_modules/core-js/library/modules/_to-object.js": 43,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/promise.js": 44,
|
||||||
|
"node_modules/core-js/library/modules/es6.string.iterator.js": 45,
|
||||||
|
"node_modules/core-js/library/modules/_iterators.js": 46,
|
||||||
|
"node_modules/next/link.js": 47,
|
||||||
|
"node_modules/redux/es/redux.js": 48,
|
||||||
|
"node_modules/core-js/library/modules/_cof.js": 49,
|
||||||
|
"node_modules/core-js/library/modules/_property-desc.js": 50,
|
||||||
|
"node_modules/core-js/library/modules/_library.js": 51,
|
||||||
|
"node_modules/core-js/library/modules/_set-to-string-tag.js": 52,
|
||||||
|
"node_modules/core-js/library/modules/_object-keys.js": 53,
|
||||||
|
"node_modules/core-js/library/modules/_object-create.js": 54,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/keys.js": 55,
|
||||||
|
"node_modules/core-js/library/modules/web.dom.iterable.js": 56,
|
||||||
|
"node_modules/core-js/library/modules/_for-of.js": 57,
|
||||||
|
"node_modules/next/dist/lib/router/index.js": 58,
|
||||||
|
"node_modules/next/dist/lib/dynamic.js": 59,
|
||||||
|
"node_modules/url/url.js": 60,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/MngDoc.js": 61,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/AddDoc.js": 62,
|
||||||
|
"node_modules/core-js/library/modules/_object-pie.js": 63,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/define-property.js": 64,
|
||||||
|
"node_modules/core-js/library/modules/_uid.js": 65,
|
||||||
|
"node_modules/core-js/library/modules/_to-length.js": 66,
|
||||||
|
"node_modules/@babel/runtime-corejs2/regenerator/index.js": 67,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js": 68,
|
||||||
|
"node_modules/core-js/library/modules/_classof.js": 69,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/set.js": 70,
|
||||||
|
"node_modules/webpack/buildin/global.js": 71,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/assign.js": 72,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/assertThisInitialized.js": 73,
|
||||||
|
"node_modules/next/dist/lib/loadable.js": 74,
|
||||||
|
"node_modules/invariant/browser.js": 75,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/CodeMirror.js": 76,
|
||||||
|
"node_modules/core-js/library/modules/_iobject.js": 77,
|
||||||
|
"node_modules/core-js/library/modules/_defined.js": 78,
|
||||||
|
"node_modules/core-js/library/modules/_object-gopd.js": 79,
|
||||||
|
"node_modules/core-js/library/modules/_to-primitive.js": 80,
|
||||||
|
"node_modules/core-js/library/modules/_dom-create.js": 81,
|
||||||
|
"node_modules/core-js/library/modules/_object-sap.js": 82,
|
||||||
|
"node_modules/core-js/library/modules/_meta.js": 83,
|
||||||
|
"node_modules/core-js/library/modules/_shared.js": 84,
|
||||||
|
"node_modules/core-js/library/modules/_wks-ext.js": 85,
|
||||||
|
"node_modules/core-js/library/modules/_wks-define.js": 86,
|
||||||
|
"node_modules/core-js/library/modules/_to-integer.js": 87,
|
||||||
|
"node_modules/core-js/library/modules/_shared-key.js": 88,
|
||||||
|
"node_modules/core-js/library/modules/_enum-bug-keys.js": 89,
|
||||||
|
"node_modules/core-js/library/modules/_object-gops.js": 90,
|
||||||
|
"node_modules/core-js/library/modules/_is-array.js": 91,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.to-string.js": 92,
|
||||||
|
"node_modules/core-js/library/modules/_iter-define.js": 93,
|
||||||
|
"node_modules/core-js/library/modules/_an-instance.js": 94,
|
||||||
|
"node_modules/core-js/library/modules/core.get-iterator-method.js": 95,
|
||||||
|
"node_modules/core-js/library/modules/_new-promise-capability.js": 96,
|
||||||
|
"node_modules/core-js/library/modules/_redefine-all.js": 97,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/slicedToArray.js": 98,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/array/is-array.js": 99,
|
||||||
|
"node_modules/next/dist/lib/EventEmitter.js": 100,
|
||||||
|
"node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js": 101,
|
||||||
|
"node_modules/next/app.js": 102,
|
||||||
|
"node_modules/symbol-observable/es/index.js": 103,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-descriptor.js": 104,
|
||||||
|
"node_modules/core-js/library/modules/_ie8-dom-define.js": 105,
|
||||||
|
"node_modules/core-js/library/modules/es6.symbol.js": 106,
|
||||||
|
"node_modules/core-js/library/modules/_redefine.js": 107,
|
||||||
|
"node_modules/core-js/library/modules/_object-keys-internal.js": 108,
|
||||||
|
"node_modules/core-js/library/modules/_html.js": 109,
|
||||||
|
"node_modules/core-js/library/modules/_object-gopn.js": 110,
|
||||||
|
"node_modules/regenerator-runtime/runtime-module.js": 111,
|
||||||
|
"node_modules/core-js/library/modules/_object-gpo.js": 112,
|
||||||
|
"node_modules/core-js/library/modules/_iter-step.js": 113,
|
||||||
|
"node_modules/core-js/library/modules/_iter-call.js": 114,
|
||||||
|
"node_modules/core-js/library/modules/_is-array-iter.js": 115,
|
||||||
|
"node_modules/core-js/library/modules/_species-constructor.js": 116,
|
||||||
|
"node_modules/core-js/library/modules/_task.js": 117,
|
||||||
|
"node_modules/core-js/library/modules/_invoke.js": 118,
|
||||||
|
"node_modules/core-js/library/modules/_perform.js": 119,
|
||||||
|
"node_modules/core-js/library/modules/_promise-resolve.js": 120,
|
||||||
|
"node_modules/core-js/library/modules/_set-species.js": 121,
|
||||||
|
"node_modules/core-js/library/modules/_iter-detect.js": 122,
|
||||||
|
"node_modules/object-assign/index.js": 123,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/setPrototypeOf.js": 124,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/set-prototype-of.js": 125,
|
||||||
|
"node_modules/core-js/library/modules/_validate-collection.js": 126,
|
||||||
|
"node_modules/webpack/buildin/module.js": 127,
|
||||||
|
"node_modules/next/dist/lib/shallow-equals.js": 128,
|
||||||
|
"node_modules/isomorphic-unfetch/node_modules/unfetch/dist/unfetch.es.js": 129,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/keys.js": 130,
|
||||||
|
"node_modules/symbol-observable/es/ponyfill.js": 131,
|
||||||
|
"node_modules/lodash-es/_freeGlobal.js": 132,
|
||||||
|
"node_modules/react-paginate/dist/index.js": 133,
|
||||||
|
"node_modules/process/browser.js": 134,
|
||||||
|
"multi node_modules/next/dist/client/next": 135,
|
||||||
|
"node_modules/next/dist/client/next.js": 136,
|
||||||
|
"node_modules/core-js/library/fn/object/get-own-property-descriptor.js": 137,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js": 138,
|
||||||
|
"node_modules/core-js/library/fn/object/define-property.js": 139,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.define-property.js": 140,
|
||||||
|
"node_modules/next/dist/client/index.js": 141,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/get-own-property-symbols.js": 142,
|
||||||
|
"node_modules/core-js/library/fn/object/get-own-property-symbols.js": 143,
|
||||||
|
"node_modules/core-js/library/modules/_enum-keys.js": 144,
|
||||||
|
"node_modules/core-js/library/modules/_array-includes.js": 145,
|
||||||
|
"node_modules/core-js/library/modules/_to-absolute-index.js": 146,
|
||||||
|
"node_modules/core-js/library/modules/_object-dps.js": 147,
|
||||||
|
"node_modules/core-js/library/modules/_object-gopn-ext.js": 148,
|
||||||
|
"node_modules/core-js/library/fn/object/keys.js": 149,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.keys.js": 150,
|
||||||
|
"node_modules/regenerator-runtime/runtime.js": 151,
|
||||||
|
"node_modules/core-js/library/fn/promise.js": 152,
|
||||||
|
"node_modules/core-js/library/modules/_string-at.js": 153,
|
||||||
|
"node_modules/core-js/library/modules/_iter-create.js": 154,
|
||||||
|
"node_modules/core-js/library/modules/es6.array.iterator.js": 155,
|
||||||
|
"node_modules/core-js/library/modules/_add-to-unscopables.js": 156,
|
||||||
|
"node_modules/core-js/library/modules/es6.promise.js": 157,
|
||||||
|
"node_modules/core-js/library/modules/_microtask.js": 158,
|
||||||
|
"node_modules/core-js/library/modules/_user-agent.js": 159,
|
||||||
|
"node_modules/core-js/library/modules/es7.promise.finally.js": 160,
|
||||||
|
"node_modules/core-js/library/modules/es7.promise.try.js": 161,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/arrayWithHoles.js": 162,
|
||||||
|
"node_modules/core-js/library/fn/array/is-array.js": 163,
|
||||||
|
"node_modules/core-js/library/modules/es6.array.is-array.js": 164,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/iterableToArrayLimit.js": 165,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/get-iterator.js": 166,
|
||||||
|
"node_modules/core-js/library/fn/get-iterator.js": 167,
|
||||||
|
"node_modules/core-js/library/modules/core.get-iterator.js": 168,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/nonIterableRest.js": 169,
|
||||||
|
"node_modules/react/cjs/react.production.min.js": 170,
|
||||||
|
"node_modules/react-dom/index.js": 171,
|
||||||
|
"node_modules/react-dom/cjs/react-dom.production.min.js": 172,
|
||||||
|
"node_modules/schedule/index.js": 173,
|
||||||
|
"node_modules/schedule/cjs/schedule.production.min.js": 174,
|
||||||
|
"node_modules/next/dist/client/head-manager.js": 175,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js": 176,
|
||||||
|
"node_modules/core-js/library/fn/symbol/iterator.js": 177,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/symbol.js": 178,
|
||||||
|
"node_modules/core-js/library/fn/symbol/index.js": 179,
|
||||||
|
"node_modules/core-js/library/modules/es7.symbol.async-iterator.js": 180,
|
||||||
|
"node_modules/core-js/library/modules/es7.symbol.observable.js": 181,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/construct.js": 182,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/reflect/construct.js": 183,
|
||||||
|
"node_modules/core-js/library/fn/reflect/construct.js": 184,
|
||||||
|
"node_modules/core-js/library/modules/es6.reflect.construct.js": 185,
|
||||||
|
"node_modules/core-js/library/modules/_bind.js": 186,
|
||||||
|
"node_modules/core-js/library/fn/object/set-prototype-of.js": 187,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.set-prototype-of.js": 188,
|
||||||
|
"node_modules/core-js/library/modules/_set-proto.js": 189,
|
||||||
|
"node_modules/next/dist/lib/router/router.js": 190,
|
||||||
|
"node_modules/core-js/library/fn/set.js": 191,
|
||||||
|
"node_modules/core-js/library/modules/es6.set.js": 192,
|
||||||
|
"node_modules/core-js/library/modules/_collection-strong.js": 193,
|
||||||
|
"node_modules/core-js/library/modules/_collection.js": 194,
|
||||||
|
"node_modules/core-js/library/modules/_array-methods.js": 195,
|
||||||
|
"node_modules/core-js/library/modules/_array-species-create.js": 196,
|
||||||
|
"node_modules/core-js/library/modules/_array-species-constructor.js": 197,
|
||||||
|
"node_modules/core-js/library/modules/es7.set.to-json.js": 198,
|
||||||
|
"node_modules/core-js/library/modules/_collection-to-json.js": 199,
|
||||||
|
"node_modules/core-js/library/modules/_array-from-iterable.js": 200,
|
||||||
|
"node_modules/core-js/library/modules/es7.set.of.js": 201,
|
||||||
|
"node_modules/core-js/library/modules/_set-collection-of.js": 202,
|
||||||
|
"node_modules/core-js/library/modules/es7.set.from.js": 203,
|
||||||
|
"node_modules/core-js/library/modules/_set-collection-from.js": 204,
|
||||||
|
"node_modules/punycode/punycode.js": 205,
|
||||||
|
"node_modules/url/util.js": 206,
|
||||||
|
"node_modules/querystring-es3/index.js": 207,
|
||||||
|
"node_modules/querystring-es3/decode.js": 208,
|
||||||
|
"node_modules/querystring-es3/encode.js": 209,
|
||||||
|
"node_modules/next/dist/lib/p-queue.js": 210,
|
||||||
|
"node_modules/core-js/library/fn/object/assign.js": 211,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.assign.js": 212,
|
||||||
|
"node_modules/core-js/library/modules/_object-assign.js": 213,
|
||||||
|
"node_modules/next/dist/lib/router/with-router.js": 214,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/get-prototype-of.js": 215,
|
||||||
|
"node_modules/core-js/library/fn/object/get-prototype-of.js": 216,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.get-prototype-of.js": 217,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/object/create.js": 218,
|
||||||
|
"node_modules/core-js/library/fn/object/create.js": 219,
|
||||||
|
"node_modules/core-js/library/modules/es6.object.create.js": 220,
|
||||||
|
"node_modules/prop-types/factoryWithThrowingShims.js": 221,
|
||||||
|
"node_modules/prop-types/lib/ReactPropTypesSecret.js": 222,
|
||||||
|
"node_modules/next/dist/lib/page-loader.js": 223,
|
||||||
|
"node_modules/next/dist/lib/asset.js": 224,
|
||||||
|
"node_modules/next/dist/lib/runtime-config.js": 225,
|
||||||
|
"node_modules/next/dist/client/error-boundary.js": 226,
|
||||||
|
"multi ./pages/_app.js": 227,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/_app.js": 228,
|
||||||
|
"node_modules/next/dist/lib/app.js": 229,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/extends.js": 230,
|
||||||
|
"node_modules/url-join/lib/url-join.js": 231,
|
||||||
|
"node_modules/webpack/buildin/harmony-module.js": 232,
|
||||||
|
"node_modules/mini-css-extract-plugin/dist/loader.js!node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!styles/style.sass": 233,
|
||||||
|
"css node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!node_modules/codemirror/lib/codemirror.css 0": 234,
|
||||||
|
"css node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!node_modules/codemirror/theme/monokai.css 0": 235,
|
||||||
|
"css node_modules/css-loader/index.js??ref--6-1!node_modules/sass-loader/lib/loader.js??ref--6-2!styles/style.sass 0": 236,
|
||||||
|
"multi ./pages/edit.js": 237,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/edit.js": 238,
|
||||||
|
"node_modules/next/dist/lib/link.js": 239,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/json/stringify.js": 240,
|
||||||
|
"node_modules/core-js/library/fn/json/stringify.js": 241,
|
||||||
|
"multi ./pages/index.js": 242,
|
||||||
|
"node_modules/react-paginate/dist/PaginationBoxView.js": 243,
|
||||||
|
"node_modules/react-paginate/dist/PageView.js": 244,
|
||||||
|
"node_modules/react-paginate/dist/BreakView.js": 245,
|
||||||
|
"multi ./pages/k.js": 246,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/k.js": 247,
|
||||||
|
"multi ./pages/new.js": 248,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/new.js": 249,
|
||||||
|
"multi ./pages/settings.js": 250,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/settings.js": 251,
|
||||||
|
"multi node_modules/next/dist/pages/_error.js": 252,
|
||||||
|
"node_modules/next/dist/pages/_error.js": 253,
|
||||||
|
"node_modules/next/error.js": 254,
|
||||||
|
"node_modules/next/dist/lib/error.js": 255,
|
||||||
|
"node_modules/http-status/lib/index.js": 256,
|
||||||
|
"node_modules/next/dist/lib/head.js": 257,
|
||||||
|
"node_modules/next/dist/lib/side-effect.js": 258,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/toConsumableArray.js": 259,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/arrayWithoutHoles.js": 260,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/iterableToArray.js": 261,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/array/from.js": 262,
|
||||||
|
"node_modules/core-js/library/fn/array/from.js": 263,
|
||||||
|
"node_modules/core-js/library/modules/es6.array.from.js": 264,
|
||||||
|
"node_modules/core-js/library/modules/_create-property.js": 265,
|
||||||
|
"node_modules/@babel/runtime-corejs2/core-js/is-iterable.js": 266,
|
||||||
|
"node_modules/core-js/library/fn/is-iterable.js": 267,
|
||||||
|
"node_modules/core-js/library/modules/core.is-iterable.js": 268,
|
||||||
|
"node_modules/@babel/runtime-corejs2/helpers/nonIterableSpread.js": 269,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/index.js 02f73884633e8b54d3220884b54a8b51": 270,
|
||||||
|
"node_modules/is-whitespace-character/index.js": 271,
|
||||||
|
"node_modules/xtend/immutable.js": 272,
|
||||||
|
"node_modules/trim/index.js": 273,
|
||||||
|
"node_modules/codemirror/lib/codemirror.js": 274,
|
||||||
|
"node_modules/is-decimal/index.js": 275,
|
||||||
|
"node_modules/unist-util-visit/index.js": 276,
|
||||||
|
"node_modules/parse-entities/index.js": 277,
|
||||||
|
"node_modules/repeat-string/index.js": 278,
|
||||||
|
"node_modules/trim-trailing-lines/index.js": 279,
|
||||||
|
"node_modules/remark-parse/lib/util/interrupt.js": 280,
|
||||||
|
"node_modules/remark-parse/lib/util/normalize.js": 281,
|
||||||
|
"node_modules/path-browserify/index.js": 282,
|
||||||
|
"node_modules/is-alphabetical/index.js": 283,
|
||||||
|
"node_modules/remark-parse/lib/defaults.js": 284,
|
||||||
|
"node_modules/remark-parse/lib/util/get-indentation.js": 285,
|
||||||
|
"node_modules/remark-parse/lib/util/html.js": 286,
|
||||||
|
"node_modules/remark-parse/lib/locate/tag.js": 287,
|
||||||
|
"node_modules/remark-parse/lib/locate/link.js": 288,
|
||||||
|
"node_modules/codemirror/mode/markdown/markdown.js": 289,
|
||||||
|
"node_modules/codemirror/mode/xml/xml.js": 290,
|
||||||
|
"node_modules/codemirror/mode/meta.js": 291,
|
||||||
|
"node_modules/unified/index.js": 292,
|
||||||
|
"node_modules/extend/index.js": 293,
|
||||||
|
"node_modules/bail/index.js": 294,
|
||||||
|
"node_modules/vfile/index.js": 295,
|
||||||
|
"node_modules/vfile-message/index.js": 296,
|
||||||
|
"node_modules/unist-util-stringify-position/index.js": 297,
|
||||||
|
"node_modules/vfile/core.js": 298,
|
||||||
|
"node_modules/replace-ext/index.js": 299,
|
||||||
|
"node_modules/is-buffer/index.js": 300,
|
||||||
|
"node_modules/trough/index.js": 301,
|
||||||
|
"node_modules/trough/wrap.js": 302,
|
||||||
|
"node_modules/x-is-string/index.js": 303,
|
||||||
|
"node_modules/is-plain-obj/index.js": 304,
|
||||||
|
"node_modules/remark-parse/index.js": 305,
|
||||||
|
"node_modules/unherit/index.js": 306,
|
||||||
|
"node_modules/inherits/inherits_browser.js": 307,
|
||||||
|
"node_modules/remark-parse/lib/parser.js": 308,
|
||||||
|
"node_modules/state-toggle/index.js": 309,
|
||||||
|
"node_modules/vfile-location/index.js": 310,
|
||||||
|
"node_modules/remark-parse/lib/unescape.js": 311,
|
||||||
|
"node_modules/remark-parse/lib/decode.js": 312,
|
||||||
|
"node_modules/character-entities/index.json": 313,
|
||||||
|
"node_modules/character-entities-legacy/index.json": 314,
|
||||||
|
"node_modules/character-reference-invalid/index.json": 315,
|
||||||
|
"node_modules/is-hexadecimal/index.js": 316,
|
||||||
|
"node_modules/is-alphanumerical/index.js": 317,
|
||||||
|
"node_modules/remark-parse/lib/tokenizer.js": 318,
|
||||||
|
"node_modules/remark-parse/lib/set-options.js": 319,
|
||||||
|
"node_modules/markdown-escapes/index.js": 320,
|
||||||
|
"node_modules/remark-parse/lib/block-elements.json": 321,
|
||||||
|
"node_modules/remark-parse/lib/parse.js": 322,
|
||||||
|
"node_modules/unist-util-remove-position/index.js": 323,
|
||||||
|
"node_modules/unist-util-visit/node_modules/unist-util-visit-parents/index.js": 324,
|
||||||
|
"node_modules/unist-util-is/index.js": 325,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/newline.js": 326,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/code-indented.js": 327,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/code-fenced.js": 328,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/blockquote.js": 329,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/heading-atx.js": 330,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/thematic-break.js": 331,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/list.js": 332,
|
||||||
|
"node_modules/remark-parse/lib/util/remove-indentation.js": 333,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/heading-setext.js": 334,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/html-block.js": 335,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/footnote-definition.js": 336,
|
||||||
|
"node_modules/collapse-white-space/index.js": 337,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/definition.js": 338,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/table.js": 339,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/paragraph.js": 340,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/escape.js": 341,
|
||||||
|
"node_modules/remark-parse/lib/locate/escape.js": 342,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/auto-link.js": 343,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/url.js": 344,
|
||||||
|
"node_modules/remark-parse/lib/locate/url.js": 345,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/html-inline.js": 346,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/link.js": 347,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/reference.js": 348,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/strong.js": 349,
|
||||||
|
"node_modules/remark-parse/lib/locate/strong.js": 350,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/emphasis.js": 351,
|
||||||
|
"node_modules/is-word-character/index.js": 352,
|
||||||
|
"node_modules/remark-parse/lib/locate/emphasis.js": 353,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/delete.js": 354,
|
||||||
|
"node_modules/remark-parse/lib/locate/delete.js": 355,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/code-inline.js": 356,
|
||||||
|
"node_modules/remark-parse/lib/locate/code-inline.js": 357,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/break.js": 358,
|
||||||
|
"node_modules/remark-parse/lib/locate/break.js": 359,
|
||||||
|
"node_modules/remark-parse/lib/tokenize/text.js": 360,
|
||||||
|
"node_modules/mdast-add-list-metadata/index.js": 361,
|
||||||
|
"node_modules/unist-util-visit-parents/index.js": 362,
|
||||||
|
"node_modules/react-markdown/lib/plugins/naive-html.js": 363,
|
||||||
|
"node_modules/react-markdown/lib/plugins/disallow-node.js": 364,
|
||||||
|
"node_modules/react-markdown/lib/ast-to-react.js": 365,
|
||||||
|
"node_modules/react-markdown/lib/wrap-table-rows.js": 366,
|
||||||
|
"node_modules/react-markdown/lib/get-definitions.js": 367,
|
||||||
|
"node_modules/react-markdown/lib/uriTransformer.js": 368,
|
||||||
|
"node_modules/react-markdown/lib/renderers.js": 369,
|
||||||
|
"node_modules/react-markdown/lib/react-markdown.js": 370
|
||||||
|
},
|
||||||
|
"usedIds": {
|
||||||
|
"0": 0,
|
||||||
|
"1": 1,
|
||||||
|
"2": 2,
|
||||||
|
"3": 3,
|
||||||
|
"4": 4,
|
||||||
|
"5": 5,
|
||||||
|
"6": 6,
|
||||||
|
"7": 7,
|
||||||
|
"8": 8,
|
||||||
|
"9": 9,
|
||||||
|
"10": 10,
|
||||||
|
"11": 11,
|
||||||
|
"12": 12,
|
||||||
|
"13": 13,
|
||||||
|
"14": 14,
|
||||||
|
"15": 15,
|
||||||
|
"16": 16,
|
||||||
|
"17": 17,
|
||||||
|
"18": 18,
|
||||||
|
"19": 19,
|
||||||
|
"20": 20,
|
||||||
|
"21": 21,
|
||||||
|
"22": 22,
|
||||||
|
"23": 23,
|
||||||
|
"24": 24,
|
||||||
|
"25": 25,
|
||||||
|
"26": 26,
|
||||||
|
"27": 27,
|
||||||
|
"28": 28,
|
||||||
|
"29": 29,
|
||||||
|
"30": 30,
|
||||||
|
"31": 31,
|
||||||
|
"32": 32,
|
||||||
|
"33": 33,
|
||||||
|
"34": 34,
|
||||||
|
"35": 35,
|
||||||
|
"36": 36,
|
||||||
|
"37": 37,
|
||||||
|
"38": 38,
|
||||||
|
"39": 39,
|
||||||
|
"40": 40,
|
||||||
|
"41": 41,
|
||||||
|
"42": 42,
|
||||||
|
"43": 43,
|
||||||
|
"44": 44,
|
||||||
|
"45": 45,
|
||||||
|
"46": 46,
|
||||||
|
"47": 47,
|
||||||
|
"48": 48,
|
||||||
|
"49": 49,
|
||||||
|
"50": 50,
|
||||||
|
"51": 51,
|
||||||
|
"52": 52,
|
||||||
|
"53": 53,
|
||||||
|
"54": 54,
|
||||||
|
"55": 55,
|
||||||
|
"56": 56,
|
||||||
|
"57": 57,
|
||||||
|
"58": 58,
|
||||||
|
"59": 59,
|
||||||
|
"60": 60,
|
||||||
|
"61": 61,
|
||||||
|
"62": 62,
|
||||||
|
"63": 63,
|
||||||
|
"64": 64,
|
||||||
|
"65": 65,
|
||||||
|
"66": 66,
|
||||||
|
"67": 67,
|
||||||
|
"68": 68,
|
||||||
|
"69": 69,
|
||||||
|
"70": 70,
|
||||||
|
"71": 71,
|
||||||
|
"72": 72,
|
||||||
|
"73": 73,
|
||||||
|
"74": 74,
|
||||||
|
"75": 75,
|
||||||
|
"76": 76,
|
||||||
|
"77": 77,
|
||||||
|
"78": 78,
|
||||||
|
"79": 79,
|
||||||
|
"80": 80,
|
||||||
|
"81": 81,
|
||||||
|
"82": 82,
|
||||||
|
"83": 83,
|
||||||
|
"84": 84,
|
||||||
|
"85": 85,
|
||||||
|
"86": 86,
|
||||||
|
"87": 87,
|
||||||
|
"88": 88,
|
||||||
|
"89": 89,
|
||||||
|
"90": 90,
|
||||||
|
"91": 91,
|
||||||
|
"92": 92,
|
||||||
|
"93": 93,
|
||||||
|
"94": 94,
|
||||||
|
"95": 95,
|
||||||
|
"96": 96,
|
||||||
|
"97": 97,
|
||||||
|
"98": 98,
|
||||||
|
"99": 99,
|
||||||
|
"100": 100,
|
||||||
|
"101": 101,
|
||||||
|
"102": 102,
|
||||||
|
"103": 103,
|
||||||
|
"104": 104,
|
||||||
|
"105": 105,
|
||||||
|
"106": 106,
|
||||||
|
"107": 107,
|
||||||
|
"108": 108,
|
||||||
|
"109": 109,
|
||||||
|
"110": 110,
|
||||||
|
"111": 111,
|
||||||
|
"112": 112,
|
||||||
|
"113": 113,
|
||||||
|
"114": 114,
|
||||||
|
"115": 115,
|
||||||
|
"116": 116,
|
||||||
|
"117": 117,
|
||||||
|
"118": 118,
|
||||||
|
"119": 119,
|
||||||
|
"120": 120,
|
||||||
|
"121": 121,
|
||||||
|
"122": 122,
|
||||||
|
"123": 123,
|
||||||
|
"124": 124,
|
||||||
|
"125": 125,
|
||||||
|
"126": 126,
|
||||||
|
"127": 127,
|
||||||
|
"128": 128,
|
||||||
|
"129": 129,
|
||||||
|
"130": 130,
|
||||||
|
"131": 131,
|
||||||
|
"132": 132,
|
||||||
|
"133": 133,
|
||||||
|
"134": 134,
|
||||||
|
"135": 135,
|
||||||
|
"136": 136,
|
||||||
|
"137": 137,
|
||||||
|
"138": 138,
|
||||||
|
"139": 139,
|
||||||
|
"140": 140,
|
||||||
|
"141": 141,
|
||||||
|
"142": 142,
|
||||||
|
"143": 143,
|
||||||
|
"144": 144,
|
||||||
|
"145": 145,
|
||||||
|
"146": 146,
|
||||||
|
"147": 147,
|
||||||
|
"148": 148,
|
||||||
|
"149": 149,
|
||||||
|
"150": 150,
|
||||||
|
"151": 151,
|
||||||
|
"152": 152,
|
||||||
|
"153": 153,
|
||||||
|
"154": 154,
|
||||||
|
"155": 155,
|
||||||
|
"156": 156,
|
||||||
|
"157": 157,
|
||||||
|
"158": 158,
|
||||||
|
"159": 159,
|
||||||
|
"160": 160,
|
||||||
|
"161": 161,
|
||||||
|
"162": 162,
|
||||||
|
"163": 163,
|
||||||
|
"164": 164,
|
||||||
|
"165": 165,
|
||||||
|
"166": 166,
|
||||||
|
"167": 167,
|
||||||
|
"168": 168,
|
||||||
|
"169": 169,
|
||||||
|
"170": 170,
|
||||||
|
"171": 171,
|
||||||
|
"172": 172,
|
||||||
|
"173": 173,
|
||||||
|
"174": 174,
|
||||||
|
"175": 175,
|
||||||
|
"176": 176,
|
||||||
|
"177": 177,
|
||||||
|
"178": 178,
|
||||||
|
"179": 179,
|
||||||
|
"180": 180,
|
||||||
|
"181": 181,
|
||||||
|
"182": 182,
|
||||||
|
"183": 183,
|
||||||
|
"184": 184,
|
||||||
|
"185": 185,
|
||||||
|
"186": 186,
|
||||||
|
"187": 187,
|
||||||
|
"188": 188,
|
||||||
|
"189": 189,
|
||||||
|
"190": 190,
|
||||||
|
"191": 191,
|
||||||
|
"192": 192,
|
||||||
|
"193": 193,
|
||||||
|
"194": 194,
|
||||||
|
"195": 195,
|
||||||
|
"196": 196,
|
||||||
|
"197": 197,
|
||||||
|
"198": 198,
|
||||||
|
"199": 199,
|
||||||
|
"200": 200,
|
||||||
|
"201": 201,
|
||||||
|
"202": 202,
|
||||||
|
"203": 203,
|
||||||
|
"204": 204,
|
||||||
|
"205": 205,
|
||||||
|
"206": 206,
|
||||||
|
"207": 207,
|
||||||
|
"208": 208,
|
||||||
|
"209": 209,
|
||||||
|
"210": 210,
|
||||||
|
"211": 211,
|
||||||
|
"212": 212,
|
||||||
|
"213": 213,
|
||||||
|
"214": 214,
|
||||||
|
"215": 215,
|
||||||
|
"216": 216,
|
||||||
|
"217": 217,
|
||||||
|
"218": 218,
|
||||||
|
"219": 219,
|
||||||
|
"220": 220,
|
||||||
|
"221": 221,
|
||||||
|
"222": 222,
|
||||||
|
"223": 223,
|
||||||
|
"224": 224,
|
||||||
|
"225": 225,
|
||||||
|
"226": 226,
|
||||||
|
"227": 227,
|
||||||
|
"228": 228,
|
||||||
|
"229": 229,
|
||||||
|
"230": 230,
|
||||||
|
"231": 231,
|
||||||
|
"232": 232,
|
||||||
|
"233": 233,
|
||||||
|
"234": 234,
|
||||||
|
"235": 235,
|
||||||
|
"236": 236,
|
||||||
|
"237": 237,
|
||||||
|
"238": 238,
|
||||||
|
"239": 239,
|
||||||
|
"240": 240,
|
||||||
|
"241": 241,
|
||||||
|
"242": 242,
|
||||||
|
"243": 243,
|
||||||
|
"244": 244,
|
||||||
|
"245": 245,
|
||||||
|
"246": 246,
|
||||||
|
"247": 247,
|
||||||
|
"248": 248,
|
||||||
|
"249": 249,
|
||||||
|
"250": 250,
|
||||||
|
"251": 251,
|
||||||
|
"252": 252,
|
||||||
|
"253": 253,
|
||||||
|
"254": 254,
|
||||||
|
"255": 255,
|
||||||
|
"256": 256,
|
||||||
|
"257": 257,
|
||||||
|
"258": 258,
|
||||||
|
"259": 259,
|
||||||
|
"260": 260,
|
||||||
|
"261": 261,
|
||||||
|
"262": 262,
|
||||||
|
"263": 263,
|
||||||
|
"264": 264,
|
||||||
|
"265": 265,
|
||||||
|
"266": 266,
|
||||||
|
"267": 267,
|
||||||
|
"268": 268,
|
||||||
|
"269": 269,
|
||||||
|
"270": 270,
|
||||||
|
"271": 271,
|
||||||
|
"272": 272,
|
||||||
|
"273": 273,
|
||||||
|
"274": 274,
|
||||||
|
"275": 275,
|
||||||
|
"276": 276,
|
||||||
|
"277": 277,
|
||||||
|
"278": 278,
|
||||||
|
"279": 279,
|
||||||
|
"280": 280,
|
||||||
|
"281": 281,
|
||||||
|
"282": 282,
|
||||||
|
"283": 283,
|
||||||
|
"284": 284,
|
||||||
|
"285": 285,
|
||||||
|
"286": 286,
|
||||||
|
"287": 287,
|
||||||
|
"288": 288,
|
||||||
|
"289": 289,
|
||||||
|
"290": 290,
|
||||||
|
"291": 291,
|
||||||
|
"292": 292,
|
||||||
|
"293": 293,
|
||||||
|
"294": 294,
|
||||||
|
"295": 295,
|
||||||
|
"296": 296,
|
||||||
|
"297": 297,
|
||||||
|
"298": 298,
|
||||||
|
"299": 299,
|
||||||
|
"300": 300,
|
||||||
|
"301": 301,
|
||||||
|
"302": 302,
|
||||||
|
"303": 303,
|
||||||
|
"304": 304,
|
||||||
|
"305": 305,
|
||||||
|
"306": 306,
|
||||||
|
"307": 307,
|
||||||
|
"308": 308,
|
||||||
|
"309": 309,
|
||||||
|
"310": 310,
|
||||||
|
"311": 311,
|
||||||
|
"312": 312,
|
||||||
|
"313": 313,
|
||||||
|
"314": 314,
|
||||||
|
"315": 315,
|
||||||
|
"316": 316,
|
||||||
|
"317": 317,
|
||||||
|
"318": 318,
|
||||||
|
"319": 319,
|
||||||
|
"320": 320,
|
||||||
|
"321": 321,
|
||||||
|
"322": 322,
|
||||||
|
"323": 323,
|
||||||
|
"324": 324,
|
||||||
|
"325": 325,
|
||||||
|
"326": 326,
|
||||||
|
"327": 327,
|
||||||
|
"328": 328,
|
||||||
|
"329": 329,
|
||||||
|
"330": 330,
|
||||||
|
"331": 331,
|
||||||
|
"332": 332,
|
||||||
|
"333": 333,
|
||||||
|
"334": 334,
|
||||||
|
"335": 335,
|
||||||
|
"336": 336,
|
||||||
|
"337": 337,
|
||||||
|
"338": 338,
|
||||||
|
"339": 339,
|
||||||
|
"340": 340,
|
||||||
|
"341": 341,
|
||||||
|
"342": 342,
|
||||||
|
"343": 343,
|
||||||
|
"344": 344,
|
||||||
|
"345": 345,
|
||||||
|
"346": 346,
|
||||||
|
"347": 347,
|
||||||
|
"348": 348,
|
||||||
|
"349": 349,
|
||||||
|
"350": 350,
|
||||||
|
"351": 351,
|
||||||
|
"352": 352,
|
||||||
|
"353": 353,
|
||||||
|
"354": 354,
|
||||||
|
"355": 355,
|
||||||
|
"356": 356,
|
||||||
|
"357": 357,
|
||||||
|
"358": 358,
|
||||||
|
"359": 359,
|
||||||
|
"360": 360,
|
||||||
|
"361": 361,
|
||||||
|
"362": 362,
|
||||||
|
"363": 363,
|
||||||
|
"364": 364,
|
||||||
|
"365": 365,
|
||||||
|
"366": 366,
|
||||||
|
"367": 367,
|
||||||
|
"368": 368,
|
||||||
|
"369": 369,
|
||||||
|
"370": 370
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chunks": {
|
||||||
|
"byName": {
|
||||||
|
"commons": 0,
|
||||||
|
"static/runtime/webpack.js": 1,
|
||||||
|
"static/runtime/main.js": 2,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_app.js": 3,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js": 4,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js": 5,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js": 6,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js": 7,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js": 8,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_error.js": 9,
|
||||||
|
"styles": 12
|
||||||
|
},
|
||||||
|
"bySource": {
|
||||||
|
"0 node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/MngDoc.js ../comps/CodeMirror": 10,
|
||||||
|
"0 node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Markdown.js react-markdown": 11
|
||||||
|
},
|
||||||
|
"usedIds": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
10,
|
||||||
|
11,
|
||||||
|
12,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
4,
|
||||||
|
5,
|
||||||
|
6,
|
||||||
|
7,
|
||||||
|
8,
|
||||||
|
9
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
1
.next/server/pages-manifest.json
Normal file
1
.next/server/pages-manifest.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"/_app":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_app.js","/_document":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_document.js","/edit":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js","/index":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js","/k":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js","/new":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js","/settings":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js","/_error":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_error.js","/":"static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js"}
|
||||||
129
.next/server/records.json
Normal file
129
.next/server/records.json
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
{
|
||||||
|
"modules": {
|
||||||
|
"byIdentifier": {
|
||||||
|
"external \"react\"": 0,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/getUrl.js": 1,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!redux/actions/userAct.js": 2,
|
||||||
|
"external \"@babel/runtime/regenerator\"": 3,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!redux/store.js 7cc7cd85ea10446cff073ac9df0a14ef": 4,
|
||||||
|
"external \"react-redux\"": 5,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/mapUser.js": 6,
|
||||||
|
"external \"isomorphic-unfetch\"": 7,
|
||||||
|
"external \"next/router\"": 8,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/PaddedRow.js": 9,
|
||||||
|
"external \"redux\"": 10,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Spinner.js": 11,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/keys.js": 12,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/getJwt.js": 13,
|
||||||
|
"external \"next/link\"": 14,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Page.js 8245350fae66397bf5f4212c5f0830f5": 15,
|
||||||
|
"external \"url\"": 16,
|
||||||
|
"external \"url-join\"": 17,
|
||||||
|
"external \"next/dynamic\"": 18,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/updStateFromId.js": 19,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/Markdown.js 2b6f97fce7c4009b6ee9a243ff44d63a": 20,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!util/checkDirParts.js": 21,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/CodeMirror.js": 22,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/MngDoc.js": 23,
|
||||||
|
"external \"codemirror\"": 24,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!comps/AddDoc.js": 25,
|
||||||
|
"external \"react-markdown\"": 26,
|
||||||
|
"external \"next/document\"": 27,
|
||||||
|
"external \"codemirror/mode/markdown/markdown\"": 28,
|
||||||
|
"external \"next/app\"": 29,
|
||||||
|
"external \"react-paginate\"": 30,
|
||||||
|
"multi ./pages/_app.js": 31,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/_app.js": 32,
|
||||||
|
"node_modules/ignore-loader/index.js!styles/style.sass": 33,
|
||||||
|
"multi ./pages/_document.js": 34,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/_document.js": 35,
|
||||||
|
"multi ./pages/edit.js": 36,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/edit.js": 37,
|
||||||
|
"multi ./pages/index.js": 38,
|
||||||
|
"multi ./pages/k.js": 39,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/k.js": 40,
|
||||||
|
"multi ./pages/new.js": 41,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/new.js": 42,
|
||||||
|
"multi ./pages/settings.js": 43,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/settings.js": 44,
|
||||||
|
"multi node_modules/next/dist/pages/_error.js": 45,
|
||||||
|
"node_modules/next/dist/pages/_error.js": 46,
|
||||||
|
"external \"next/error\"": 47,
|
||||||
|
"node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4!pages/index.js 02f73884633e8b54d3220884b54a8b51": 48
|
||||||
|
},
|
||||||
|
"usedIds": {
|
||||||
|
"0": 0,
|
||||||
|
"1": 1,
|
||||||
|
"2": 2,
|
||||||
|
"3": 3,
|
||||||
|
"4": 4,
|
||||||
|
"5": 5,
|
||||||
|
"6": 6,
|
||||||
|
"7": 7,
|
||||||
|
"8": 8,
|
||||||
|
"9": 9,
|
||||||
|
"10": 10,
|
||||||
|
"11": 11,
|
||||||
|
"12": 12,
|
||||||
|
"13": 13,
|
||||||
|
"14": 14,
|
||||||
|
"15": 15,
|
||||||
|
"16": 16,
|
||||||
|
"17": 17,
|
||||||
|
"18": 18,
|
||||||
|
"19": 19,
|
||||||
|
"20": 20,
|
||||||
|
"21": 21,
|
||||||
|
"22": 22,
|
||||||
|
"23": 23,
|
||||||
|
"24": 24,
|
||||||
|
"25": 25,
|
||||||
|
"26": 26,
|
||||||
|
"27": 27,
|
||||||
|
"28": 28,
|
||||||
|
"29": 29,
|
||||||
|
"30": 30,
|
||||||
|
"31": 31,
|
||||||
|
"32": 32,
|
||||||
|
"33": 33,
|
||||||
|
"34": 34,
|
||||||
|
"35": 35,
|
||||||
|
"36": 36,
|
||||||
|
"37": 37,
|
||||||
|
"38": 38,
|
||||||
|
"39": 39,
|
||||||
|
"40": 40,
|
||||||
|
"41": 41,
|
||||||
|
"42": 42,
|
||||||
|
"43": 43,
|
||||||
|
"44": 44,
|
||||||
|
"45": 45,
|
||||||
|
"46": 46,
|
||||||
|
"47": 47,
|
||||||
|
"48": 48
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chunks": {
|
||||||
|
"byName": {
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_app.js": 0,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_document.js": 1,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js": 2,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js": 3,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js": 4,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js": 5,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js": 6,
|
||||||
|
"static/lIlrIl8Q~DS1M0c3OvDaq/pages/_error.js": 7
|
||||||
|
},
|
||||||
|
"bySource": {},
|
||||||
|
"usedIds": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
4,
|
||||||
|
5,
|
||||||
|
6,
|
||||||
|
7
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
4
.next/server/ssr-module-cache.js
Normal file
4
.next/server/ssr-module-cache.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
/* This cache is used by webpack for instantiated modules */
|
||||||
|
module.exports = {}
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
module.exports =
|
module.exports =
|
||||||
/******/ (function(modules) { // webpackBootstrap
|
/******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var installedModules = {};
|
/******/ var installedModules = require('../../../ssr-module-cache.js');
|
||||||
/******/
|
/******/
|
||||||
/******/ // The require function
|
/******/ // The require function
|
||||||
/******/ function __webpack_require__(moduleId) {
|
/******/ function __webpack_require__(moduleId) {
|
||||||
@@ -43,14 +43,34 @@ module.exports =
|
|||||||
/******/ // define getter function for harmony exports
|
/******/ // define getter function for harmony exports
|
||||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||||
/******/ Object.defineProperty(exports, name, {
|
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||||
/******/ configurable: false,
|
|
||||||
/******/ enumerable: true,
|
|
||||||
/******/ get: getter
|
|
||||||
/******/ });
|
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/
|
/******/
|
||||||
|
/******/ // define __esModule on exports
|
||||||
|
/******/ __webpack_require__.r = function(exports) {
|
||||||
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||||
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||||
|
/******/ }
|
||||||
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
/******/ };
|
||||||
|
/******/
|
||||||
|
/******/ // create a fake namespace object
|
||||||
|
/******/ // mode & 1: value is a module id, require it
|
||||||
|
/******/ // mode & 2: merge all properties of value into the ns
|
||||||
|
/******/ // mode & 4: return value when already ns object
|
||||||
|
/******/ // mode & 8|1: behave like require
|
||||||
|
/******/ __webpack_require__.t = function(value, mode) {
|
||||||
|
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||||
|
/******/ if(mode & 8) return value;
|
||||||
|
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||||
|
/******/ var ns = Object.create(null);
|
||||||
|
/******/ __webpack_require__.r(ns);
|
||||||
|
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||||
|
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||||
|
/******/ return ns;
|
||||||
|
/******/ };
|
||||||
|
/******/
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||||
/******/ __webpack_require__.n = function(module) {
|
/******/ __webpack_require__.n = function(module) {
|
||||||
/******/ var getter = module && module.__esModule ?
|
/******/ var getter = module && module.__esModule ?
|
||||||
@@ -66,8 +86,9 @@ module.exports =
|
|||||||
/******/ // __webpack_public_path__
|
/******/ // __webpack_public_path__
|
||||||
/******/ __webpack_require__.p = "";
|
/******/ __webpack_require__.p = "";
|
||||||
/******/
|
/******/
|
||||||
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 28);
|
/******/ return __webpack_require__(__webpack_require__.s = 31);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ([
|
/******/ ([
|
||||||
@@ -80,9 +101,9 @@ module.exports = require("react");
|
|||||||
/* 1 */
|
/* 1 */
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
var url = __webpack_require__(10);
|
var url = __webpack_require__(16);
|
||||||
|
|
||||||
var urljoin = __webpack_require__(11);
|
var urljoin = __webpack_require__(17);
|
||||||
|
|
||||||
module.exports = function (path, absolute) {
|
module.exports = function (path, absolute) {
|
||||||
var _ref = typeof window === 'undefined' ? app.get('kbConf') : window.kbConf,
|
var _ref = typeof window === 'undefined' ? app.get('kbConf') : window.kbConf,
|
||||||
@@ -110,21 +131,23 @@ module.exports = function (path, absolute) {
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return LOGOUT; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return LOGOUT; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return setUser; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return setUser; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return doLogout; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return doLogout; });
|
||||||
/* harmony export (immutable) */ __webpack_exports__["e"] = doLogin;
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return doLogin; });
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator__ = __webpack_require__(5);
|
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator__);
|
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_isomorphic_unfetch__ = __webpack_require__(7);
|
/* harmony import */ var isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_isomorphic_unfetch___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_isomorphic_unfetch__);
|
/* harmony import */ var isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__store__ = __webpack_require__(12);
|
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util_getUrl__ = __webpack_require__(1);
|
/* harmony import */ var _util_getUrl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__util_getUrl___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__util_getUrl__);
|
/* harmony import */ var _util_getUrl__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_util_getUrl__WEBPACK_IMPORTED_MODULE_3__);
|
||||||
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||||
|
|
||||||
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; }
|
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; }
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _next(value) { step("next", value); } function _throw(err) { step("throw", err); } _next(); }); }; }
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||||
|
|
||||||
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -135,7 +158,7 @@ var LOGIN_PENDING = 'LOGIN_PENDING';
|
|||||||
var LOGIN_FAILED = 'LOGIN_FAILED';
|
var LOGIN_FAILED = 'LOGIN_FAILED';
|
||||||
var LOGOUT = 'LOGOUT';
|
var LOGOUT = 'LOGOUT';
|
||||||
var setUser = function setUser(user) {
|
var setUser = function setUser(user) {
|
||||||
__WEBPACK_IMPORTED_MODULE_2__store__["a" /* default */].dispatch({
|
_store__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].dispatch({
|
||||||
type: SET_USER,
|
type: SET_USER,
|
||||||
data: user
|
data: user
|
||||||
});
|
});
|
||||||
@@ -147,7 +170,7 @@ var doLogout = function doLogout() {
|
|||||||
document.cookie = 'jwt=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;';
|
document.cookie = 'jwt=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;';
|
||||||
}
|
}
|
||||||
|
|
||||||
__WEBPACK_IMPORTED_MODULE_2__store__["a" /* default */].dispatch({
|
_store__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].dispatch({
|
||||||
type: LOGOUT
|
type: LOGOUT
|
||||||
});
|
});
|
||||||
}; // doLogout
|
}; // doLogout
|
||||||
@@ -159,14 +182,14 @@ function doLogin(_x, _x2, _x3) {
|
|||||||
function _doLogin() {
|
function _doLogin() {
|
||||||
_doLogin = _asyncToGenerator(
|
_doLogin = _asyncToGenerator(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
__WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default.a.mark(function _callee(creds, jwt, noPend) {
|
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(creds, jwt, noPend) {
|
||||||
var authReqOpts, authReqHead, authReqBody, authReq, authRes, error, _ref, accessToken, payload, _JSON$parse, userId, userReq, userRes;
|
var authReqOpts, authReqHead, authReqBody, authReq, authRes, error, _ref, accessToken, payload, _JSON$parse, userId, userReq, userRes;
|
||||||
|
|
||||||
return __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default.a.wrap(function _callee$(_context) {
|
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||||
while (1) {
|
while (1) {
|
||||||
switch (_context.prev = _context.next) {
|
switch (_context.prev = _context.next) {
|
||||||
case 0:
|
case 0:
|
||||||
!noPend && __WEBPACK_IMPORTED_MODULE_2__store__["a" /* default */].dispatch({
|
!noPend && _store__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].dispatch({
|
||||||
type: LOGIN_PENDING
|
type: LOGIN_PENDING
|
||||||
});
|
});
|
||||||
authReqOpts = {
|
authReqOpts = {
|
||||||
@@ -185,10 +208,10 @@ function _doLogin() {
|
|||||||
strategy: 'local'
|
strategy: 'local'
|
||||||
}))
|
}))
|
||||||
};
|
};
|
||||||
authReq = new Request(__WEBPACK_IMPORTED_MODULE_3__util_getUrl___default()('auth'), _objectSpread({}, authReqOpts, authReqHead, authReqBody));
|
authReq = new Request(_util_getUrl__WEBPACK_IMPORTED_MODULE_3___default()('auth'), _objectSpread({}, authReqOpts, authReqHead, authReqBody));
|
||||||
_context.next = 7;
|
_context.next = 7;
|
||||||
return __WEBPACK_IMPORTED_MODULE_1_isomorphic_unfetch___default()(authReq).catch(function (err) {
|
return isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1___default()(authReq).catch(function (err) {
|
||||||
__WEBPACK_IMPORTED_MODULE_2__store__["a" /* default */].dispatch({
|
_store__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].dispatch({
|
||||||
type: LOGIN_FAILED,
|
type: LOGIN_FAILED,
|
||||||
data: err.message
|
data: err.message
|
||||||
});
|
});
|
||||||
@@ -218,7 +241,7 @@ function _doLogin() {
|
|||||||
error = authRes.status === 429 ? 'Max login attempts reached' : 'An error occurred during login';
|
error = authRes.status === 429 ? 'Max login attempts reached' : 'An error occurred during login';
|
||||||
|
|
||||||
case 19:
|
case 19:
|
||||||
return _context.abrupt("return", __WEBPACK_IMPORTED_MODULE_2__store__["a" /* default */].dispatch({
|
return _context.abrupt("return", _store__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].dispatch({
|
||||||
type: LOGIN_FAILED,
|
type: LOGIN_FAILED,
|
||||||
data: error
|
data: error
|
||||||
}));
|
}));
|
||||||
@@ -232,13 +255,13 @@ function _doLogin() {
|
|||||||
accessToken = _ref.accessToken;
|
accessToken = _ref.accessToken;
|
||||||
payload = accessToken.split('.')[1];
|
payload = accessToken.split('.')[1];
|
||||||
_JSON$parse = JSON.parse(atob(payload)), userId = _JSON$parse.userId;
|
_JSON$parse = JSON.parse(atob(payload)), userId = _JSON$parse.userId;
|
||||||
userReq = new Request(__WEBPACK_IMPORTED_MODULE_3__util_getUrl___default()("/users/".concat(userId)), {
|
userReq = new Request(_util_getUrl__WEBPACK_IMPORTED_MODULE_3___default()("/users/".concat(userId)), {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: accessToken
|
Authorization: accessToken
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
_context.next = 29;
|
_context.next = 29;
|
||||||
return __WEBPACK_IMPORTED_MODULE_1_isomorphic_unfetch___default()(userReq);
|
return isomorphic_unfetch__WEBPACK_IMPORTED_MODULE_1___default()(userReq);
|
||||||
|
|
||||||
case 29:
|
case 29:
|
||||||
userRes = _context.sent;
|
userRes = _context.sent;
|
||||||
@@ -248,7 +271,7 @@ function _doLogin() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return _context.abrupt("return", __WEBPACK_IMPORTED_MODULE_2__store__["a" /* default */].dispatch({
|
return _context.abrupt("return", _store__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].dispatch({
|
||||||
type: LOGIN_FAILED,
|
type: LOGIN_FAILED,
|
||||||
data: 'failed to get user'
|
data: 'failed to get user'
|
||||||
}));
|
}));
|
||||||
@@ -277,45 +300,16 @@ function _doLogin() {
|
|||||||
/* 3 */
|
/* 3 */
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("react-redux");
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 4 */,
|
|
||||||
/* 5 */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = require("@babel/runtime/regenerator");
|
module.exports = require("@babel/runtime/regenerator");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 6 */,
|
/* 4 */
|
||||||
/* 7 */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = require("isomorphic-unfetch");
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 8 */,
|
|
||||||
/* 9 */,
|
|
||||||
/* 10 */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = require("url");
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 11 */
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = require("url-join");
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 12 */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// EXTERNAL MODULE: external "redux"
|
// EXTERNAL MODULE: external "redux"
|
||||||
var external__redux_ = __webpack_require__(15);
|
var external_redux_ = __webpack_require__(10);
|
||||||
var external__redux__default = /*#__PURE__*/__webpack_require__.n(external__redux_);
|
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./redux/actions/userAct.js
|
// EXTERNAL MODULE: ./redux/actions/userAct.js
|
||||||
var userAct = __webpack_require__(2);
|
var userAct = __webpack_require__(2);
|
||||||
@@ -376,30 +370,52 @@ function user() {
|
|||||||
|
|
||||||
var middleware;
|
var middleware;
|
||||||
|
|
||||||
if (false) {
|
if (false) { var logger; }
|
||||||
var logger = require('redux-logger').default;
|
|
||||||
|
|
||||||
if (typeof window !== 'undefined') {
|
var reducers = Object(external_redux_["combineReducers"])({
|
||||||
middleware = applyMiddleware(logger);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var reducers = Object(external__redux_["combineReducers"])({
|
|
||||||
user: userRed
|
user: userRed
|
||||||
});
|
});
|
||||||
/* harmony default export */ var store = __webpack_exports__["a"] = (middleware ? Object(external__redux_["createStore"])(reducers, middleware) : Object(external__redux_["createStore"])(reducers));
|
/* harmony default export */ var store = __webpack_exports__["a"] = (middleware ? Object(external_redux_["createStore"])(reducers, middleware) : Object(external_redux_["createStore"])(reducers));
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 13 */,
|
/* 5 */
|
||||||
/* 14 */,
|
/***/ (function(module, exports) {
|
||||||
/* 15 */
|
|
||||||
|
module.exports = require("react-redux");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
/* 6 */,
|
||||||
|
/* 7 */
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
module.exports = require("isomorphic-unfetch");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
/* 8 */,
|
||||||
|
/* 9 */,
|
||||||
|
/* 10 */
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("redux");
|
module.exports = require("redux");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 16 */,
|
/* 11 */,
|
||||||
/* 17 */,
|
/* 12 */,
|
||||||
|
/* 13 */,
|
||||||
|
/* 14 */,
|
||||||
|
/* 15 */,
|
||||||
|
/* 16 */
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
module.exports = require("url");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
/* 17 */
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
module.exports = require("url-join");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
/* 18 */,
|
/* 18 */,
|
||||||
/* 19 */,
|
/* 19 */,
|
||||||
/* 20 */,
|
/* 20 */,
|
||||||
@@ -410,35 +426,45 @@ module.exports = require("redux");
|
|||||||
/* 25 */,
|
/* 25 */,
|
||||||
/* 26 */,
|
/* 26 */,
|
||||||
/* 27 */,
|
/* 27 */,
|
||||||
/* 28 */
|
/* 28 */,
|
||||||
|
/* 29 */
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
module.exports = require("next/app");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
/* 30 */,
|
||||||
|
/* 31 */
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
module.exports = __webpack_require__(29);
|
module.exports = __webpack_require__(32);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 29 */
|
/* 32 */
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MyApp; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MyApp; });
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator__ = __webpack_require__(5);
|
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator__);
|
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(0);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_next_app__ = __webpack_require__(30);
|
/* harmony import */ var next_app__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_next_app___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_next_app__);
|
/* harmony import */ var next_app__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_app__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__redux_store__ = __webpack_require__(12);
|
/* harmony import */ var _redux_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_redux__ = __webpack_require__(3);
|
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_redux___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_redux__);
|
/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_4__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__redux_actions_userAct__ = __webpack_require__(2);
|
/* harmony import */ var _redux_actions_userAct__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _next(value) { step("next", value); } function _throw(err) { step("throw", err); } _next(); }); }; }
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||||
|
|
||||||
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
||||||
|
|
||||||
@@ -454,7 +480,11 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -462,7 +492,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|||||||
// Don't load sass during ssr
|
// Don't load sass during ssr
|
||||||
|
|
||||||
if (!global.kbConf) {
|
if (!global.kbConf) {
|
||||||
__webpack_require__(31);
|
__webpack_require__(33);
|
||||||
}
|
}
|
||||||
|
|
||||||
var ssr = typeof window === 'undefined';
|
var ssr = typeof window === 'undefined';
|
||||||
@@ -475,42 +505,42 @@ function (_App) {
|
|||||||
function MyApp() {
|
function MyApp() {
|
||||||
_classCallCheck(this, MyApp);
|
_classCallCheck(this, MyApp);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, (MyApp.__proto__ || Object.getPrototypeOf(MyApp)).apply(this, arguments));
|
return _possibleConstructorReturn(this, _getPrototypeOf(MyApp).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
_createClass(MyApp, [{
|
_createClass(MyApp, [{
|
||||||
key: "componentWillMount",
|
key: "componentWillMount",
|
||||||
value: function componentWillMount() {
|
value: function componentWillMount() {
|
||||||
var _props = this.props,
|
var _this$props = this.props,
|
||||||
user = _props.user,
|
user = _this$props.user,
|
||||||
setup = _props.setup;
|
setup = _this$props.setup;
|
||||||
Object(__WEBPACK_IMPORTED_MODULE_5__redux_actions_userAct__["g" /* setUser */])(_objectSpread({}, user, {
|
Object(_redux_actions_userAct__WEBPACK_IMPORTED_MODULE_5__[/* setUser */ "g"])(_objectSpread({}, user, {
|
||||||
setup: setup
|
setup: setup
|
||||||
}));
|
}));
|
||||||
|
|
||||||
if (!ssr && !user.email) {
|
if (!ssr && !user.email) {
|
||||||
var jwt = window.localStorage.jwt;
|
var jwt = window.localStorage.jwt;
|
||||||
if (jwt) Object(__WEBPACK_IMPORTED_MODULE_5__redux_actions_userAct__["e" /* doLogin */])(null, jwt, true);
|
if (jwt) Object(_redux_actions_userAct__WEBPACK_IMPORTED_MODULE_5__[/* doLogin */ "e"])(null, jwt, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "render",
|
key: "render",
|
||||||
value: function render() {
|
value: function render() {
|
||||||
var _props2 = this.props,
|
var _this$props2 = this.props,
|
||||||
Component = _props2.Component,
|
Component = _this$props2.Component,
|
||||||
pageProps = _props2.pageProps;
|
pageProps = _this$props2.pageProps;
|
||||||
return __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_react_redux__["Provider"], {
|
return react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(react_redux__WEBPACK_IMPORTED_MODULE_4__["Provider"], {
|
||||||
store: __WEBPACK_IMPORTED_MODULE_3__redux_store__["a" /* default */]
|
store: _redux_store__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"]
|
||||||
}, __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_next_app__["Container"], null, __WEBPACK_IMPORTED_MODULE_1_react___default.a.createElement(Component, pageProps)));
|
}, react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(next_app__WEBPACK_IMPORTED_MODULE_2__["Container"], null, react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(Component, pageProps)));
|
||||||
}
|
}
|
||||||
}], [{
|
}], [{
|
||||||
key: "getInitialProps",
|
key: "getInitialProps",
|
||||||
value: function () {
|
value: function () {
|
||||||
var _getInitialProps = _asyncToGenerator(
|
var _getInitialProps = _asyncToGenerator(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
__WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default.a.mark(function _callee(_ref) {
|
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(_ref) {
|
||||||
var Component, ctx, user, setup, pageProps;
|
var Component, ctx, user, setup, pageProps;
|
||||||
return __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default.a.wrap(function _callee$(_context) {
|
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
||||||
while (1) {
|
while (1) {
|
||||||
switch (_context.prev = _context.next) {
|
switch (_context.prev = _context.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@@ -559,18 +589,12 @@ function (_App) {
|
|||||||
}]);
|
}]);
|
||||||
|
|
||||||
return MyApp;
|
return MyApp;
|
||||||
}(__WEBPACK_IMPORTED_MODULE_2_next_app___default.a);
|
}(next_app__WEBPACK_IMPORTED_MODULE_2___default.a);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 30 */
|
/* 33 */
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = require("next/app");
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
/* 31 */
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
module.exports =
|
module.exports =
|
||||||
/******/ (function(modules) { // webpackBootstrap
|
/******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var installedModules = {};
|
/******/ var installedModules = require('../../../ssr-module-cache.js');
|
||||||
/******/
|
/******/
|
||||||
/******/ // The require function
|
/******/ // The require function
|
||||||
/******/ function __webpack_require__(moduleId) {
|
/******/ function __webpack_require__(moduleId) {
|
||||||
@@ -43,14 +43,34 @@ module.exports =
|
|||||||
/******/ // define getter function for harmony exports
|
/******/ // define getter function for harmony exports
|
||||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||||
/******/ Object.defineProperty(exports, name, {
|
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||||
/******/ configurable: false,
|
|
||||||
/******/ enumerable: true,
|
|
||||||
/******/ get: getter
|
|
||||||
/******/ });
|
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/
|
/******/
|
||||||
|
/******/ // define __esModule on exports
|
||||||
|
/******/ __webpack_require__.r = function(exports) {
|
||||||
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||||
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||||
|
/******/ }
|
||||||
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
/******/ };
|
||||||
|
/******/
|
||||||
|
/******/ // create a fake namespace object
|
||||||
|
/******/ // mode & 1: value is a module id, require it
|
||||||
|
/******/ // mode & 2: merge all properties of value into the ns
|
||||||
|
/******/ // mode & 4: return value when already ns object
|
||||||
|
/******/ // mode & 8|1: behave like require
|
||||||
|
/******/ __webpack_require__.t = function(value, mode) {
|
||||||
|
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||||
|
/******/ if(mode & 8) return value;
|
||||||
|
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||||
|
/******/ var ns = Object.create(null);
|
||||||
|
/******/ __webpack_require__.r(ns);
|
||||||
|
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||||
|
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||||
|
/******/ return ns;
|
||||||
|
/******/ };
|
||||||
|
/******/
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||||
/******/ __webpack_require__.n = function(module) {
|
/******/ __webpack_require__.n = function(module) {
|
||||||
/******/ var getter = module && module.__esModule ?
|
/******/ var getter = module && module.__esModule ?
|
||||||
@@ -66,8 +86,9 @@ module.exports =
|
|||||||
/******/ // __webpack_public_path__
|
/******/ // __webpack_public_path__
|
||||||
/******/ __webpack_require__.p = "";
|
/******/ __webpack_require__.p = "";
|
||||||
/******/
|
/******/
|
||||||
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 32);
|
/******/ return __webpack_require__(__webpack_require__.s = 34);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
@@ -82,9 +103,9 @@ module.exports = require("react");
|
|||||||
/***/ 1:
|
/***/ 1:
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
var url = __webpack_require__(10);
|
var url = __webpack_require__(16);
|
||||||
|
|
||||||
var urljoin = __webpack_require__(11);
|
var urljoin = __webpack_require__(17);
|
||||||
|
|
||||||
module.exports = function (path, absolute) {
|
module.exports = function (path, absolute) {
|
||||||
var _ref = typeof window === 'undefined' ? app.get('kbConf') : window.kbConf,
|
var _ref = typeof window === 'undefined' ? app.get('kbConf') : window.kbConf,
|
||||||
@@ -103,40 +124,47 @@ module.exports = function (path, absolute) {
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 10:
|
/***/ 16:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("url");
|
module.exports = require("url");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 11:
|
/***/ 17:
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("url-join");
|
module.exports = require("url-join");
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 32:
|
/***/ 27:
|
||||||
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
|
module.exports = require("next/document");
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 34:
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
module.exports = __webpack_require__(33);
|
module.exports = __webpack_require__(35);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 33:
|
/***/ 35:
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MyDocument; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MyDocument; });
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_next_document__ = __webpack_require__(34);
|
/* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_next_document___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_next_document__);
|
/* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_document__WEBPACK_IMPORTED_MODULE_1__);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_getUrl__ = __webpack_require__(1);
|
/* harmony import */ var _util_getUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
||||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_getUrl___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__util_getUrl__);
|
/* harmony import */ var _util_getUrl__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_util_getUrl__WEBPACK_IMPORTED_MODULE_2__);
|
||||||
|
|
||||||
|
|
||||||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||||
@@ -151,7 +179,11 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|||||||
|
|
||||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||||
|
|
||||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||||
|
|
||||||
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -164,49 +196,39 @@ function (_Document) {
|
|||||||
function MyDocument() {
|
function MyDocument() {
|
||||||
_classCallCheck(this, MyDocument);
|
_classCallCheck(this, MyDocument);
|
||||||
|
|
||||||
return _possibleConstructorReturn(this, (MyDocument.__proto__ || Object.getPrototypeOf(MyDocument)).apply(this, arguments));
|
return _possibleConstructorReturn(this, _getPrototypeOf(MyDocument).apply(this, arguments));
|
||||||
}
|
}
|
||||||
|
|
||||||
_createClass(MyDocument, [{
|
_createClass(MyDocument, [{
|
||||||
key: "render",
|
key: "render",
|
||||||
value: function render() {
|
value: function render() {
|
||||||
var favicon = __WEBPACK_IMPORTED_MODULE_2__util_getUrl___default()('favicon.ico');
|
var favicon = _util_getUrl__WEBPACK_IMPORTED_MODULE_2___default()('favicon.ico');
|
||||||
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("html", null, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_next_document__["Head"], null, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("meta", {
|
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("html", null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_document__WEBPACK_IMPORTED_MODULE_1__["Head"], null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("meta", {
|
||||||
charSet: "utf-8"
|
charSet: "utf-8"
|
||||||
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("meta", {
|
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("meta", {
|
||||||
name: "viewport",
|
name: "viewport",
|
||||||
content: "width=device-width, initial-scale=1, shrink-to-fit=no"
|
content: "width=device-width, initial-scale=1, shrink-to-fit=no"
|
||||||
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("link", {
|
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("link", {
|
||||||
rel: "shortcut icon",
|
rel: "shortcut icon",
|
||||||
href: favicon,
|
href: favicon,
|
||||||
type: "image/x-icon"
|
type: "image/x-icon"
|
||||||
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("link", {
|
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("link", {
|
||||||
rel: "icon",
|
rel: "icon",
|
||||||
href: favicon,
|
href: favicon,
|
||||||
type: "image/x-icon"
|
type: "image/x-icon"
|
||||||
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("link", {
|
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("title", null, "My Knowledge Base"), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("script", {
|
||||||
rel: "stylesheet",
|
|
||||||
href: __WEBPACK_IMPORTED_MODULE_2__util_getUrl___default()('/_next/static/style.css')
|
|
||||||
}), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("title", null, "My Knowledge Base"), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("script", {
|
|
||||||
dangerouslySetInnerHTML: {
|
dangerouslySetInnerHTML: {
|
||||||
__html: 'window.kbConf=' + JSON.stringify(app.get('kbConf'))
|
__html: 'window.kbConf=' + JSON.stringify(app.get('kbConf'))
|
||||||
}
|
}
|
||||||
})), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("body", null, __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_next_document__["Main"], null), __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_next_document__["NextScript"], null)));
|
})), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("body", null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_document__WEBPACK_IMPORTED_MODULE_1__["Main"], null), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_document__WEBPACK_IMPORTED_MODULE_1__["NextScript"], null)));
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
return MyDocument;
|
return MyDocument;
|
||||||
}(__WEBPACK_IMPORTED_MODULE_1_next_document___default.a);
|
}(next_document__WEBPACK_IMPORTED_MODULE_1___default.a);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 34:
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
module.exports = require("next/document");
|
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
/******/ });
|
/******/ });
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
module.exports =
|
module.exports =
|
||||||
/******/ (function(modules) { // webpackBootstrap
|
/******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var installedModules = {};
|
/******/ var installedModules = require('../../../ssr-module-cache.js');
|
||||||
/******/
|
/******/
|
||||||
/******/ // The require function
|
/******/ // The require function
|
||||||
/******/ function __webpack_require__(moduleId) {
|
/******/ function __webpack_require__(moduleId) {
|
||||||
@@ -43,14 +43,34 @@ module.exports =
|
|||||||
/******/ // define getter function for harmony exports
|
/******/ // define getter function for harmony exports
|
||||||
/******/ __webpack_require__.d = function(exports, name, getter) {
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
||||||
/******/ if(!__webpack_require__.o(exports, name)) {
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
||||||
/******/ Object.defineProperty(exports, name, {
|
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
||||||
/******/ configurable: false,
|
|
||||||
/******/ enumerable: true,
|
|
||||||
/******/ get: getter
|
|
||||||
/******/ });
|
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/
|
/******/
|
||||||
|
/******/ // define __esModule on exports
|
||||||
|
/******/ __webpack_require__.r = function(exports) {
|
||||||
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||||
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||||
|
/******/ }
|
||||||
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
/******/ };
|
||||||
|
/******/
|
||||||
|
/******/ // create a fake namespace object
|
||||||
|
/******/ // mode & 1: value is a module id, require it
|
||||||
|
/******/ // mode & 2: merge all properties of value into the ns
|
||||||
|
/******/ // mode & 4: return value when already ns object
|
||||||
|
/******/ // mode & 8|1: behave like require
|
||||||
|
/******/ __webpack_require__.t = function(value, mode) {
|
||||||
|
/******/ if(mode & 1) value = __webpack_require__(value);
|
||||||
|
/******/ if(mode & 8) return value;
|
||||||
|
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
||||||
|
/******/ var ns = Object.create(null);
|
||||||
|
/******/ __webpack_require__.r(ns);
|
||||||
|
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
||||||
|
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
||||||
|
/******/ return ns;
|
||||||
|
/******/ };
|
||||||
|
/******/
|
||||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||||
/******/ __webpack_require__.n = function(module) {
|
/******/ __webpack_require__.n = function(module) {
|
||||||
/******/ var getter = module && module.__esModule ?
|
/******/ var getter = module && module.__esModule ?
|
||||||
@@ -66,29 +86,30 @@ module.exports =
|
|||||||
/******/ // __webpack_public_path__
|
/******/ // __webpack_public_path__
|
||||||
/******/ __webpack_require__.p = "";
|
/******/ __webpack_require__.p = "";
|
||||||
/******/
|
/******/
|
||||||
|
/******/
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 46);
|
/******/ return __webpack_require__(__webpack_require__.s = 45);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ({
|
/******/ ({
|
||||||
|
|
||||||
|
/***/ 45:
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
module.exports = __webpack_require__(46);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ 46:
|
/***/ 46:
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
module.exports = __webpack_require__(47);
|
module.exports = __webpack_require__(47)
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 47:
|
/***/ 47:
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
module.exports = __webpack_require__(48)
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 48:
|
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("next/error");
|
module.exports = require("next/error");
|
||||||
2241
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js
Normal file
2241
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js
Normal file
File diff suppressed because it is too large
Load Diff
1789
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js
Normal file
1789
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js
Normal file
File diff suppressed because it is too large
Load Diff
1771
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js
Normal file
1771
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js
Normal file
File diff suppressed because it is too large
Load Diff
1939
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js
Normal file
1939
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js
Normal file
File diff suppressed because it is too large
Load Diff
1522
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js
Normal file
1522
.next/server/static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js
Normal file
File diff suppressed because it is too large
Load Diff
1
.next/static/chunks/10.92205884f2772342b0b5.js
Normal file
1
.next/static/chunks/10.92205884f2772342b0b5.js
Normal file
File diff suppressed because one or more lines are too long
14
.next/static/chunks/11.7a232aeb103ef6f4d6d4.js
Normal file
14
.next/static/chunks/11.7a232aeb103ef6f4d6d4.js
Normal file
File diff suppressed because one or more lines are too long
22
.next/static/chunks/commons.be3566392b121f4c3810.js
Normal file
22
.next/static/chunks/commons.be3566392b121f4c3810.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/chunks/styles.0a3c172918137cfae229.js
Normal file
1
.next/static/chunks/styles.0a3c172918137cfae229.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{233:function(n,w,o){}}]);
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,516 @@
|
|||||||
|
/* BASICS */
|
||||||
|
.CodeMirror {
|
||||||
|
/* Set height, width, borders, and global font properties here */
|
||||||
|
font-family: monospace;
|
||||||
|
height: 300px;
|
||||||
|
color: black;
|
||||||
|
direction: ltr; }
|
||||||
|
|
||||||
|
/* PADDING */
|
||||||
|
.CodeMirror-lines {
|
||||||
|
padding: 4px 0;
|
||||||
|
/* Vertical padding around content */ }
|
||||||
|
|
||||||
|
.CodeMirror pre {
|
||||||
|
padding: 0 4px;
|
||||||
|
/* Horizontal padding of content */ }
|
||||||
|
|
||||||
|
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
||||||
|
background-color: white;
|
||||||
|
/* The little square between H and V scrollbars */ }
|
||||||
|
|
||||||
|
/* GUTTER */
|
||||||
|
.CodeMirror-gutters {
|
||||||
|
border-right: 1px solid #ddd;
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
white-space: nowrap; }
|
||||||
|
|
||||||
|
.CodeMirror-linenumber {
|
||||||
|
padding: 0 3px 0 5px;
|
||||||
|
min-width: 20px;
|
||||||
|
text-align: right;
|
||||||
|
color: #999;
|
||||||
|
white-space: nowrap; }
|
||||||
|
|
||||||
|
.CodeMirror-guttermarker {
|
||||||
|
color: black; }
|
||||||
|
|
||||||
|
.CodeMirror-guttermarker-subtle {
|
||||||
|
color: #999; }
|
||||||
|
|
||||||
|
/* CURSOR */
|
||||||
|
.CodeMirror-cursor {
|
||||||
|
border-left: 1px solid black;
|
||||||
|
border-right: none;
|
||||||
|
width: 0; }
|
||||||
|
|
||||||
|
/* Shown when moving in bi-directional text */
|
||||||
|
.CodeMirror div.CodeMirror-secondarycursor {
|
||||||
|
border-left: 1px solid silver; }
|
||||||
|
|
||||||
|
.cm-fat-cursor .CodeMirror-cursor {
|
||||||
|
width: auto;
|
||||||
|
border: 0 !important;
|
||||||
|
background: #7e7; }
|
||||||
|
|
||||||
|
.cm-fat-cursor div.CodeMirror-cursors {
|
||||||
|
z-index: 1; }
|
||||||
|
|
||||||
|
.cm-fat-cursor-mark {
|
||||||
|
background-color: rgba(20, 255, 20, 0.5);
|
||||||
|
-webkit-animation: blink 1.06s steps(1) infinite;
|
||||||
|
-moz-animation: blink 1.06s steps(1) infinite;
|
||||||
|
animation: blink 1.06s steps(1) infinite; }
|
||||||
|
|
||||||
|
.cm-animate-fat-cursor {
|
||||||
|
width: auto;
|
||||||
|
border: 0;
|
||||||
|
-webkit-animation: blink 1.06s steps(1) infinite;
|
||||||
|
-moz-animation: blink 1.06s steps(1) infinite;
|
||||||
|
animation: blink 1.06s steps(1) infinite;
|
||||||
|
background-color: #7e7; }
|
||||||
|
|
||||||
|
@-moz-keyframes blink {
|
||||||
|
0% { }
|
||||||
|
50% {
|
||||||
|
background-color: transparent; }
|
||||||
|
100% { } }
|
||||||
|
|
||||||
|
@-webkit-keyframes blink {
|
||||||
|
0% { }
|
||||||
|
50% {
|
||||||
|
background-color: transparent; }
|
||||||
|
100% { } }
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
0% { }
|
||||||
|
50% {
|
||||||
|
background-color: transparent; }
|
||||||
|
100% { } }
|
||||||
|
|
||||||
|
/* Can style cursor different in overwrite (non-insert) mode */
|
||||||
|
.cm-tab {
|
||||||
|
display: inline-block;
|
||||||
|
text-decoration: inherit; }
|
||||||
|
|
||||||
|
.CodeMirror-rulers {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: -50px;
|
||||||
|
bottom: -20px;
|
||||||
|
overflow: hidden; }
|
||||||
|
|
||||||
|
.CodeMirror-ruler {
|
||||||
|
border-left: 1px solid #ccc;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
position: absolute; }
|
||||||
|
|
||||||
|
/* DEFAULT THEME */
|
||||||
|
.cm-s-default .cm-header {
|
||||||
|
color: blue; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-quote {
|
||||||
|
color: #090; }
|
||||||
|
|
||||||
|
.cm-negative {
|
||||||
|
color: #d44; }
|
||||||
|
|
||||||
|
.cm-positive {
|
||||||
|
color: #292; }
|
||||||
|
|
||||||
|
.cm-header, .cm-strong {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.cm-em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.cm-link {
|
||||||
|
text-decoration: underline; }
|
||||||
|
|
||||||
|
.cm-strikethrough {
|
||||||
|
text-decoration: line-through; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-keyword {
|
||||||
|
color: #708; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-atom {
|
||||||
|
color: #219; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-number {
|
||||||
|
color: #164; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-def {
|
||||||
|
color: #00f; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-variable-2 {
|
||||||
|
color: #05a; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {
|
||||||
|
color: #085; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-comment {
|
||||||
|
color: #a50; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-string {
|
||||||
|
color: #a11; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-string-2 {
|
||||||
|
color: #f50; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-meta {
|
||||||
|
color: #555; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-qualifier {
|
||||||
|
color: #555; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-builtin {
|
||||||
|
color: #30a; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-bracket {
|
||||||
|
color: #997; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-tag {
|
||||||
|
color: #170; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-attribute {
|
||||||
|
color: #00c; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-hr {
|
||||||
|
color: #999; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-link {
|
||||||
|
color: #00c; }
|
||||||
|
|
||||||
|
.cm-s-default .cm-error {
|
||||||
|
color: #f00; }
|
||||||
|
|
||||||
|
.cm-invalidchar {
|
||||||
|
color: #f00; }
|
||||||
|
|
||||||
|
.CodeMirror-composing {
|
||||||
|
border-bottom: 2px solid; }
|
||||||
|
|
||||||
|
/* Default styles for common addons */
|
||||||
|
div.CodeMirror span.CodeMirror-matchingbracket {
|
||||||
|
color: #0b0; }
|
||||||
|
|
||||||
|
div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
||||||
|
color: #a22; }
|
||||||
|
|
||||||
|
.CodeMirror-matchingtag {
|
||||||
|
background: rgba(255, 150, 0, 0.3); }
|
||||||
|
|
||||||
|
.CodeMirror-activeline-background {
|
||||||
|
background: #e8f2ff; }
|
||||||
|
|
||||||
|
/* STOP */
|
||||||
|
/* The rest of this file contains styles related to the mechanics of
|
||||||
|
the editor. You probably shouldn't touch them. */
|
||||||
|
.CodeMirror {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
background: white; }
|
||||||
|
|
||||||
|
.CodeMirror-scroll {
|
||||||
|
overflow: scroll !important;
|
||||||
|
/* Things will break if this is overridden */
|
||||||
|
/* 30px is the magic margin used to hide the element's real scrollbars */
|
||||||
|
/* See overflow: hidden in .CodeMirror */
|
||||||
|
margin-bottom: -30px;
|
||||||
|
margin-right: -30px;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
height: 100%;
|
||||||
|
outline: none;
|
||||||
|
/* Prevent dragging from highlighting the element */
|
||||||
|
position: relative; }
|
||||||
|
|
||||||
|
.CodeMirror-sizer {
|
||||||
|
position: relative;
|
||||||
|
border-right: 30px solid transparent; }
|
||||||
|
|
||||||
|
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
||||||
|
before actual scrolling happens, thus preventing shaking and
|
||||||
|
flickering artifacts. */
|
||||||
|
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 6;
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.CodeMirror-vscrollbar {
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: scroll; }
|
||||||
|
|
||||||
|
.CodeMirror-hscrollbar {
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
overflow-y: hidden;
|
||||||
|
overflow-x: scroll; }
|
||||||
|
|
||||||
|
.CodeMirror-scrollbar-filler {
|
||||||
|
right: 0;
|
||||||
|
bottom: 0; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter-filler {
|
||||||
|
left: 0;
|
||||||
|
bottom: 0; }
|
||||||
|
|
||||||
|
.CodeMirror-gutters {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
min-height: 100%;
|
||||||
|
z-index: 3; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter {
|
||||||
|
white-space: normal;
|
||||||
|
height: 100%;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
margin-bottom: -30px; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter-wrapper {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 4;
|
||||||
|
background: none !important;
|
||||||
|
border: none !important; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter-background {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 4; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter-elt {
|
||||||
|
position: absolute;
|
||||||
|
cursor: default;
|
||||||
|
z-index: 4; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter-wrapper ::selection {
|
||||||
|
background-color: transparent; }
|
||||||
|
|
||||||
|
.CodeMirror-gutter-wrapper ::-moz-selection {
|
||||||
|
background-color: transparent; }
|
||||||
|
|
||||||
|
.CodeMirror-lines {
|
||||||
|
cursor: text;
|
||||||
|
min-height: 1px;
|
||||||
|
/* prevents collapsing before first draw */ }
|
||||||
|
|
||||||
|
.CodeMirror pre {
|
||||||
|
/* Reset some styles that the rest of the page might have set */
|
||||||
|
-moz-border-radius: 0;
|
||||||
|
-webkit-border-radius: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
border-width: 0;
|
||||||
|
background: transparent;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
margin: 0;
|
||||||
|
white-space: pre;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: inherit;
|
||||||
|
color: inherit;
|
||||||
|
z-index: 2;
|
||||||
|
position: relative;
|
||||||
|
overflow: visible;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
-webkit-font-variant-ligatures: contextual;
|
||||||
|
font-variant-ligatures: contextual; }
|
||||||
|
|
||||||
|
.CodeMirror-wrap pre {
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-break: normal; }
|
||||||
|
|
||||||
|
.CodeMirror-linebackground {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 0; }
|
||||||
|
|
||||||
|
.CodeMirror-linewidget {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
padding: 0.1px;
|
||||||
|
/* Force widget margins to stay inside of the container */ }
|
||||||
|
|
||||||
|
.CodeMirror-rtl pre {
|
||||||
|
direction: rtl; }
|
||||||
|
|
||||||
|
.CodeMirror-code {
|
||||||
|
outline: none; }
|
||||||
|
|
||||||
|
/* Force content-box sizing for the elements where we expect it */
|
||||||
|
.CodeMirror-scroll,
|
||||||
|
.CodeMirror-sizer,
|
||||||
|
.CodeMirror-gutter,
|
||||||
|
.CodeMirror-gutters,
|
||||||
|
.CodeMirror-linenumber {
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
box-sizing: content-box; }
|
||||||
|
|
||||||
|
.CodeMirror-measure {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden; }
|
||||||
|
|
||||||
|
.CodeMirror-cursor {
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none; }
|
||||||
|
|
||||||
|
.CodeMirror-measure pre {
|
||||||
|
position: static; }
|
||||||
|
|
||||||
|
div.CodeMirror-cursors {
|
||||||
|
visibility: hidden;
|
||||||
|
position: relative;
|
||||||
|
z-index: 3; }
|
||||||
|
|
||||||
|
div.CodeMirror-dragcursors {
|
||||||
|
visibility: visible; }
|
||||||
|
|
||||||
|
.CodeMirror-focused div.CodeMirror-cursors {
|
||||||
|
visibility: visible; }
|
||||||
|
|
||||||
|
.CodeMirror-selected {
|
||||||
|
background: #d9d9d9; }
|
||||||
|
|
||||||
|
.CodeMirror-focused .CodeMirror-selected {
|
||||||
|
background: #d7d4f0; }
|
||||||
|
|
||||||
|
.CodeMirror-crosshair {
|
||||||
|
cursor: crosshair; }
|
||||||
|
|
||||||
|
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
|
||||||
|
background: #d7d4f0; }
|
||||||
|
|
||||||
|
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
|
||||||
|
background: #d7d4f0; }
|
||||||
|
|
||||||
|
.cm-searching {
|
||||||
|
background-color: #ffa;
|
||||||
|
background-color: rgba(255, 255, 0, 0.4); }
|
||||||
|
|
||||||
|
/* Used to force a border model for a node */
|
||||||
|
.cm-force-border {
|
||||||
|
padding-right: .1px; }
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
/* Hide the cursor when printing */
|
||||||
|
.CodeMirror div.CodeMirror-cursors {
|
||||||
|
visibility: hidden; } }
|
||||||
|
|
||||||
|
/* See issue #2901 */
|
||||||
|
.cm-tab-wrap-hack:after {
|
||||||
|
content: ''; }
|
||||||
|
|
||||||
|
/* Help users use markselection to safely style text background */
|
||||||
|
span.CodeMirror-selectedtext {
|
||||||
|
background: none; }
|
||||||
|
|
||||||
|
/* Based on Sublime Text's Monokai theme */
|
||||||
|
.cm-s-monokai.CodeMirror {
|
||||||
|
background: #272822;
|
||||||
|
color: #f8f8f2; }
|
||||||
|
|
||||||
|
.cm-s-monokai div.CodeMirror-selected {
|
||||||
|
background: #49483E; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-line::selection, .cm-s-monokai .CodeMirror-line > span::selection, .cm-s-monokai .CodeMirror-line > span > span::selection {
|
||||||
|
background: rgba(73, 72, 62, 0.99); }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-line::-moz-selection, .cm-s-monokai .CodeMirror-line > span::-moz-selection, .cm-s-monokai .CodeMirror-line > span > span::-moz-selection {
|
||||||
|
background: rgba(73, 72, 62, 0.99); }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-gutters {
|
||||||
|
background: #272822;
|
||||||
|
border-right: 0px; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-guttermarker {
|
||||||
|
color: white; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-guttermarker-subtle {
|
||||||
|
color: #d0d0d0; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-linenumber {
|
||||||
|
color: #d0d0d0; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-cursor {
|
||||||
|
border-left: 1px solid #f8f8f0; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-comment {
|
||||||
|
color: #75715e; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-atom {
|
||||||
|
color: #ae81ff; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-number {
|
||||||
|
color: #ae81ff; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-comment.cm-attribute {
|
||||||
|
color: #97b757; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-comment.cm-def {
|
||||||
|
color: #bc9262; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-comment.cm-tag {
|
||||||
|
color: #bc6283; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-comment.cm-type {
|
||||||
|
color: #5998a6; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {
|
||||||
|
color: #a6e22e; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-keyword {
|
||||||
|
color: #f92672; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-builtin {
|
||||||
|
color: #66d9ef; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-string {
|
||||||
|
color: #e6db74; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-variable {
|
||||||
|
color: #f8f8f2; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-variable-2 {
|
||||||
|
color: #9effff; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-variable-3, .cm-s-monokai span.cm-type {
|
||||||
|
color: #66d9ef; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-def {
|
||||||
|
color: #fd971f; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-bracket {
|
||||||
|
color: #f8f8f2; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-tag {
|
||||||
|
color: #f92672; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-header {
|
||||||
|
color: #ae81ff; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-link {
|
||||||
|
color: #ae81ff; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-error {
|
||||||
|
background: #f92672;
|
||||||
|
color: #f8f8f0; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-activeline-background {
|
||||||
|
background: #373831; }
|
||||||
|
|
||||||
|
.cm-s-monokai .CodeMirror-matchingbracket {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: white !important; }
|
||||||
|
|
||||||
923
.next/static/css/styles.e4072c36.chunk.css
Normal file
923
.next/static/css/styles.e4072c36.chunk.css
Normal file
@@ -0,0 +1,923 @@
|
|||||||
|
*,
|
||||||
|
*:after,
|
||||||
|
*:before {
|
||||||
|
box-sizing: inherit; }
|
||||||
|
|
||||||
|
html {
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-size: 62.5%; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
color: #606c76;
|
||||||
|
font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
|
||||||
|
font-size: 1.6em;
|
||||||
|
font-weight: 300;
|
||||||
|
letter-spacing: .01em;
|
||||||
|
line-height: 1.6; }
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
border-left: 0.3rem solid #d1d1d1;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
padding: 1rem 1.5rem; }
|
||||||
|
blockquote *:last-child {
|
||||||
|
margin-bottom: 0; }
|
||||||
|
|
||||||
|
.button,
|
||||||
|
button,
|
||||||
|
input[type='button'],
|
||||||
|
input[type='reset'],
|
||||||
|
input[type='submit'] {
|
||||||
|
background-color: #9b4dca;
|
||||||
|
border: 0.1rem solid #9b4dca;
|
||||||
|
border-radius: .4rem;
|
||||||
|
color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-weight: 700;
|
||||||
|
height: 3.8rem;
|
||||||
|
letter-spacing: .1rem;
|
||||||
|
line-height: 3.8rem;
|
||||||
|
padding: 0 3.0rem;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
white-space: nowrap; }
|
||||||
|
.button:focus, .button:hover,
|
||||||
|
button:focus,
|
||||||
|
button:hover,
|
||||||
|
input[type='button']:focus,
|
||||||
|
input[type='button']:hover,
|
||||||
|
input[type='reset']:focus,
|
||||||
|
input[type='reset']:hover,
|
||||||
|
input[type='submit']:focus,
|
||||||
|
input[type='submit']:hover {
|
||||||
|
background-color: #606c76;
|
||||||
|
border-color: #606c76;
|
||||||
|
color: #fff;
|
||||||
|
outline: 0; }
|
||||||
|
.button[disabled],
|
||||||
|
button[disabled],
|
||||||
|
input[type='button'][disabled],
|
||||||
|
input[type='reset'][disabled],
|
||||||
|
input[type='submit'][disabled] {
|
||||||
|
cursor: default;
|
||||||
|
opacity: .5; }
|
||||||
|
.button[disabled]:focus, .button[disabled]:hover,
|
||||||
|
button[disabled]:focus,
|
||||||
|
button[disabled]:hover,
|
||||||
|
input[type='button'][disabled]:focus,
|
||||||
|
input[type='button'][disabled]:hover,
|
||||||
|
input[type='reset'][disabled]:focus,
|
||||||
|
input[type='reset'][disabled]:hover,
|
||||||
|
input[type='submit'][disabled]:focus,
|
||||||
|
input[type='submit'][disabled]:hover {
|
||||||
|
background-color: #9b4dca;
|
||||||
|
border-color: #9b4dca; }
|
||||||
|
.button.button-outline,
|
||||||
|
button.button-outline,
|
||||||
|
input[type='button'].button-outline,
|
||||||
|
input[type='reset'].button-outline,
|
||||||
|
input[type='submit'].button-outline {
|
||||||
|
background-color: transparent;
|
||||||
|
color: #9b4dca; }
|
||||||
|
.button.button-outline:focus, .button.button-outline:hover,
|
||||||
|
button.button-outline:focus,
|
||||||
|
button.button-outline:hover,
|
||||||
|
input[type='button'].button-outline:focus,
|
||||||
|
input[type='button'].button-outline:hover,
|
||||||
|
input[type='reset'].button-outline:focus,
|
||||||
|
input[type='reset'].button-outline:hover,
|
||||||
|
input[type='submit'].button-outline:focus,
|
||||||
|
input[type='submit'].button-outline:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: #606c76;
|
||||||
|
color: #606c76; }
|
||||||
|
.button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
|
||||||
|
button.button-outline[disabled]:focus,
|
||||||
|
button.button-outline[disabled]:hover,
|
||||||
|
input[type='button'].button-outline[disabled]:focus,
|
||||||
|
input[type='button'].button-outline[disabled]:hover,
|
||||||
|
input[type='reset'].button-outline[disabled]:focus,
|
||||||
|
input[type='reset'].button-outline[disabled]:hover,
|
||||||
|
input[type='submit'].button-outline[disabled]:focus,
|
||||||
|
input[type='submit'].button-outline[disabled]:hover {
|
||||||
|
border-color: inherit;
|
||||||
|
color: #9b4dca; }
|
||||||
|
.button.button-clear,
|
||||||
|
button.button-clear,
|
||||||
|
input[type='button'].button-clear,
|
||||||
|
input[type='reset'].button-clear,
|
||||||
|
input[type='submit'].button-clear {
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: transparent;
|
||||||
|
color: #9b4dca; }
|
||||||
|
.button.button-clear:focus, .button.button-clear:hover,
|
||||||
|
button.button-clear:focus,
|
||||||
|
button.button-clear:hover,
|
||||||
|
input[type='button'].button-clear:focus,
|
||||||
|
input[type='button'].button-clear:hover,
|
||||||
|
input[type='reset'].button-clear:focus,
|
||||||
|
input[type='reset'].button-clear:hover,
|
||||||
|
input[type='submit'].button-clear:focus,
|
||||||
|
input[type='submit'].button-clear:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
border-color: transparent;
|
||||||
|
color: #606c76; }
|
||||||
|
.button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
|
||||||
|
button.button-clear[disabled]:focus,
|
||||||
|
button.button-clear[disabled]:hover,
|
||||||
|
input[type='button'].button-clear[disabled]:focus,
|
||||||
|
input[type='button'].button-clear[disabled]:hover,
|
||||||
|
input[type='reset'].button-clear[disabled]:focus,
|
||||||
|
input[type='reset'].button-clear[disabled]:hover,
|
||||||
|
input[type='submit'].button-clear[disabled]:focus,
|
||||||
|
input[type='submit'].button-clear[disabled]:hover {
|
||||||
|
color: #9b4dca; }
|
||||||
|
|
||||||
|
code {
|
||||||
|
background: #f4f5f6;
|
||||||
|
border-radius: .4rem;
|
||||||
|
font-size: 86%;
|
||||||
|
margin: 0 .2rem;
|
||||||
|
padding: .2rem .5rem;
|
||||||
|
white-space: nowrap; }
|
||||||
|
|
||||||
|
pre {
|
||||||
|
background: #f4f5f6;
|
||||||
|
border-left: 0.3rem solid #9b4dca;
|
||||||
|
overflow-y: hidden; }
|
||||||
|
pre > code {
|
||||||
|
border-radius: 0;
|
||||||
|
display: block;
|
||||||
|
padding: 1rem 1.5rem;
|
||||||
|
white-space: pre; }
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: 0;
|
||||||
|
border-top: 0.1rem solid #f4f5f6;
|
||||||
|
margin: 3.0rem 0; }
|
||||||
|
|
||||||
|
input[type='email'],
|
||||||
|
input[type='number'],
|
||||||
|
input[type='password'],
|
||||||
|
input[type='search'],
|
||||||
|
input[type='tel'],
|
||||||
|
input[type='text'],
|
||||||
|
input[type='url'],
|
||||||
|
textarea,
|
||||||
|
select {
|
||||||
|
appearance: none;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 0.1rem solid #d1d1d1;
|
||||||
|
border-radius: .4rem;
|
||||||
|
box-shadow: none;
|
||||||
|
box-sizing: inherit;
|
||||||
|
height: 3.8rem;
|
||||||
|
padding: .6rem 1.0rem;
|
||||||
|
width: 100%; }
|
||||||
|
input[type='email']:focus,
|
||||||
|
input[type='number']:focus,
|
||||||
|
input[type='password']:focus,
|
||||||
|
input[type='search']:focus,
|
||||||
|
input[type='tel']:focus,
|
||||||
|
input[type='text']:focus,
|
||||||
|
input[type='url']:focus,
|
||||||
|
textarea:focus,
|
||||||
|
select:focus {
|
||||||
|
border-color: #9b4dca;
|
||||||
|
outline: 0; }
|
||||||
|
|
||||||
|
select {
|
||||||
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>') center right no-repeat;
|
||||||
|
padding-right: 3.0rem; }
|
||||||
|
select:focus {
|
||||||
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="#9b4dca" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>'); }
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
min-height: 6.5rem; }
|
||||||
|
|
||||||
|
label,
|
||||||
|
legend {
|
||||||
|
display: block;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-bottom: .5rem; }
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
border-width: 0;
|
||||||
|
padding: 0; }
|
||||||
|
|
||||||
|
input[type='checkbox'],
|
||||||
|
input[type='radio'] {
|
||||||
|
display: inline; }
|
||||||
|
|
||||||
|
.label-inline {
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: normal;
|
||||||
|
margin-left: .5rem; }
|
||||||
|
|
||||||
|
.container {
|
||||||
|
margin: 0 auto;
|
||||||
|
max-width: 112.0rem;
|
||||||
|
padding: 0 2.0rem;
|
||||||
|
position: relative;
|
||||||
|
width: 100%; }
|
||||||
|
|
||||||
|
.row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 0;
|
||||||
|
width: 100%; }
|
||||||
|
.row.row-no-padding {
|
||||||
|
padding: 0; }
|
||||||
|
.row.row-no-padding > .column {
|
||||||
|
padding: 0; }
|
||||||
|
.row.row-wrap {
|
||||||
|
flex-wrap: wrap; }
|
||||||
|
.row.row-top {
|
||||||
|
align-items: flex-start; }
|
||||||
|
.row.row-bottom {
|
||||||
|
align-items: flex-end; }
|
||||||
|
.row.row-center {
|
||||||
|
align-items: center; }
|
||||||
|
.row.row-stretch {
|
||||||
|
align-items: stretch; }
|
||||||
|
.row.row-baseline {
|
||||||
|
align-items: baseline; }
|
||||||
|
.row .column {
|
||||||
|
display: block;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
margin-left: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
width: 100%; }
|
||||||
|
.row .column.column-offset-10 {
|
||||||
|
margin-left: 10%; }
|
||||||
|
.row .column.column-offset-20 {
|
||||||
|
margin-left: 20%; }
|
||||||
|
.row .column.column-offset-25 {
|
||||||
|
margin-left: 25%; }
|
||||||
|
.row .column.column-offset-33, .row .column.column-offset-34 {
|
||||||
|
margin-left: 33.3333%; }
|
||||||
|
.row .column.column-offset-50 {
|
||||||
|
margin-left: 50%; }
|
||||||
|
.row .column.column-offset-66, .row .column.column-offset-67 {
|
||||||
|
margin-left: 66.6666%; }
|
||||||
|
.row .column.column-offset-75 {
|
||||||
|
margin-left: 75%; }
|
||||||
|
.row .column.column-offset-80 {
|
||||||
|
margin-left: 80%; }
|
||||||
|
.row .column.column-offset-90 {
|
||||||
|
margin-left: 90%; }
|
||||||
|
.row .column.column-10 {
|
||||||
|
flex: 0 0 10%;
|
||||||
|
max-width: 10%; }
|
||||||
|
.row .column.column-20 {
|
||||||
|
flex: 0 0 20%;
|
||||||
|
max-width: 20%; }
|
||||||
|
.row .column.column-25 {
|
||||||
|
flex: 0 0 25%;
|
||||||
|
max-width: 25%; }
|
||||||
|
.row .column.column-33, .row .column.column-34 {
|
||||||
|
flex: 0 0 33.3333%;
|
||||||
|
max-width: 33.3333%; }
|
||||||
|
.row .column.column-40 {
|
||||||
|
flex: 0 0 40%;
|
||||||
|
max-width: 40%; }
|
||||||
|
.row .column.column-50 {
|
||||||
|
flex: 0 0 50%;
|
||||||
|
max-width: 50%; }
|
||||||
|
.row .column.column-60 {
|
||||||
|
flex: 0 0 60%;
|
||||||
|
max-width: 60%; }
|
||||||
|
.row .column.column-66, .row .column.column-67 {
|
||||||
|
flex: 0 0 66.6666%;
|
||||||
|
max-width: 66.6666%; }
|
||||||
|
.row .column.column-75 {
|
||||||
|
flex: 0 0 75%;
|
||||||
|
max-width: 75%; }
|
||||||
|
.row .column.column-80 {
|
||||||
|
flex: 0 0 80%;
|
||||||
|
max-width: 80%; }
|
||||||
|
.row .column.column-90 {
|
||||||
|
flex: 0 0 90%;
|
||||||
|
max-width: 90%; }
|
||||||
|
.row .column .column-top {
|
||||||
|
align-self: flex-start; }
|
||||||
|
.row .column .column-bottom {
|
||||||
|
align-self: flex-end; }
|
||||||
|
.row .column .column-center {
|
||||||
|
align-self: center; }
|
||||||
|
|
||||||
|
@media (min-width: 40rem) {
|
||||||
|
.row {
|
||||||
|
flex-direction: row;
|
||||||
|
margin-left: -1.0rem;
|
||||||
|
width: calc(100% + 2.0rem); }
|
||||||
|
.row .column {
|
||||||
|
margin-bottom: inherit;
|
||||||
|
padding: 0 1.0rem; } }
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #9b4dca;
|
||||||
|
text-decoration: none; }
|
||||||
|
a:focus, a:hover {
|
||||||
|
color: #606c76; }
|
||||||
|
|
||||||
|
dl,
|
||||||
|
ol,
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
margin-top: 0;
|
||||||
|
padding-left: 0; }
|
||||||
|
dl dl,
|
||||||
|
dl ol,
|
||||||
|
dl ul,
|
||||||
|
ol dl,
|
||||||
|
ol ol,
|
||||||
|
ol ul,
|
||||||
|
ul dl,
|
||||||
|
ul ol,
|
||||||
|
ul ul {
|
||||||
|
font-size: 90%;
|
||||||
|
margin: 1.5rem 0 1.5rem 3.0rem; }
|
||||||
|
|
||||||
|
ol {
|
||||||
|
list-style: decimal inside; }
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: circle inside; }
|
||||||
|
|
||||||
|
.button,
|
||||||
|
button,
|
||||||
|
dd,
|
||||||
|
dt,
|
||||||
|
li {
|
||||||
|
margin-bottom: 1.0rem; }
|
||||||
|
|
||||||
|
fieldset,
|
||||||
|
input,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
margin-bottom: 1.5rem; }
|
||||||
|
|
||||||
|
blockquote,
|
||||||
|
dl,
|
||||||
|
figure,
|
||||||
|
form,
|
||||||
|
ol,
|
||||||
|
p,
|
||||||
|
pre,
|
||||||
|
table,
|
||||||
|
ul {
|
||||||
|
margin-bottom: 2.5rem; }
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-spacing: 0;
|
||||||
|
width: 100%; }
|
||||||
|
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
border-bottom: 0.1rem solid #e1e1e1;
|
||||||
|
padding: 1.2rem 1.5rem;
|
||||||
|
text-align: left; }
|
||||||
|
td:first-child,
|
||||||
|
th:first-child {
|
||||||
|
padding-left: 0; }
|
||||||
|
td:last-child,
|
||||||
|
th:last-child {
|
||||||
|
padding-right: 0; }
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0; }
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
font-weight: 300;
|
||||||
|
letter-spacing: -.1rem;
|
||||||
|
margin-bottom: 2.0rem;
|
||||||
|
margin-top: 0; }
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 4.6rem;
|
||||||
|
line-height: 1.2; }
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 3.6rem;
|
||||||
|
line-height: 1.25; }
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 2.8rem;
|
||||||
|
line-height: 1.3; }
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 2.2rem;
|
||||||
|
letter-spacing: -.08rem;
|
||||||
|
line-height: 1.35; }
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
letter-spacing: -.05rem;
|
||||||
|
line-height: 1.5; }
|
||||||
|
|
||||||
|
h6 {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
letter-spacing: 0;
|
||||||
|
line-height: 1.4; }
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%; }
|
||||||
|
|
||||||
|
.clearfix:after {
|
||||||
|
clear: both;
|
||||||
|
content: ' ';
|
||||||
|
display: table; }
|
||||||
|
|
||||||
|
.float-left {
|
||||||
|
float: left; }
|
||||||
|
|
||||||
|
.float-right {
|
||||||
|
float: right; }
|
||||||
|
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc3CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
|
||||||
|
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc-CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
|
||||||
|
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc2CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+1F00-1FFF; }
|
||||||
|
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc5CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0370-03FF; }
|
||||||
|
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc1CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; }
|
||||||
|
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc0CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
|
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light Italic"), local("Roboto-LightItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc6CsTYl4BO.woff2) format("woff2");
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic3CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
|
||||||
|
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic-CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
|
||||||
|
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic2CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+1F00-1FFF; }
|
||||||
|
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic5CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0370-03FF; }
|
||||||
|
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic1CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; }
|
||||||
|
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic0CsTYl4BOQ3o.woff2) format("woff2");
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
|
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold Italic"), local("Roboto-BoldItalic"), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TzBic6CsTYl4BO.woff2) format("woff2");
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fCRc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
|
||||||
|
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fABc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
|
||||||
|
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fCBc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+1F00-1FFF; }
|
||||||
|
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBxc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0370-03FF; }
|
||||||
|
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fCxc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; }
|
||||||
|
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fChc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
|
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 300;
|
||||||
|
src: local("Roboto Light"), local("Roboto-Light"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2) format("woff2");
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
|
||||||
|
/* cyrillic-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfCRc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
|
||||||
|
|
||||||
|
/* cyrillic */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfABc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
|
||||||
|
|
||||||
|
/* greek-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfCBc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+1F00-1FFF; }
|
||||||
|
|
||||||
|
/* greek */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBxc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0370-03FF; }
|
||||||
|
|
||||||
|
/* vietnamese */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfCxc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; }
|
||||||
|
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfChc4AMP6lbBP.woff2) format("woff2");
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
|
||||||
|
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap;
|
||||||
|
font-family: 'Roboto';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local("Roboto Bold"), local("Roboto-Bold"), url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc4AMP6lQ.woff2) format("woff2");
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
text-align: center;
|
||||||
|
padding: 10px 10px 15px;
|
||||||
|
background: #2c2f33; }
|
||||||
|
.footer p {
|
||||||
|
margin-bottom: 0; }
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
background: #2c2f33;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
height: 55px; }
|
||||||
|
.navbar .navbar-brand {
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: auto; }
|
||||||
|
.navbar .navbar-brand h3 {
|
||||||
|
margin-bottom: 0; }
|
||||||
|
.navbar .navbar-burger {
|
||||||
|
display: none;
|
||||||
|
width: 32px;
|
||||||
|
margin-right: 10px; }
|
||||||
|
.navbar .navbar-burger.active div:nth-child(1) {
|
||||||
|
transform-origin: center;
|
||||||
|
transform: translateY(8px) rotate(45deg); }
|
||||||
|
.navbar .navbar-burger.active div:nth-child(2) {
|
||||||
|
opacity: 0; }
|
||||||
|
.navbar .navbar-burger.active div:nth-child(3) {
|
||||||
|
transform-origin: left -6px;
|
||||||
|
transform: translateY(8px) rotate(-45deg); }
|
||||||
|
.navbar .navbar-burger div {
|
||||||
|
transition: all ease-in-out 150ms;
|
||||||
|
width: 100%;
|
||||||
|
height: 2px;
|
||||||
|
margin: 5px 0;
|
||||||
|
border-radius: 1px;
|
||||||
|
background: #dcddde; }
|
||||||
|
.navbar .navbar-items {
|
||||||
|
display: inline-flex;
|
||||||
|
flex-direction: row; }
|
||||||
|
.navbar .navbar-items .active .item, .navbar .navbar-items .item:hover {
|
||||||
|
background: #202225; }
|
||||||
|
.navbar .navbar-items .item {
|
||||||
|
margin: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 15px 20px; }
|
||||||
|
|
||||||
|
@media screen and (max-width: 840px) {
|
||||||
|
.navbar .navbar-burger {
|
||||||
|
display: inline-block; }
|
||||||
|
.navbar .navbar-items {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
position: fixed;
|
||||||
|
top: 55px;
|
||||||
|
left: 0;
|
||||||
|
z-index: 5;
|
||||||
|
background: #2c2f33;
|
||||||
|
width: 100%;
|
||||||
|
transform: scaleY(0);
|
||||||
|
transform-origin: top;
|
||||||
|
transition: all ease-in-out 125ms; }
|
||||||
|
.navbar .navbar-items.active {
|
||||||
|
transform: scaleY(1);
|
||||||
|
overflow: auto; }
|
||||||
|
.navbar .navbar-items .item {
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
padding: 5px 0; } }
|
||||||
|
|
||||||
|
.spinner {
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
|
border-radius: 100%;
|
||||||
|
border: 2px solid #dcddde;
|
||||||
|
border-right: none;
|
||||||
|
border-bottom: none;
|
||||||
|
animation: spinner 500ms linear infinite; }
|
||||||
|
|
||||||
|
@keyframes spinner {
|
||||||
|
from {
|
||||||
|
transform: rotate(0deg); }
|
||||||
|
to {
|
||||||
|
transform: rotate(360deg); } }
|
||||||
|
|
||||||
|
.paginate {
|
||||||
|
list-style: none;
|
||||||
|
text-align: center;
|
||||||
|
user-select: none;
|
||||||
|
margin: 0; }
|
||||||
|
.paginate li {
|
||||||
|
display: inline-block; }
|
||||||
|
.paginate li.active a {
|
||||||
|
border-color: #00d1b2; }
|
||||||
|
.paginate li a {
|
||||||
|
outline: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 1px solid;
|
||||||
|
border-color: transparent;
|
||||||
|
padding: 3px 8px; }
|
||||||
|
|
||||||
|
body, code, pre {
|
||||||
|
background: #202225;
|
||||||
|
color: #dcddde;
|
||||||
|
margin: 0; }
|
||||||
|
|
||||||
|
pre, code {
|
||||||
|
font-size: 1.5rem; }
|
||||||
|
|
||||||
|
input, textarea, select, button,
|
||||||
|
.button, .cm-s-monokai.CodeMirror {
|
||||||
|
color: #dcddde;
|
||||||
|
border: none !important;
|
||||||
|
border-radius: .4rem;
|
||||||
|
background-color: #2c2f33 !important; }
|
||||||
|
|
||||||
|
button[disabled], button.disabled {
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
|
input, textarea {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-family: "Roboto", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
||||||
|
font-weight: 300;
|
||||||
|
resize: none; }
|
||||||
|
input[disabled], textarea[disabled] {
|
||||||
|
opacity: 0.8;
|
||||||
|
cursor: not-allowed; }
|
||||||
|
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
|
||||||
|
opacity: 0.85;
|
||||||
|
color: #dcddde; }
|
||||||
|
input::-moz-placeholder, textarea::-moz-placeholder {
|
||||||
|
opacity: 0.85;
|
||||||
|
color: #dcddde; }
|
||||||
|
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
|
||||||
|
opacity: 0.85;
|
||||||
|
color: #dcddde; }
|
||||||
|
input:-moz-placeholder, textarea:-moz-placeholder {
|
||||||
|
opacity: 0.85;
|
||||||
|
color: #dcddde; }
|
||||||
|
input::placeholder, textarea::placeholder {
|
||||||
|
opacity: 0.85;
|
||||||
|
color: #dcddde; }
|
||||||
|
|
||||||
|
select {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
text-overflow: '';
|
||||||
|
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="%23d1d1d1" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>') center right no-repeat; }
|
||||||
|
select:focus {
|
||||||
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" viewBox="0 0 29 14" width="29"><path fill="%239b4dca" d="M9.37727 3.625l5.08154 6.93523L19.54036 3.625"/></svg>'); }
|
||||||
|
|
||||||
|
.button.disabled {
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #00d1b2;
|
||||||
|
cursor: pointer; }
|
||||||
|
a:visited, a:focus {
|
||||||
|
color: #00d1b2; }
|
||||||
|
a:hover {
|
||||||
|
color: #009e87; }
|
||||||
|
|
||||||
|
.danger {
|
||||||
|
color: #d44848; }
|
||||||
|
|
||||||
|
.noMargin {
|
||||||
|
margin: 0 !important; }
|
||||||
|
|
||||||
|
.float-right {
|
||||||
|
margin-left: auto; }
|
||||||
|
|
||||||
|
.float-left {
|
||||||
|
margin-right: auto; }
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; }
|
||||||
|
|
||||||
|
.CodeMirror {
|
||||||
|
width: 100%; }
|
||||||
|
|
||||||
|
.cm-s-monokai span.cm-comment {
|
||||||
|
color: #ccc9ba; }
|
||||||
|
|
||||||
|
.content {
|
||||||
|
min-height: calc(100vh - 55px - 50px);
|
||||||
|
padding: 10px; }
|
||||||
|
.content p, .content pre {
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.v-center {
|
||||||
|
min-height: calc(100vh - 55px - 50px - 20px);
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center; }
|
||||||
|
|
||||||
|
.nomob {
|
||||||
|
display: none !important; }
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
display: inline-flex !important;
|
||||||
|
align-items: middle; }
|
||||||
|
.inline select, .inline input {
|
||||||
|
width: auto;
|
||||||
|
height: 28px;
|
||||||
|
flex-grow: 1;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding: 6px;
|
||||||
|
border: none; }
|
||||||
|
|
||||||
|
.Markdown pre {
|
||||||
|
margin-bottom: 2.5rem; }
|
||||||
|
|
||||||
|
@media screen and (max-width: 639px) {
|
||||||
|
.row .column.column-50 {
|
||||||
|
max-width: 100%; } }
|
||||||
|
|
||||||
|
@media screen and (min-width: 640px) {
|
||||||
|
.nomob {
|
||||||
|
display: block !important; } }
|
||||||
|
|
||||||
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/_app.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/_app.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/_error.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/_error.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/edit.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/index.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/k.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/new.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js
Normal file
1
.next/static/lIlrIl8Q~DS1M0c3OvDaq/pages/settings.js
Normal file
File diff suppressed because one or more lines are too long
9
.next/static/runtime/main-90d05adf631f91fa8cca.js
Normal file
9
.next/static/runtime/main-90d05adf631f91fa8cca.js
Normal file
File diff suppressed because one or more lines are too long
1
.next/static/runtime/webpack-fe16071eecbc94b71bd0.js
Normal file
1
.next/static/runtime/webpack-fe16071eecbc94b71bd0.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
!function(e){function t(t){for(var n,i,a=t[0],l=t[1],c=t[2],p=0,s=[];p<a.length;p++)i=a[p],o[i]&&s.push(o[i][0]),o[i]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(f&&f(t);s.length;)s.shift()();return u.push.apply(u,c||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var l=r[a];0!==o[l]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}},o=!0;try{e[t].call(r.exports,r,r.exports,i),o=!1}finally{o&&delete n[t]}return r.l=!0,r.exports}i.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=n);var u,a=document.getElementsByTagName("head")[0],l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+"static/chunks/"+({}[e]||e)+"."+{10:"92205884f2772342b0b5",11:"7a232aeb103ef6f4d6d4"}[e]+".js"}(e),u=function(t){l.onerror=l.onload=null,clearTimeout(c);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src,i=new Error("Loading chunk "+e+" failed.\n("+n+": "+u+")");i.type=n,i.request=u,r[1](i)}o[e]=void 0}};var c=setTimeout(function(){u({type:"timeout",target:l})},12e4);l.onerror=l.onload=u,a.appendChild(l)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],l=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var f=l;r()}([]);
|
||||||
File diff suppressed because one or more lines are too long
27
Dockerfile
Normal file
27
Dockerfile
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
FROM node:8-alpine
|
||||||
|
|
||||||
|
RUN apk add yarn git bash
|
||||||
|
RUN mkdir -p /opt/mykb
|
||||||
|
|
||||||
|
# install node_modules to tmp so it can be cached
|
||||||
|
RUN mkdir -p /tmp/mykb
|
||||||
|
COPY package.json /tmp/mykb
|
||||||
|
RUN cd /tmp/mykb && yarn
|
||||||
|
RUN mv /tmp/mykb/node_modules /opt/mykb/
|
||||||
|
|
||||||
|
COPY . /opt/mykb
|
||||||
|
RUN cd /opt/mykb && yarn build
|
||||||
|
|
||||||
|
COPY docker_startup.sh /mykb
|
||||||
|
RUN chmod +x /mykb
|
||||||
|
|
||||||
|
VOLUME /kb
|
||||||
|
VOLUME /db
|
||||||
|
VOLUME /config
|
||||||
|
|
||||||
|
EXPOSE 3030
|
||||||
|
|
||||||
|
ARG GIT_NAME=mykb
|
||||||
|
ARG GIT_EMAIL=mykb@localhost
|
||||||
|
|
||||||
|
CMD [ "/mykb" ]
|
||||||
@@ -27,20 +27,34 @@ export default ComposedComponent => {
|
|||||||
id: null,
|
id: null,
|
||||||
doc: {},
|
doc: {},
|
||||||
}
|
}
|
||||||
|
|
||||||
static async getInitialProps({ query, req }) {
|
static async getInitialProps({ query, req }) {
|
||||||
return await getDoc(query.id, req)
|
return await getDoc(query.id, req)
|
||||||
}
|
}
|
||||||
static getDerivedStateFromProps(nextProps, state) {
|
|
||||||
|
static getDerivedStateFromProps(nextProps, prevState) {
|
||||||
const { found, id, doc } = nextProps
|
const { found, id, doc } = nextProps
|
||||||
if (state.found !== found) return { found, id, doc }
|
if (prevState.found !== found && !prevState.didInit) {
|
||||||
|
return { found, id, doc, didInit: true }
|
||||||
|
}
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
async componentDidUpdate(prevProps) {
|
|
||||||
|
updateDoc = async id => {
|
||||||
|
this.setState(await getDoc(id))
|
||||||
|
}
|
||||||
|
|
||||||
|
componentDidMount() {
|
||||||
|
this.updateDoc(this.props.id)
|
||||||
|
}
|
||||||
|
|
||||||
|
componentDidUpdate(prevProps) {
|
||||||
const { user, found, id } = this.props
|
const { user, found, id } = this.props
|
||||||
if (prevProps.user.email === user.email || found) return
|
if (prevProps.user.email === user.email || found) return
|
||||||
if (!user.email) return
|
if (!user.email) return
|
||||||
this.setState(await getDoc(id))
|
this.updateDoc(id)
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return <ComposedComponent {...this.state} />
|
return <ComposedComponent {...this.state} />
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,10 +26,13 @@ const initState = {
|
|||||||
pending: false,
|
pending: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class MngDoc extends Component {
|
class MngDoc extends Component {
|
||||||
state = initState
|
state = initState
|
||||||
|
|
||||||
updVal = updStateFromId.bind(this)
|
updVal = updStateFromId.bind(this)
|
||||||
|
|
||||||
updMd = md => this.setState({ md })
|
updMd = md => this.setState({ md })
|
||||||
|
|
||||||
submit = async () => {
|
submit = async () => {
|
||||||
let { name, md, dir, editMode } = this.state
|
let { name, md, dir, editMode } = this.state
|
||||||
let data = {
|
let data = {
|
||||||
@@ -95,16 +98,20 @@ export default class MngDoc extends Component {
|
|||||||
}
|
}
|
||||||
doErr(data.message)
|
doErr(data.message)
|
||||||
}
|
}
|
||||||
|
|
||||||
static getDerivedStateFromProps(nextProps, prevState) {
|
static getDerivedStateFromProps(nextProps, prevState) {
|
||||||
const { doc } = nextProps
|
const { doc } = nextProps
|
||||||
if (doc) {
|
if (doc && !prevState.didInit) {
|
||||||
const { name, dir, md } = doc
|
const { name, dir, md } = doc
|
||||||
return { name, md, dir, editMode: true }
|
return { name, md, dir, editMode: true, didInit: true }
|
||||||
} else if (prevState.id) {
|
} else if (!prevState.didInit && prevState.id) {
|
||||||
return initState
|
return { ...initState, didInit: true }
|
||||||
|
} else if (!prevState.didInit) {
|
||||||
|
return { didInit: true }
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { md, dir, name, error, pending } = this.state
|
const { md, dir, name, error, pending } = this.state
|
||||||
const rowStyle = { paddingTop: 10 }
|
const rowStyle = { paddingTop: 10 }
|
||||||
@@ -168,3 +175,5 @@ export default class MngDoc extends Component {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default MngDoc
|
||||||
|
|||||||
@@ -11,13 +11,12 @@ const Page = ({ user, children }) => {
|
|||||||
<div>
|
<div>
|
||||||
<Header />
|
<Header />
|
||||||
<KeyShortcuts />
|
<KeyShortcuts />
|
||||||
{user.email ? (
|
{(() => {
|
||||||
<div className="container content">{children}</div>
|
if (user.email) {
|
||||||
) : user.setup ? (
|
return <div className="container content">{children}</div>
|
||||||
<Setup />
|
}
|
||||||
) : (
|
return user.setup ? <Setup /> : <Login {...{ user }} />
|
||||||
<Login {...{ user }} />
|
})()}
|
||||||
)}
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"max": 50
|
"max": 50
|
||||||
},
|
},
|
||||||
"authentication": {
|
"authentication": {
|
||||||
"secret": "3e1e7c92b1ba7fd917d8a8abfe42349982242d4673464b43f57f72cdf2c153ed0c1cff46299ee633009e0b7e9d9c60b1dc3fa05e0a5541be5f3659999498987bf1e76524535b60c13780dc0e12322593ddad755c833d8423d4641cf006866604a0f06c2acc7741289cdabf55e61fd164e02bfc26d0cd1031e40c695ba32a9a89fca000ee2cdb705f5d2e46fec98308e7db47a2ed95f51488c4b89cb549b495fc841f4b48f35c5ece9af31dfaf9befa4e25b746269becc93fa9a8484c55a93869afb5377d2a38b98a432a4bb4aef09fe89f2de1c1d73d4476d222958a3401ab3cfb5ad86f883c847806618e44c198ea4baec426d488cb6e323a89bfce896a86d6",
|
"secret": "",
|
||||||
"strategies": [
|
"strategies": [
|
||||||
"jwt",
|
"jwt",
|
||||||
"local"
|
"local"
|
||||||
|
|||||||
25
docker_startup.sh
Normal file
25
docker_startup.sh
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -d "/db" ];then
|
||||||
|
rm -rf /opt/mykb/db
|
||||||
|
ln -s /db /opt/mykb/db
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "/kb" ];then
|
||||||
|
rm -rf /opt/mykb/kb
|
||||||
|
ln -s /kb /opt/mykb/kb
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "/config" ];then
|
||||||
|
for i in /opt/mykb/config/*;do file=${i#/opt/mykb/config/}; if [ ! -f "/config/$file" ];then cp "$i" "/config/$file"; fi;done
|
||||||
|
rm -rf /opt/mykb/config
|
||||||
|
ln -s /config /opt/mykb/config
|
||||||
|
fi
|
||||||
|
|
||||||
|
git config --global user.email "$GIT_EMAIL"
|
||||||
|
git config --global user.name "$GIT_NAME"
|
||||||
|
|
||||||
|
cd /opt/mykb
|
||||||
|
echo $PWD
|
||||||
|
NODE_ENV=production node ./genSecret.js
|
||||||
|
yarn start
|
||||||
17
genSecret.js
17
genSecret.js
@@ -3,14 +3,19 @@ const fs = require('fs')
|
|||||||
const path = require('path')
|
const path = require('path')
|
||||||
const crypto = require('crypto')
|
const crypto = require('crypto')
|
||||||
const secret = crypto.randomBytes(256).toString('hex')
|
const secret = crypto.randomBytes(256).toString('hex')
|
||||||
const { NODE_ENV } = process.env
|
const isProd = process.env.NODE_ENV === 'production'
|
||||||
let confFile = 'default.json'
|
const confFile = (isProd ? 'production' : 'default') + '.json'
|
||||||
|
const config = require('./config/' + confFile)
|
||||||
|
const configPath = path.join(__dirname, 'config', confFile)
|
||||||
|
|
||||||
if (NODE_ENV && NODE_ENV.toLowerCase() === 'production') {
|
// if in production check if secret exists and -f switch is set
|
||||||
confFile = 'production.json'
|
if (isProd && config.authentication && config.authentication.secret) {
|
||||||
|
if (!process.argv.some(arg => arg === '-f')) {
|
||||||
|
return console.log(
|
||||||
|
'Secret already exists, not updating. Use -f to force update'
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
let config = require('./config/' + confFile)
|
|
||||||
let configPath = path.join(__dirname, 'config', confFile)
|
|
||||||
|
|
||||||
if (!config.authentication) {
|
if (!config.authentication) {
|
||||||
config.authentication = { secret }
|
config.authentication = { secret }
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
"start:dev": "node src/",
|
"start:dev": "node src/",
|
||||||
"start": "cross-env NODE_ENV=production node src/",
|
"start": "cross-env NODE_ENV=production node src/",
|
||||||
"test": "npm run lint && npm run build && npm run mocha",
|
"test": "npm run lint && npm run build && npm run mocha",
|
||||||
"postinstall": "node ./genSecret.js"
|
"postinstall": "node ./genSecret.js; exit 0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@feathersjs/authentication": "^2.1.5",
|
"@feathersjs/authentication": "^2.1.5",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"isomorphic-unfetch": "^2.0.0",
|
"isomorphic-unfetch": "^2.0.0",
|
||||||
"milligram": "^1.3.0",
|
"milligram": "^1.3.0",
|
||||||
"nedb": "^1.8.0",
|
"nedb": "^1.8.0",
|
||||||
"next": "^6.0.0",
|
"next": "^7.0.0",
|
||||||
"react": "^16.3.2",
|
"react": "^16.3.2",
|
||||||
"react-dom": "^16.3.2",
|
"react-dom": "^16.3.2",
|
||||||
"react-markdown": "^3.3.0",
|
"react-markdown": "^3.3.0",
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
"winston": "^2.4.1"
|
"winston": "^2.4.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@zeit/next-sass": "^0.2.0",
|
"@zeit/next-sass": "^1.0.1",
|
||||||
"babel-eslint": "^8.2.3",
|
"babel-eslint": "^8.2.3",
|
||||||
"eslint": "^4.19.1",
|
"eslint": "^4.19.1",
|
||||||
"eslint-plugin-react": "^7.8.2",
|
"eslint-plugin-react": "^7.8.2",
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ export default class MyDocument extends Document {
|
|||||||
/>
|
/>
|
||||||
<link rel="shortcut icon" href={favicon} type="image/x-icon" />
|
<link rel="shortcut icon" href={favicon} type="image/x-icon" />
|
||||||
<link rel="icon" href={favicon} type="image/x-icon" />
|
<link rel="icon" href={favicon} type="image/x-icon" />
|
||||||
<link rel="stylesheet" href={getUrl('/_next/static/style.css')} />
|
|
||||||
<title>My Knowledge Base</title>
|
<title>My Knowledge Base</title>
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
|
|||||||
@@ -40,11 +40,10 @@ class Index extends Component {
|
|||||||
static getDerivedStateFromProps(nextProps, prevState) {
|
static getDerivedStateFromProps(nextProps, prevState) {
|
||||||
let { docs, total, page, $search } = nextProps
|
let { docs, total, page, $search } = nextProps
|
||||||
if (
|
if (
|
||||||
docs.length !== prevState.docs.length ||
|
!prevState.didInit &&
|
||||||
page !== prevState.page ||
|
(page !== prevState.page || $search !== prevState.$search)
|
||||||
$search !== prevState.$search
|
|
||||||
) {
|
) {
|
||||||
return { total, docs, page, $search, pending: false }
|
return { total, docs, page, $search, pending: false, didInit: true }
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
@@ -92,6 +91,10 @@ class Index extends Component {
|
|||||||
this.updDocs(1)
|
this.updDocs(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
componentDidMount() {
|
||||||
|
this.updDocs(1)
|
||||||
|
}
|
||||||
|
|
||||||
componentDidUpdate(prevProps) {
|
componentDidUpdate(prevProps) {
|
||||||
const { user, docs } = this.props
|
const { user, docs } = this.props
|
||||||
if (prevProps.user.email === user.email) return
|
if (prevProps.user.email === user.email) return
|
||||||
@@ -152,7 +155,9 @@ class Index extends Component {
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{docs.map(doc => <DocItem {...doc} key={doc.id} />)}
|
{docs.map(doc => (
|
||||||
|
<DocItem {...doc} key={doc.id} />
|
||||||
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{pages < 2 ? null : (
|
{pages < 2 ? null : (
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ class k extends Component {
|
|||||||
window.alert(`Could not delete doc, ${del.message}`)
|
window.alert(`Could not delete doc, ${del.message}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { found, id, doc } = this.props
|
const { found, id, doc } = this.props
|
||||||
if (!found)
|
if (!found)
|
||||||
|
|||||||
@@ -10,16 +10,14 @@ module.exports = function() {
|
|||||||
return context => {
|
return context => {
|
||||||
// This debugs the service call and a stringified version of the hook context
|
// This debugs the service call and a stringified version of the hook context
|
||||||
// You can customize the mssage (and logger) to your needs
|
// You can customize the mssage (and logger) to your needs
|
||||||
logger.debug(
|
// logger.debug(
|
||||||
`${context.type} app.service('${context.path}').${context.method}()`
|
// `${context.type} app.service('${context.path}').${context.method}()`
|
||||||
)
|
// )
|
||||||
|
// if (typeof context.toJSON === 'function') {
|
||||||
if (typeof context.toJSON === 'function') {
|
// logger.debug('Hook Context', JSON.stringify(context, null, ' '))
|
||||||
logger.debug('Hook Context', JSON.stringify(context, null, ' '))
|
// }
|
||||||
}
|
// if (context.error) {
|
||||||
|
// logger.error(context.error)
|
||||||
if (context.error) {
|
// }
|
||||||
logger.error(context.error)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user