diff --git a/README.md b/README.md
index 4264d21..dc132ef 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ pip install -U rethink-note
## Usage
-Run with default settings:
+Quickly start the note web service with `rethink.run()`:
```python
import rethink
@@ -38,7 +38,7 @@ import rethink
rethink.run()
```
-Run with custom settings:
+If you need more custom running settings, you can use the parameters of `rethink.run()`:
```python
import rethink
@@ -50,3 +50,10 @@ rethink.run(
language="zh" # language, default is English, optional: zh, en
)
```
+
+All notes will be stored in the path specified by `path`,
+and the `.data` folder will be created in the current directory by default.
+If you want to create a data folder in another path, you can use the `path` parameter.
+
+English and Chinese languages are supported, and the default is English `en`.
+If you want to use Chinese `zh`, you can use `language="zh"` parameter.
diff --git a/README_ZH.md b/README_ZH.md
index 2e1e7ba..cd58f6c 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -31,7 +31,7 @@ pip install -U rethink-note
## 使用
-使用默认设置运行:
+使用 `rethink.run()` 方式,快速启动笔记 web 服务:
```python
import rethink
@@ -39,7 +39,7 @@ import rethink
rethink.run()
```
-使用自定义设置运行:
+如果需要更多自定义运行设置,可以使用 `rethink.run()` 的参数:
```python
import rethink
@@ -51,3 +51,8 @@ rethink.run(
language="zh" # 语言,默认为英语。可选值:zh, en
)
```
+
+所有笔记都会被存储在 `path` 路径下,默认会在当前目录下创建 `.data`
+文件夹。如果你想在其他路径创建数据文件夹,可以使用 `path` 参数。
+
+当前语言暂时只英语和中文,且默认为英文 `en`,如果你想使用中文 `zh`,可以使用 `language` 参数。
diff --git a/src/rethink/application.py b/src/rethink/application.py
index f471a97..f684541 100644
--- a/src/rethink/application.py
+++ b/src/rethink/application.py
@@ -75,9 +75,11 @@ async def startup_event():
@app.get("/", response_class=HTMLResponse)
-@app.get("/r", response_class=HTMLResponse)
-@app.get("/user", response_class=HTMLResponse)
@app.get("/login", response_class=HTMLResponse)
+@app.get("/about", response_class=HTMLResponse)
+@app.get("/r", response_class=HTMLResponse)
+@app.get("/r/{path}", response_class=HTMLResponse)
+@app.get("/n/{nid}", response_class=HTMLResponse)
async def index() -> HTMLResponse:
content = (const.FRONTEND_DIR / "index.html").read_text(encoding="utf-8")
content += f""
diff --git a/src/rethink/dist-local/css/app.8ff5ae65.css b/src/rethink/dist-local/css/app.20411bea.css
similarity index 66%
rename from src/rethink/dist-local/css/app.8ff5ae65.css
rename to src/rethink/dist-local/css/app.20411bea.css
index c116e5e..39d40cc 100644
--- a/src/rethink/dist-local/css/app.8ff5ae65.css
+++ b/src/rethink/dist-local/css/app.20411bea.css
@@ -20,7 +20,7 @@ body,
background: #f6f6f6;
}
.selected-node {
- background: #eeeded;
+ background: #f6f6f6;
}
.bold-font {
font-weight: bold;
@@ -60,7 +60,7 @@ body,
gap: 10px;
cursor: pointer;
max-width: 80px;
- padding: 5px 10px;
+ padding: 5px 0;
border-radius: 4px;
}
.go-back:hover {
@@ -651,6 +651,8 @@ h1[data-v-73578860] {
.left-side-item-text[data-v-3dc47c63] {
font-size: 1em;
color: #5d5c5c;
+ overflow-x: hidden;
+ white-space: nowrap;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
@@ -686,103 +688,2244 @@ h1[data-v-73578860] {
.user-img[data-v-85dbde90]:hover {
opacity: 0.5;
}
-.user-menu[data-v-85dbde90] {
- position: absolute;
- top: 0.5em;
- left: 0.5em;
- width: 200px;
- background-color: white;
- border-radius: 5px;
- box-shadow: 0 0 5px #ccc;
- z-index: 1;
+.user-menu[data-v-85dbde90] {
+ position: absolute;
+ top: 0.5em;
+ left: 0.5em;
+ width: 200px;
+ background-color: white;
+ border-radius: 5px;
+ box-shadow: 0 0 5px #ccc;
+ z-index: 1;
+}
+.user-info[data-v-85dbde90] {
+ display: flex;
+ align-items: center;
+ padding: 10px;
+ border-bottom: 1px solid #e7e5e5;
+ height: 3em;
+}
+.user-info-img[data-v-85dbde90] {
+ height: 100%;
+ border-radius: 50%;
+}
+.user-info-nickname[data-v-85dbde90] {
+ margin-left: 5px;
+ font-size: 1em;
+ font-weight: 400;
+}
+.menu-item[data-v-85dbde90] {
+ padding: 10px;
+ border-bottom: 1px solid #e7e5e5;
+ cursor: pointer;
+}
+.menu-item-text[data-v-85dbde90] {
+ font-size: 0.9em;
+ color: #5d5c5c;
+}
+
+
+/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/nav/left/AppLeftNavSM.vue?vue&type=style&index=0&id=573bae43&scoped=true&lang=css ***!
+ \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+
+.left-side[data-v-573bae43] {
+ height: 100%;
+ background-color: #F8F8FA;
+ transition: transform 0.5s ease;
+ position: fixed;
+ top: 0;
+ box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
+ z-index: 4;
+}
+.no-collapsed[data-v-573bae43] {
+ width: 200px;
+ transform: translateX(0);
+}
+.collapsed[data-v-573bae43] {
+ transform: translateX(-100%);
+}
+.no-collapsed-header-bar[data-v-573bae43] {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin: 15px 10px 10px 15px;
+}
+.collapsed-header-bar[data-v-573bae43] {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 15px auto;
+}
+
+/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/nav/left/AppLeftNavNonSM.vue?vue&type=style&index=0&id=4c3820ee&scoped=true&lang=css ***!
+ \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+
+.left-side[data-v-4c3820ee] {
+ height: 100%;
+ background-color: #F8F8FA;
+ transition: width 0.5s ease;
+ flex-shrink: 0;
+}
+.no-collapsed[data-v-4c3820ee] {
+ width: 200px;
+}
+.collapsed[data-v-4c3820ee] {
+ width: 50px;
+}
+.no-collapsed-header-bar[data-v-4c3820ee] {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin: 15px 10px 10px 15px;
+}
+
+.collapsed-header-bar[data-v-4c3820ee] {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 15px auto;
+}
+
+/*!********************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./src/assets/css/vditor/vditor.css ***!
+ \********************************************************************************************************************************************************************************/
+/*!
+ * Vditor v3.9.4 - A markdown editor written in TypeScript.
+ *
+ * MIT License
+ *
+ * Copyright (c) 2018-present B3log 开源, b3log.org
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ *
+ */
+.vditor {
+ --border-color: #d1d5da;
+ --second-color: rgba(88, 96, 105, 0.36);
+ --panel-background-color: #fff;
+ --panel-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
+ --toolbar-background-color: #f6f8fa;
+ --toolbar-icon-color: #586069;
+ --toolbar-icon-hover-color: #4285f4;
+ --toolbar-height: 35px;
+ --toolbar-divider-margin-top: 8px;
+ --textarea-background-color: #fafbfc;
+ --textarea-text-color: #24292e;
+ --resize-icon-color: var(--toolbar-icon-color);
+ --resize-background-color: var(--toolbar-background-color);
+ --resize-hover-icon-color: var(--panel-background-color);
+ --resize-hover-background-color: var(--toolbar-icon-hover-color);
+ --count-background-color: rgba(27, 31, 35, 0.05);
+ --heading-border-color: #eaecef;
+ --blockquote-color: #6a737d;
+ --ir-heading-color: #660e7a;
+ --ir-title-color: #808080;
+ --ir-bi-color: #0033b3;
+ --ir-link-color: #008000;
+ --ir-bracket-color: #0000ff;
+ --ir-paren-color: #008000;
+}
+
+.vditor--dark {
+ --border-color: #141414;
+ --second-color: rgba(185, 185, 185, 0.36);
+ --panel-background-color: #24292e;
+ --panel-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
+ --toolbar-background-color: #1d2125;
+ --toolbar-icon-color: #b9b9b9;
+ --toolbar-icon-hover-color: #fff;
+ --textarea-background-color: #2f363d;
+ --textarea-text-color: #d1d5da;
+ --resize-icon-color: var(--border-color);
+ --resize-background-color: var(--second-color);
+ --resize-hover-icon-color: var(--toolbar-icon-hover-color);
+ --resize-hover-background-color: rgba(185, 185, 185, 0.86);
+ --count-background-color: rgba(66, 133, 244, 0.36);
+ --heading-border-color: var(--textarea-text-color);
+ --blockquote-color: var(--toolbar-icon-color);
+ --ir-heading-color: #9876aa;
+ --ir-title-color: #808080;
+ --ir-bi-color: #cc7832;
+ --ir-link-color: #ffc66d;
+ --ir-bracket-color: #287bde;
+ --ir-paren-color: #6a8759;
+}
+
+/**
+ * tool tip.
+ *
+ * @author Liyuan Li
+ * @version 0.1.0.0, Jan 25, 2019
+ */
+
+@keyframes tooltip-appear {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
+.vditor-tooltipped {
+ position: relative;
+ cursor: pointer;
+}
+
+.vditor-tooltipped::after {
+ position: absolute;
+ z-index: 1000000;
+ display: none;
+ padding: 5px 8px;
+ font-size: 11px;
+ font-weight: normal;
+ -webkit-font-smoothing: subpixel-antialiased;
+ color: #fff;
+ text-align: center;
+ text-decoration: none;
+ text-shadow: none;
+ text-transform: none;
+ letter-spacing: normal;
+ word-wrap: break-word;
+ white-space: pre;
+ pointer-events: none;
+ content: attr(aria-label);
+ background: #3b3e43;
+ border-radius: 3px;
+ line-height: 16px;
+ opacity: 0;
+}
+
+.vditor-tooltipped::before {
+ position: absolute;
+ z-index: 1000001;
+ display: none;
+ width: 0;
+ height: 0;
+ color: #3b3e43;
+ pointer-events: none;
+ content: "";
+ border: 5px solid transparent;
+ opacity: 0;
+}
+
+.vditor-tooltipped--hover::before,
+.vditor-tooltipped--hover::after,
+.vditor-tooltipped:hover::before,
+.vditor-tooltipped:hover::after,
+.vditor-tooltipped:active::before,
+.vditor-tooltipped:active::after,
+.vditor-tooltipped:focus::before,
+.vditor-tooltipped:focus::after {
+ display: inline-block;
+ text-decoration: none;
+ animation-name: tooltip-appear;
+ animation-duration: 0.15s;
+ animation-fill-mode: forwards;
+ animation-timing-function: ease-in;
+}
+
+.vditor-tooltipped__s::after,
+.vditor-tooltipped__se::after,
+.vditor-tooltipped__sw::after {
+ top: 100%;
+ right: 50%;
+ margin-top: 5px;
+}
+
+.vditor-tooltipped__s::before,
+.vditor-tooltipped__se::before,
+.vditor-tooltipped__sw::before {
+ top: auto;
+ right: 50%;
+ bottom: -5px;
+ margin-right: -5px;
+ border-bottom-color: #3b3e43;
+}
+
+.vditor-tooltipped__se::after {
+ right: auto;
+ left: 50%;
+ margin-left: -15px;
+}
+
+.vditor-tooltipped__sw::after {
+ margin-right: -15px;
+}
+
+.vditor-tooltipped__n::after,
+.vditor-tooltipped__ne::after,
+.vditor-tooltipped__nw::after {
+ right: 50%;
+ bottom: 100%;
+ margin-bottom: 5px;
+}
+
+.vditor-tooltipped__n::before,
+.vditor-tooltipped__ne::before,
+.vditor-tooltipped__nw::before {
+ top: -5px;
+ right: 50%;
+ bottom: auto;
+ margin-right: -5px;
+ border-top-color: #3b3e43;
+}
+
+.vditor-tooltipped__ne::after {
+ right: auto;
+ left: 50%;
+ margin-left: -15px;
+}
+
+.vditor-tooltipped__nw::after {
+ margin-right: -15px;
+}
+
+.vditor-tooltipped__s::after,
+.vditor-tooltipped__n::after {
+ transform: translateX(50%);
+}
+
+.vditor-tooltipped__w::after {
+ right: 100%;
+ bottom: 50%;
+ margin-right: 5px;
+ transform: translateY(50%);
+}
+
+.vditor-tooltipped__w::before {
+ top: 50%;
+ bottom: 50%;
+ left: -5px;
+ margin-top: -5px;
+ border-left-color: #3b3e43;
+}
+
+.vditor-tooltipped__e::after {
+ bottom: 50%;
+ left: 100%;
+ margin-left: 5px;
+ transform: translateY(50%);
+}
+
+.vditor-tooltipped__e::before {
+ top: 50%;
+ right: -5px;
+ bottom: 50%;
+ margin-top: -5px;
+ border-right-color: #3b3e43;
+}
+
+@media screen and (max-width: 520px) {
+ .vditor-tooltipped:before,
+ .vditor-tooltipped:after {
+ content: none;
+ }
+}
+
+/**
+ * panel.
+ *
+ * @author Liyuan Li
+ * @version 1.0.0.0, Jan 22, 2020
+ */
+
+@keyframes scale-in {
+ 0% {
+ opacity: 0;
+ transform: scale(0.5);
+ }
+ 100% {
+ opacity: 1;
+ transform: scale(1);
+ }
+}
+
+.vditor-panel {
+ background-color: var(--panel-background-color);
+ position: absolute;
+ box-shadow: var(--panel-shadow);
+ border-radius: 3px;
+ padding: 5px;
+ z-index: 3;
+ font-size: 14px;
+ display: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+ max-width: 320px;
+ min-width: 80px;
+ animation-duration: 0.15s;
+ animation-name: scale-in;
+ animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
+ color: var(--toolbar-icon-color);
+}
+
+.vditor-panel--none {
+ padding: 0;
+ animation: none;
+ min-width: auto;
+ max-width: none;
+ white-space: nowrap;
+ opacity: 0.86;
+}
+
+.vditor-panel--arrow:before {
+ position: absolute;
+ width: 0;
+ height: 0;
+ pointer-events: none;
+ content: " ";
+ border: 7px solid transparent;
+ top: -14px;
+ left: 5px;
+ border-bottom-color: var(--panel-background-color);
+}
+
+.vditor-panel--left {
+ right: 0;
+}
+
+.vditor-panel--left.vditor-panel--arrow:before {
+ right: 5px;
+ left: auto;
+}
+
+.vditor-input {
+ border: 0;
+ padding: 3px 5px;
+ background-color: var(--panel-background-color);
+ font-size: 12px;
+ color: var(--textarea-text-color);
+}
+
+.vditor-input:focus {
+ background-color: var(--toolbar-background-color);
+ outline: none;
+}
+
+.vditor-icon {
+ color: var(--toolbar-icon-color);
+ cursor: pointer;
+ float: left;
+ padding: 4px 5px;
+ height: 21px;
+ width: 23px;
+ background-color: transparent;
+ border: 0;
+ box-sizing: border-box;
+}
+
+.vditor-icon:hover,
+.vditor-icon--current {
+ color: var(--toolbar-icon-hover-color);
+ background-color: transparent;
+}
+
+.vditor-icon:focus {
+ outline: none;
+}
+
+.vditor-icon svg {
+ height: 13px !important;
+ width: 13px !important;
+ float: left;
+ fill: currentColor;
+ pointer-events: none;
+}
+
+.vditor-toolbar {
+ background-color: var(--toolbar-background-color);
+ border-bottom: 1px solid var(--border-color);
+ padding: 0 5px;
+ line-height: 1;
+}
+
+.vditor-toolbar--pin {
+ position: sticky;
+ top: 0;
+ z-index: 1;
+}
+
+.vditor-toolbar--hide {
+ transition: all 0.15s ease-in-out;
+ height: 5px;
+ overflow: hidden;
+}
+
+.vditor-toolbar--hide:hover {
+ background-color: var(--toolbar-background-color);
+ height: auto;
+ overflow: visible;
+}
+
+.vditor-toolbar__item {
+ float: left;
+ position: relative;
+}
+
+.vditor-toolbar__item .vditor-tooltipped {
+ color: var(--toolbar-icon-color);
+ border: 0;
+ padding: 10px 5px;
+ background-color: transparent;
+ height: var(--toolbar-height);
+ width: 25px;
+ box-sizing: border-box;
+ font-size: 0;
+}
+
+.vditor-toolbar__item .vditor-tooltipped:focus {
+ outline: none;
+}
+
+.vditor-toolbar__item .vditor-tooltipped:focus {
+ cursor: pointer;
+ color: var(--toolbar-icon-hover-color);
+}
+
+.vditor-toolbar__item svg {
+ fill: currentColor;
+ display: inline-block;
+ stroke-width: 0;
+ stroke: currentColor;
+ width: 15px;
+ height: 15px;
+}
+
+.vditor-toolbar__item input {
+ position: absolute;
+ width: 25px;
+ height: var(--toolbar-height);
+ top: 0;
+ left: 0;
+ cursor: pointer;
+ opacity: 0.001;
+ overflow: hidden;
+}
+
+.vditor-toolbar__divider {
+ float: left;
+ height: calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));
+ border-left: 1px solid var(--second-color);
+ margin: var(--toolbar-divider-margin-top) 8px;
+}
+
+.vditor-toolbar__br {
+ width: 100%;
+ padding: 0 !important;
+ height: 0 !important;
+}
+
+.vditor-menu--current {
+ color: var(--toolbar-icon-hover-color) !important;
+}
+
+.vditor-menu--disabled {
+ color: var(--second-color) !important;
+ cursor: not-allowed !important;
+}
+
+.vditor-emojis {
+ display: inline-block;
+ overflow: auto;
+}
+
+.vditor-emojis::-webkit-scrollbar {
+ display: none;
+}
+
+.vditor-emojis__tip {
+ flex: 1;
+ min-width: 1px;
+ width: 200px;
+ margin-right: 10px;
+ color: var(--toolbar-icon-color);
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+.vditor-emojis__tail {
+ margin-top: 5px;
+ font-size: 12px;
+ color: var(--toolbar-icon-color);
+ display: flex;
+}
+
+.vditor-emojis__tail a {
+ text-decoration: none;
+ color: var(--toolbar-icon-color);
+}
+
+.vditor-emojis__tail a:hover {
+ color: var(--toolbar-icon-hover-color);
+}
+
+.vditor-emojis button {
+ cursor: pointer;
+ border-radius: 3px;
+ float: left;
+ height: 30px;
+ width: 30px;
+ text-align: center;
+ line-height: 26px;
+ padding: 3px;
+ box-sizing: border-box;
+ font-size: 16px;
+ transition: all 0.15s ease-in-out;
+ border: 0;
+ margin: 0;
+ background-color: transparent;
+ overflow: hidden;
+}
+
+.vditor-emojis button:focus {
+ outline: none;
+}
+
+.vditor-emojis button:hover .vditor-emojis__icon {
+ display: inline-block;
+ transform: scale(1.2);
+}
+
+.vditor-emojis img {
+ height: 20px;
+ width: 20px;
+ float: left;
+ margin: 3px 0 0 3px;
+}
+
+@media screen and (max-width: 520px) {
+ .vditor-toolbar__item {
+ padding: 0 12px;
+ }
+
+ .vditor-panel--left.vditor-panel--arrow:before {
+ right: 17px;
+ }
+}
+
+@media (hover: hover) and (pointer: fine) {
+ .vditor-toolbar__item .vditor-tooltipped:hover {
+ color: var(--toolbar-icon-hover-color);
+ }
+}
+
+@keyframes slideInDown {
+ from {
+ transform: translate3d(0, -100%, 0);
+ visibility: visible;
+ }
+ to {
+ transform: translate3d(0, 0, 0);
+ }
+}
+
+.vditor {
+ display: flex;
+ flex-direction: column;
+ border: 1px solid var(--border-color);
+ border-radius: 3px;
+ box-sizing: border-box;
+ font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
+}
+
+.vditor .vditor-copy {
+ z-index: auto;
+}
+
+.vditor--fullscreen {
+ position: fixed;
+ top: 0;
+ width: 100% !important;
+ left: 0;
+ height: 100vh !important;
+ z-index: 90;
+ border-radius: 0;
+}
+
+.vditor-content {
+ display: flex;
+ min-height: 60px;
+ flex: 1;
+ min-width: 1px;
+ position: relative;
+}
+
+.vditor-preview {
+ flex: 1;
+ min-width: 1px;
+ overflow: auto;
+ margin-left: -1px;
+ border-left: 1px solid var(--border-color);
+ box-sizing: border-box;
+ border-radius: 0 0 3px 0;
+ background-color: var(--textarea-background-color);
+}
+
+.vditor-preview::-webkit-scrollbar {
+ display: none;
+}
+
+.vditor-preview__action {
+ text-align: center;
+ padding: 10px;
+ background-color: var(--toolbar-background-color);
+}
+
+.vditor-preview__action button {
+ background-color: var(--toolbar-background-color);
+ color: var(--toolbar-icon-color);
+ line-height: 20px;
+ border: 0;
+ margin: 0 10px;
+ cursor: pointer;
+ padding: 0 7px;
+ font-size: 12px;
+}
+
+.vditor-preview__action button.vditor-preview__action--current,
+.vditor-preview__action button:hover {
+ color: var(--toolbar-icon-hover-color);
+ background-color: var(--toolbar-background-color);
+}
+
+.vditor-preview__action button:focus {
+ outline: none;
+}
+
+.vditor-preview__action button svg {
+ fill: currentColor;
+ height: 15px;
+ width: 15px;
+ vertical-align: middle;
+}
+
+.vditor-preview > .vditor-reset {
+ padding: 10px;
+ margin: 0 auto;
+}
+
+.vditor-preview img:not(.emoji) {
+ cursor: pointer;
+}
+
+.vditor-devtools {
+ display: none;
+ background-color: var(--textarea-background-color);
+ overflow: auto;
+ flex: 1;
+ min-width: 1px;
+ box-shadow: inset 1px 0 var(--border-color);
+ box-sizing: border-box;
+ border-radius: 0 0 3px 0;
+ padding: 10px;
+}
+
+.vditor-counter {
+ padding: 3px;
+ color: var(--toolbar-icon-color);
+ background-color: var(--count-background-color);
+ border-radius: 3px;
+ font-size: 12px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+ float: right;
+ margin: 8px 3px 0 0;
+}
+
+.vditor-counter--error {
+ color: #d23f31;
+ background-color: rgba(210, 63, 49, 0.1);
+}
+
+.vditor-resize {
+ padding: 3px 0;
+ cursor: row-resize;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+ position: absolute;
+ width: 100%;
+}
+
+.vditor-resize--top {
+ top: -3px;
+}
+
+.vditor-resize--bottom {
+ bottom: -3px;
+}
+
+.vditor-resize > div {
+ height: 3px;
+ background-color: var(--resize-background-color);
+ transition: all 0.15s ease-in-out;
+}
+
+.vditor-resize:hover > div,
+.vditor-resize--selected > div {
+ background-color: var(--resize-hover-background-color);
+}
+
+.vditor-resize:hover svg,
+.vditor-resize--selected svg {
+ color: var(--resize-hover-icon-color);
+}
+
+.vditor-resize svg {
+ fill: currentColor;
+ stroke-width: 0;
+ stroke: currentColor;
+ width: 13px;
+ height: 3px;
+ display: block;
+ margin: 0 auto;
+ color: var(--resize-icon-color);
+}
+
+.vditor-upload {
+ position: absolute;
+ height: 3px;
+ left: 0;
+ top: -2px;
+ transition: all 0.15s ease-in-out;
+ background-color: #4285f4;
+}
+
+.vditor-tip {
+ position: absolute;
+ font-size: 12px;
+ top: 10px;
+ animation-duration: 0.15s;
+ animation-fill-mode: both;
+ left: 50%;
+ z-index: 5;
+}
+
+.vditor-tip--show {
+ display: block;
+ animation-name: slideInDown;
+}
+
+.vditor-tip__content {
+ text-align: left;
+ display: inline-block;
+ line-height: 16px;
+ padding: 3px 10px;
+ border-radius: 3px;
+ background: var(--toolbar-background-color);
+ position: relative;
+ margin-left: -50%;
+ color: var(--toolbar-icon-color);
+ max-width: 100%;
+ box-shadow: var(--panel-shadow);
+}
+
+.vditor-tip__content ul {
+ margin: 2px 0;
+ padding: 0 0 0 18px;
+}
+
+.vditor-tip__content a {
+ color: #4285f4;
+}
+
+.vditor-tip__close {
+ position: absolute;
+ color: var(--toolbar-icon-color);
+ top: -7px;
+ right: -15px;
+ font-weight: bold;
+ cursor: pointer;
+}
+
+.vditor-tip__close:hover {
+ color: var(--toolbar-icon-hover-color);
+}
+
+.vditor-img {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ display: flex;
+ flex-direction: column;
+ z-index: 3;
+}
+
+.vditor-img__bar {
+ border-bottom: 1px solid var(--border-color);
+ background-color: var(--toolbar-background-color);
+ text-align: center;
+ height: 36px;
+ box-sizing: border-box;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.vditor-img__btn {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+ margin-left: 24px;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+ color: var(--toolbar-icon-color);
+}
+
+.vditor-img__btn:hover {
+ color: var(--toolbar-icon-hover-color);
+}
+
+.vditor-img__btn svg {
+ height: 14px;
+ width: 14px;
+ margin-right: 8px;
+ fill: currentColor;
+}
+
+.vditor-img__img {
+ flex: 1;
+ background-color: var(--textarea-background-color);
+ overflow: auto;
+ cursor: zoom-out;
+}
+
+.vditor-img__img img {
+ max-width: none;
+}
+
+.vditor-hint {
+ background-color: var(--panel-background-color);
+ position: absolute;
+ box-shadow: var(--panel-shadow);
+ border-radius: 3px;
+ padding: 5px 0;
+ z-index: 4;
+ line-height: 20px;
+ list-style: none;
+ font-size: 12px;
+ margin: 0;
+ max-width: 250px;
+ min-width: 80px;
+ display: none;
+}
+
+.vditor-hint .vditor-hint {
+ margin-top: -31px;
+ left: 100%;
+ right: auto;
+}
+
+.vditor-hint .vditor-hint.vditor-panel--left {
+ right: 100%;
+ left: auto;
+}
+
+.vditor-hint button {
+ color: var(--toolbar-icon-color);
+ display: block;
+ padding: 3px 10px;
+ border: 0;
+ border-radius: 0;
+ line-height: 20px;
+ width: 100%;
+ box-sizing: border-box;
+ text-align: left;
+ margin: 0;
+ background-color: transparent;
+ cursor: pointer;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+.vditor-hint button:focus {
+ outline: none;
+}
+
+.vditor-hint--current,
+.vditor-hint button:not(.vditor-menu--disabled):hover {
+ background-color: var(--toolbar-background-color) !important;
+ color: var(--toolbar-icon-hover-color) !important;
+}
+
+.vditor-hint__emoji {
+ font-size: 16px;
+ float: left;
+ margin-right: 3px;
+}
+
+.vditor-hint img {
+ height: 20px;
+ width: 20px;
+ float: left;
+ margin-right: 3px;
+}
+
+.vditor-reset {
+ color: #121212;
+ font-variant-ligatures: no-common-ligatures;
+ font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
+ word-wrap: break-word;
+ overflow: auto;
+ line-height: 1.75em;
+ font-size: 15px;
+ letter-spacing: 1px;
+ word-break: break-word;
+}
+
+.vditor-reset--anchor {
+ padding-left: 20px;
+}
+
+.vditor-reset--error {
+ color: #d23f31;
+ font-size: 12px;
+ display: block;
+ line-height: 16px;
+}
+
+.vditor-reset ul ul ul {
+ list-style-type: square;
+}
+
+.vditor-reset ul ul {
+ list-style-type: circle;
+}
+
+.vditor-reset ul {
+ list-style-type: disc;
+}
+
+.vditor-reset ul,
+.vditor-reset ol {
+ padding-left: 2em;
+ margin-top: 0;
+ margin-bottom: 16px;
+}
+
+.vditor-reset li + li {
+ margin-top: 0.25em;
+}
+
+.vditor-reset audio {
+ max-width: 100%;
+}
+
+.vditor-reset audio:focus {
+ outline: none;
+}
+
+.vditor-reset video {
+ max-height: 90vh;
+ max-width: 100%;
+}
+
+.vditor-reset img {
+ max-width: 100%;
+}
+
+.vditor-reset img.emoji {
+ cursor: auto;
+ max-width: 20px;
+ vertical-align: sub;
+}
+
+.vditor-reset h1,
+.vditor-reset h2,
+.vditor-reset h3,
+.vditor-reset h4,
+.vditor-reset h5,
+.vditor-reset h6 {
+ margin-top: 40px;
+ margin-bottom: 5px;
+ font-weight: 600;
+ line-height: 1.25;
+}
+
+.vditor-reset h1:hover .vditor-anchor svg,
+.vditor-reset h2:hover .vditor-anchor svg,
+.vditor-reset h3:hover .vditor-anchor svg,
+.vditor-reset h4:hover .vditor-anchor svg,
+.vditor-reset h5:hover .vditor-anchor svg,
+.vditor-reset h6:hover .vditor-anchor svg {
+ visibility: visible;
+}
+
+.vditor-reset h1 {
+ font-size: 1.5em;
+}
+
+.vditor-reset h2 {
+ font-size: 1.4em;
+}
+
+.vditor-reset h3 {
+ font-size: 1.3em;
+}
+
+.vditor-reset h4 {
+ font-size: 1.2em;
+}
+
+.vditor-reset h5 {
+ font-size: 1.1em;
+}
+
+.vditor-reset h6 {
+ font-size: 1em;
+}
+
+
+.vditor-reset hr {
+ height: 2px;
+ padding: 0;
+ margin: 24px 0;
+ background-color: #eaecef;
+ border: 0;
+}
+
+.vditor-reset p {
+ margin-top: 0;
+ margin-bottom: 16px;
+}
+
+.vditor-reset blockquote {
+ padding: 0 1em;
+ color: #6a737d;
+ border-left: 0.25em solid #eaecef;
+ margin: 0 0 16px 0;
+}
+
+.vditor-reset blockquote > :first-child {
+ margin-top: 0;
+}
+
+.vditor-reset blockquote > :last-child {
+ margin-bottom: 0;
+}
+
+.vditor-reset ins > iframe {
+ border: 0;
+}
+
+.vditor-reset iframe {
+ border: 1px solid #d1d5da;
+ max-width: 100%;
+ box-sizing: border-box;
+}
+
+.vditor-reset iframe.iframe__video {
+ min-width: 80%;
+ min-height: 36vh;
+}
+
+.vditor-reset table {
+ border-collapse: collapse;
+ empty-cells: show;
+ margin-bottom: 16px;
+ overflow: auto;
+ border-spacing: 0;
+ display: block;
+ word-break: keep-all;
+ width: 100%;
+}
+
+.vditor-reset table tr {
+ background-color: #fafbfc;
+ border-top: 1px solid #c6cbd1;
+}
+
+.vditor-reset table td,
+.vditor-reset table th {
+ padding: 6px 13px;
+ border: 1px solid #dfe2e5;
+ word-break: normal;
+ white-space: nowrap;
+}
+
+.vditor-reset table td:first-child::after,
+.vditor-reset table th:first-child::after {
+ content: "";
+ display: inline-block;
+ vertical-align: top;
+ min-height: 24px;
+}
+
+.vditor-reset table th {
+ font-weight: 600;
+}
+
+.vditor-reset table tbody tr:nth-child(2n) {
+ background-color: #fff;
+}
+
+.vditor-reset code:not(.hljs):not(.highlight-chroma) {
+ padding: 0.2em 0.4em;
+ margin: 0;
+ font-size: 85%;
+ border-radius: 3px;
+ font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
+ word-break: break-word;
+ background-size: 20px 20px;
+ white-space: pre-wrap;
+}
+
+.vditor-reset pre {
+ margin: 1em 0;
+}
+
+.vditor-reset pre > code {
+ margin: 0;
+ font-size: 85%;
+ padding: 0.5em;
+ border-radius: 5px;
+ display: block;
+ overflow: auto;
+ white-space: pre;
+ font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
+ background-size: 20px 20px;
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);
+ word-break: initial;
+ word-wrap: normal;
+}
+
+.vditor-reset pre:hover div.vditor-copy {
+ display: block;
+}
+
+.vditor-reset .language-math,
+.vditor-reset .language-echarts,
+.vditor-reset .language-mindmap,
+.vditor-reset .language-plantuml,
+.vditor-reset .language-mermaid,
+.vditor-reset .language-markmap,
+.vditor-reset .language-abc,
+.vditor-reset .language-flowchart,
+.vditor-reset .language-graphviz {
+ margin-bottom: 16px;
+}
+
+.vditor-reset .language-math mjx-container:focus {
+ outline: none;
+ cursor: context-menu;
+}
+
+.vditor-reset .language-echarts,
+.vditor-reset .language-mindmap {
+ overflow: hidden;
+ height: 420px;
+}
+
+.vditor-reset .language-mermaid,
+.vditor-reset .language-markmap,
+.vditor-reset .language-flowchart,
+.vditor-reset .language-graphviz {
+ text-align: center;
+}
+
+.vditor-reset .language-graphviz parsererror {
+ overflow: auto;
+}
+
+.vditor-reset kbd {
+ display: inline-block;
+ padding: 3px 5px;
+ font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+ line-height: 10px;
+ color: #24292e;
+ vertical-align: middle;
+ background-color: #fafbfc;
+ border: solid 1px #d1d5da;
+ border-radius: 3px;
+ box-shadow: inset 0 -1px 0 #d1d5da;
+}
+
+.vditor-reset summary {
+ cursor: pointer;
+}
+
+.vditor-reset summary:focus {
+ outline: none;
+}
+
+.vditor-reset svg {
+ height: auto;
+ width: auto;
+ stroke-width: initial;
+}
+
+.vditor-reset p:last-child,
+.vditor-reset blockquote:last-child,
+.vditor-reset pre:last-child,
+.vditor-reset ul:last-child,
+.vditor-reset ol:last-child,
+.vditor-reset hr:last-child {
+ margin-bottom: 0;
+}
+
+.vditor-comment {
+ border-bottom: 2px solid #f8e6ab;
+}
+
+.vditor-comment--focus,
+.vditor-comment--hover {
+ background-color: #faf1d1;
+ border-bottom: 2px solid #ffc60a;
+}
+
+.vditor-comment--focus .vditor-comment,
+.vditor-comment--hover .vditor-comment {
+ border-bottom: 2px solid #ffc60a;
+}
+
+.vditor-task {
+ list-style: none !important;
+ word-break: break-all;
+}
+
+.vditor-task input {
+ margin: 0 0.2em 0.25em -1.6em;
+ font-size: 12px;
+ vertical-align: middle;
+}
+
+.vditor-copy {
+ position: relative;
+ display: none;
+ z-index: 1;
+}
+
+.vditor-copy textarea {
+ position: absolute;
+ left: -100000px;
+ height: 10px;
+}
+
+.vditor-copy span {
+ cursor: pointer;
+ position: absolute;
+ right: 15px;
+ top: 0.5em;
+}
+
+.vditor-copy svg {
+ color: #586069;
+ height: 14px;
+ width: 14px !important;
+ display: block;
+ fill: currentColor;
+}
+
+.vditor-linenumber {
+ padding-left: 4em !important;
+ position: relative;
+}
+
+.vditor-linenumber__rows {
+ position: absolute;
+ pointer-events: none;
+ top: 0.5em;
+ left: 0;
+ width: 3em;
+ /* works for line-numbers below 1000 lines */
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ user-select: none;
+ counter-reset: linenumber;
+}
+
+.vditor-linenumber__rows > span {
+ pointer-events: none;
+ display: block;
+}
+
+.vditor-linenumber__rows > span::before {
+ counter-increment: linenumber;
+ content: counter(linenumber);
+ color: rgba(158, 150, 150, 0.38);
+ display: block;
+ padding-right: 1em;
+ text-align: right;
+}
+
+.vditor-speech {
+ position: absolute;
+ display: none;
+ background-color: #f6f8fa;
+ border: 1px solid #d1d5da;
+ border-radius: 3px;
+ padding: 3px;
+ cursor: pointer;
+ color: #586069;
+}
+
+.vditor-speech:hover,
+.vditor-speech--current {
+ color: #4285f4;
+}
+
+.vditor-speech svg {
+ height: 14px;
+ width: 14px;
+ fill: currentColor;
+ display: block;
+ stroke-width: 0;
+ stroke: currentColor;
+}
+
+.vditor-anchor {
+ margin-left: 5px;
+}
+
+.vditor-anchor--left {
+ float: left;
+ padding-right: 4px;
+ margin-left: -20px;
+}
+
+.vditor-anchor svg {
+ visibility: hidden;
+}
+
+.vditor-anchor:hover svg {
+ visibility: visible;
+}
+
+.vditor-anchor:focus {
+ outline: none;
+}
+
+.vditor-linkcard {
+ margin: 31px auto 16px;
+ transition: all 0.15s ease-in-out;
+ cursor: pointer;
+ max-width: 768px;
+ padding: 0 10px;
+}
+
+.vditor-linkcard a {
+ border-radius: 3px;
+ background-color: #f6f8fa;
+ overflow: hidden;
+ max-height: 250px;
+ display: flex;
+ text-decoration: none;
+ flex-wrap: wrap-reverse;
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
+}
+
+.vditor-linkcard a:hover {
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.13), 0 3px 6px rgba(0, 0, 0, 0.26);
+ text-decoration: none;
+}
+
+.vditor-linkcard a:visited .vditor-linkcard__abstract {
+ color: rgba(88, 96, 105, 0.36);
+}
+
+.vditor-linkcard__info {
+ padding: 10px;
+ min-width: 200px;
+ box-sizing: border-box;
+ flex: 1;
+}
+
+.vditor-linkcard__title {
+ font-size: 14px;
+ font-weight: 400;
+ color: #24292e;
+ display: flex;
+ align-items: center;
+}
+
+.vditor-linkcard__title img {
+ cursor: pointer;
+ height: 20px;
+ width: 20px;
+ border-radius: 3px;
+ flex-shrink: 0;
+ margin-right: 5px;
+}
+
+.vditor-linkcard__abstract {
+ word-wrap: break-word;
+ word-break: break-all;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ font-size: 13px;
+ color: #586069;
+ margin: 5px 0;
+}
+
+.vditor-linkcard__site {
+ font-size: 12px;
+ color: #4285f4;
+}
+
+.vditor-linkcard__image {
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center center;
+ max-width: 250px;
+ min-width: 126px;
+ cursor: pointer;
+ background-color: rgba(88, 96, 105, 0.36);
+}
+
+.vditor-footnotes__goto-ref {
+ text-decoration: none;
+}
+
+.vditor-toc {
+ margin-bottom: 16px;
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ user-select: text;
+ color: #4285f4;
+}
+
+.vditor-toc .vditor-outline__action {
+ display: none;
+}
+
+.vditor-toc ul {
+ list-style: none !important;
+ padding-left: 1em;
+}
+
+.vditor-toc > ul {
+ padding-left: 0;
+}
+
+.vditor-toc span {
+ cursor: pointer;
+}
+
+.vditor-toc li > span > svg {
+ width: 0;
+ height: 0;
+}
+
+.vditor-outline {
+ max-width: 200px;
+ width: 20%;
+ border-right: 1px solid var(--border-color);
+ background-color: var(--panel-background-color);
+ display: none;
+ overflow: auto;
+ letter-spacing: 1px;
+}
+
+.vditor-outline--right {
+ border-right: 0;
+ border-left: 1px solid var(--border-color);
+}
+
+.vditor-outline::-webkit-scrollbar {
+ display: none;
+}
+
+.vditor-outline ul {
+ list-style: none !important;
+ padding-left: 6px;
+ margin: 0;
+}
+
+.vditor-outline__content > ul {
+ padding-left: 0;
+}
+
+.vditor-outline li > span {
+ display: flex;
+ align-items: center;
+ padding: 5px 10px;
+ cursor: pointer;
+ color: var(--textarea-text-color);
+}
+
+.vditor-outline li > span > svg {
+ height: 10px;
+ width: 10px;
+}
+
+.vditor-outline li > span:hover {
+ color: var(--toolbar-icon-hover-color);
+}
+
+.vditor-outline li > span > span {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.vditor-outline__title {
+ border-bottom: 1px dashed var(--border-color);
+ padding: 5px 10px;
+ color: var(--toolbar-icon-color);
+ font-size: 12px;
+}
+
+.vditor-outline__action {
+ transition: all 0.15s ease-in-out;
+ fill: currentColor;
+ margin-right: 5px;
+ flex-shrink: 0;
+}
+
+.vditor-outline__action--close {
+ transform: rotate(-90deg);
+}
+
+.vditor-wysiwyg {
+ box-sizing: border-box;
+ flex: 1;
+ position: relative;
+ width: 100%;
+ min-width: 1px;
+}
+
+.vditor-wysiwyg pre.vditor-reset {
+ background-color: var(--panel-background-color);
+ margin: 0;
+ white-space: pre-wrap;
+ height: 100%;
+ box-sizing: border-box;
+}
+
+.vditor-wysiwyg pre.vditor-reset[contenteditable="false"] {
+ opacity: 0.3;
+ cursor: not-allowed;
+}
+
+.vditor-wysiwyg pre.vditor-reset:empty::before {
+ content: attr(placeholder);
+ color: var(--second-color);
+}
+
+.vditor-wysiwyg pre.vditor-reset:focus {
+ outline: none;
+ background-color: var(--textarea-background-color);
+}
+
+.vditor-wysiwyg pre.vditor-reset:after {
+ content: "";
+ height: var(--editor-bottom);
+ display: block;
+}
+
+.vditor-wysiwyg blockquote:empty::before,
+.vditor-wysiwyg pre > code:empty::before,
+.vditor-wysiwyg p:empty::before,
+.vditor-wysiwyg h1:empty::after,
+.vditor-wysiwyg h2:empty::after,
+.vditor-wysiwyg h3:empty::after,
+.vditor-wysiwyg h4:empty::after,
+.vditor-wysiwyg h5:empty::after,
+.vditor-wysiwyg h6:empty::after {
+ content: ' ';
+}
+
+.vditor-wysiwyg code[data-marker="`"] {
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+}
+
+.vditor-wysiwyg__block pre:first-child {
+ margin-bottom: -1em;
+}
+
+.vditor-wysiwyg__block pre:first-child code {
+ color: var(--textarea-text-color);
+ height: auto;
+ text-align: left;
+}
+
+.vditor-wysiwyg__block pre:last-child {
+ margin-bottom: 1em;
+}
+
+.vditor-wysiwyg__preview {
+ cursor: pointer;
+ white-space: initial;
+ min-height: 27px;
+}
+
+.vditor-wysiwyg > .vditor-reset > h1:before,
+.vditor-wysiwyg > .vditor-reset > h2:before,
+.vditor-wysiwyg > .vditor-reset > h3:before,
+.vditor-wysiwyg > .vditor-reset > h4:before,
+.vditor-wysiwyg > .vditor-reset > h5:before,
+.vditor-wysiwyg > .vditor-reset > h6:before,
+.vditor-wysiwyg div.vditor-wysiwyg__block:before,
+.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,
+.vditor-wysiwyg div[data-type="footnotes-block"]:before,
+.vditor-wysiwyg .vditor-toc:before {
+ float: left;
+ padding-right: 4px;
+ margin-left: -29px;
+ content: 'H1';
+ font-size: 0.85rem;
+ font-weight: normal;
+ color: var(--second-color);
+}
+
+.vditor-wysiwyg > .vditor-reset > h2:before {
+ content: 'H2';
+}
+
+.vditor-wysiwyg > .vditor-reset > h3:before {
+ content: 'H3';
+}
+
+.vditor-wysiwyg > .vditor-reset > h4:before {
+ content: 'H4';
+}
+
+.vditor-wysiwyg > .vditor-reset > h5:before {
+ content: 'H5';
+}
+
+.vditor-wysiwyg > .vditor-reset > h6:before {
+ content: 'H6';
+}
+
+.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before {
+ content: '"A"';
+}
+
+.vditor-wysiwyg div[data-type="footnotes-block"]:before {
+ content: '^F';
+}
+
+.vditor-wysiwyg div.vditor-wysiwyg__block:before {
+ content: ">";
+}
+
+.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before {
+ content: "F";
+}
+
+.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before {
+ content: "$$";
+}
+
+.vditor-wysiwyg .vditor-toc:before {
+ content: "ToC";
+}
+
+.vditor-wysiwyg hr {
+ display: inline-block;
+ margin: 12px 0;
+ width: 100%;
+}
+
+.vditor-wysiwyg details {
+ white-space: initial;
+}
+
+.vditor-wysiwyg a {
+ cursor: pointer;
+}
+
+.vditor-wysiwyg span[data-type="backslash"] > span {
+ display: none;
+ color: var(--second-color);
+}
+
+.vditor-wysiwyg span[data-type="link-ref"],
+.vditor-wysiwyg sup[data-type="footnotes-ref"] {
+ color: #4285f4;
+}
+
+.vditor-wysiwyg span[data-type="toc-h"] {
+ color: #4285f4;
+ text-decoration: underline;
+}
+
+.vditor-wysiwyg div[data-type="footnotes-block"] {
+ border-top: 2px solid var(--heading-border-color);
+ padding-top: 24px;
+ margin-top: 24px;
+}
+
+.vditor-wysiwyg div[data-type="link-ref-defs-block"] {
+ color: var(--blockquote-color);
+}
+
+@media screen and (max-width: 520px) {
+ .vditor-wysiwyg h1:before,
+ .vditor-wysiwyg h2:before,
+ .vditor-wysiwyg h3:before,
+ .vditor-wysiwyg h4:before,
+ .vditor-wysiwyg h5:before,
+ .vditor-wysiwyg h6:before,
+ .vditor-wysiwyg div.vditor-wysiwyg__block:before,
+ .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,
+ .vditor-wysiwyg div[data-type="footnotes-block"]:before,
+ .vditor-wysiwyg .vditor-toc:before {
+ content: none;
+ }
+}
+
+.vditor-ir {
+ box-sizing: border-box;
+ flex: 1;
+ min-width: 1px;
+ position: relative;
+ width: 100%;
+}
+
+.vditor-ir__node[data-type="code-block"]:before,
+.vditor-ir__node[data-type="code-block"]:after,
+.vditor-ir__node[data-type="yaml-front-matter"]:before,
+.vditor-ir__node[data-type="yaml-front-matter"]:after,
+.vditor-ir__node[data-type="math-block"]:before,
+.vditor-ir__node[data-type="math-block"]:after {
+ content: ' ';
+ color: var(--second-color);
+}
+
+.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker {
+ padding: 0 !important;
+}
+
+.vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"] {
+ cursor: pointer;
+}
+
+.vditor-ir__node[data-type="link-ref"],
+.vditor-ir__node[data-type="footnotes-ref"] {
+ color: #4285f4;
+}
+
+.vditor-ir__node[data-type="html-block"] {
+ margin-bottom: 1em;
+}
+
+.vditor-ir__node .vditor-ir__marker {
+ width: 0;
+ overflow: hidden;
+ display: inline-block;
+ height: 0;
+ transition: all 0.15s ease-in-out;
+}
+
+.vditor-ir__node--hidden .vditor-ir__marker {
+ visibility: hidden;
+}
+
+.vditor-ir__node--expand .vditor-ir__marker {
+ color: var(--second-color);
+ display: inline;
+ height: auto;
+ width: auto;
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--hide {
+ display: none;
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--heading {
+ color: var(--ir-heading-color);
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--bi {
+ color: var(--ir-bi-color);
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--link {
+ color: var(--ir-link-color);
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--title {
+ color: var(--ir-title-color);
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--bracket {
+ color: var(--ir-bracket-color);
+ text-decoration: underline;
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--paren {
+ color: var(--ir-paren-color);
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--info {
+ color: var(--ir-heading-color);
+}
+
+.vditor-ir__node--expand .vditor-ir__marker--pre code {
+ color: var(--textarea-text-color);
+ height: auto;
+ text-align: left;
+}
+
+.vditor-ir__node--expand[data-type="code-block"]:before,
+.vditor-ir__node--expand[data-type="code-block"]:after {
+ content: '```';
+}
+
+.vditor-ir__node--expand[data-type="yaml-front-matter"]:before,
+.vditor-ir__node--expand[data-type="yaml-front-matter"]:after {
+ content: '---';
+}
+
+.vditor-ir__node--expand[data-type="math-block"]:before,
+.vditor-ir__node--expand[data-type="math-block"]:after {
+ content: '$$';
+}
+
+.vditor-ir__node span[data-type="code-block-open-marker"],
+.vditor-ir__node span[data-type="code-block-close-marker"],
+.vditor-ir__node span[data-type="yaml-front-matter-open-marker"],
+.vditor-ir__node span[data-type="yaml-front-matter-close-marker"],
+.vditor-ir__node span[data-type="math-block-open-marker"],
+.vditor-ir__node span[data-type="math-block-close-marker"] {
+ display: none;
+}
+
+.vditor-ir__preview {
+ cursor: pointer;
+ white-space: initial;
+ min-height: 27px;
+}
+
+.vditor-ir__link {
+ color: var(--ir-bracket-color);
+ text-decoration: underline;
+}
+
+.vditor-ir pre.vditor-reset {
+ background-color: var(--panel-background-color);
+ margin: 0;
+ white-space: pre-wrap;
+ height: 100%;
+ box-sizing: border-box;
+}
+
+.vditor-ir pre.vditor-reset[contenteditable="false"] {
+ opacity: 0.3;
+ cursor: not-allowed;
+}
+
+.vditor-ir pre.vditor-reset:empty::before {
+ content: attr(placeholder);
+ color: var(--second-color);
+}
+
+.vditor-ir pre.vditor-reset:focus {
+ outline: none;
+ background-color: var(--textarea-background-color);
+}
+
+.vditor-ir pre.vditor-reset:after {
+ content: "";
+ height: var(--editor-bottom);
+ display: block;
+}
+
+.vditor-ir pre.vditor-reset pre {
+ margin: 0;
+}
+
+.vditor-ir hr {
+ display: inline-block;
+ margin: 12px 0;
+ width: 100%;
+}
+
+.vditor-ir blockquote:empty::before,
+.vditor-ir pre > code:empty::before,
+.vditor-ir p:empty::before,
+.vditor-ir h1:empty::after,
+.vditor-ir h2:empty::after,
+.vditor-ir h3:empty::after,
+.vditor-ir h4:empty::after,
+.vditor-ir h5:empty::after,
+.vditor-ir h6:empty::after {
+ content: ' ';
+}
+
+.vditor-ir .vditor-reset > h1:before,
+.vditor-ir .vditor-reset > h2:before,
+.vditor-ir .vditor-reset > h3:before,
+.vditor-ir .vditor-reset > h4:before,
+.vditor-ir .vditor-reset > h5:before,
+.vditor-ir .vditor-reset > h6:before,
+.vditor-ir div[data-type="link-ref-defs-block"]:before,
+.vditor-ir div[data-type="footnotes-block"]:before,
+.vditor-ir .vditor-toc:before {
+ float: left;
+ padding-right: 4px;
+ margin-left: -29px;
+ content: 'H1';
+ font-size: 0.85rem;
+ font-weight: normal;
+ color: var(--second-color);
+}
+
+.vditor-ir .vditor-reset > h2:before {
+ content: 'H2';
+}
+
+.vditor-ir .vditor-reset > h3:before {
+ content: 'H3';
+}
+
+.vditor-ir .vditor-reset > h4:before {
+ content: 'H4';
+}
+
+.vditor-ir .vditor-reset > h5:before {
+ content: 'H5';
+}
+
+.vditor-ir .vditor-reset > h6:before {
+ content: 'H6';
+}
+
+.vditor-ir div[data-type="link-ref-defs-block"] {
+ color: var(--blockquote-color);
+}
+
+.vditor-ir div[data-type="link-ref-defs-block"]:before {
+ content: '"A"';
+}
+
+.vditor-ir div[data-type="footnotes-block"] {
+ border-top: 2px solid var(--heading-border-color);
+ padding-top: 24px;
+ margin-top: 24px;
+}
+
+.vditor-ir div[data-type="footnotes-block"]:before {
+ content: '^F';
+}
+
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ul,
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ol,
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > p,
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > blockquote,
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > pre,
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > table,
+.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > hr {
+ margin-left: 8px;
+}
+
+.vditor-ir .vditor-toc:before {
+ content: "ToC";
+}
+
+.vditor-ir .vditor-toc span[data-type="toc-h"] {
+ color: #4285f4;
+ text-decoration: underline;
+}
+
+@media screen and (max-width: 520px) {
+ .vditor-ir h1:before,
+ .vditor-ir h2:before,
+ .vditor-ir h3:before,
+ .vditor-ir h4:before,
+ .vditor-ir h5:before,
+ .vditor-ir h6:before,
+ .vditor-ir div[data-type="link-ref-defs-block"]:before,
+ .vditor-ir div[data-type="footnotes-block"]:before,
+ .vditor-ir .vditor-toc:before {
+ content: none;
+ }
+}
+
+.vditor-sv {
+ font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
+ margin: 0 1px 0 0;
+ overflow: auto;
+ width: 100%;
+ flex: 1;
+ min-width: 1px;
+ border: 0;
+ resize: none;
+ padding: 10px 9px 10px 10px;
+ box-sizing: border-box;
+ background-color: var(--panel-background-color);
+ outline: 0 none;
+ font-size: 16px;
+ line-height: 22px;
+ color: var(--textarea-text-color);
+ border-radius: 0 0 3px 3px;
+ font-variant-ligatures: no-common-ligatures;
+ white-space: pre-wrap;
+ word-break: break-word;
+ word-wrap: break-word;
+}
+
+.vditor-sv[contenteditable="false"] {
+ opacity: 0.3;
+ cursor: not-allowed;
+}
+
+.vditor-sv:empty::before {
+ content: attr(placeholder);
+ color: var(--second-color);
+}
+
+.vditor-sv:focus {
+ background-color: var(--textarea-background-color);
+}
+
+.vditor-sv:after {
+ content: "";
+ height: var(--editor-bottom);
+ display: block;
+}
+
+.vditor-sv span[data-type="newline"] + span[data-type="text"]:empty {
+ display: inherit;
+}
+
+.vditor-sv .sup {
+ vertical-align: super;
+ font-size: smaller;
+}
+
+.vditor-sv .strong {
+ font-weight: bold;
+}
+
+.vditor-sv .em {
+ font-style: italic;
}
-.user-info[data-v-85dbde90] {
- display: flex;
- align-items: center;
- padding: 10px;
- border-bottom: 1px solid #e7e5e5;
- height: 3em;
+
+.vditor-sv .s {
+ text-decoration: line-through;
}
-.user-info-img[data-v-85dbde90] {
- height: 100%;
- border-radius: 50%;
+
+.vditor-sv .mark:not(.vditor-sv__marker) {
+ background-color: yellow;
+ color: black;
}
-.user-info-nickname[data-v-85dbde90] {
- margin-left: 5px;
- font-size: 1em;
- font-weight: 400;
+
+.vditor-sv .h1 {
+ font-size: 1.75em;
+ line-height: 44px;
}
-.menu-item[data-v-85dbde90] {
- padding: 10px;
- border-bottom: 1px solid #e7e5e5;
- cursor: pointer;
+
+.vditor-sv .h2 {
+ font-size: 1.55em;
+ line-height: 38px;
}
-.menu-item-text[data-v-85dbde90] {
- font-size: 0.9em;
- color: #5d5c5c;
+
+.vditor-sv .h3 {
+ font-size: 1.38em;
+ line-height: 27px;
}
+.vditor-sv .h4 {
+ font-size: 1.25em;
+ line-height: 25px;
+}
-/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/nav/left/AppLeftNavSM.vue?vue&type=style&index=0&id=573bae43&scoped=true&lang=css ***!
- \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.vditor-sv .h5 {
+ font-size: 1.13em;
+}
-.left-side[data-v-573bae43] {
- height: 100%;
- background-color: #F8F8FA;
- transition: transform 0.5s ease;
- position: fixed;
- top: 0;
- box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
- z-index: 4;
+.vditor-sv .h6 {
+ font-size: 1em;
}
-.no-collapsed[data-v-573bae43] {
- width: 200px;
- transform: translateX(0);
+
+.vditor-sv__marker {
+ color: var(--second-color);
}
-.collapsed[data-v-573bae43] {
- transform: translateX(-100%);
+
+.vditor-sv__marker--heading {
+ color: var(--ir-heading-color);
}
-.no-collapsed-header-bar[data-v-573bae43] {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 15px 10px 10px 15px;
+
+.vditor-sv__marker--bi {
+ color: var(--ir-bi-color);
}
-.collapsed-header-bar[data-v-573bae43] {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 15px auto;
+
+.vditor-sv__marker--link {
+ color: var(--ir-link-color);
}
-/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/nav/left/AppLeftNavNonSM.vue?vue&type=style&index=0&id=4c3820ee&scoped=true&lang=css ***!
- \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+.vditor-sv__marker--title {
+ color: var(--ir-title-color);
+}
-.left-side[data-v-4c3820ee] {
- height: 100%;
- background-color: #F8F8FA;
- transition: width 0.5s ease;
- flex-shrink: 0;
+.vditor-sv__marker--bracket {
+ color: var(--ir-bracket-color);
}
-.no-collapsed[data-v-4c3820ee] {
- width: 200px;
+
+.vditor-sv__marker--paren {
+ color: var(--ir-paren-color);
}
-.collapsed[data-v-4c3820ee] {
- width: 50px;
+
+.vditor-sv__marker--info {
+ color: var(--ir-heading-color);
}
-.no-collapsed-header-bar[data-v-4c3820ee] {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 15px 10px 10px 15px;
+
+.vditor-sv__marker--strong {
+ font-weight: bold;
}
-.collapsed-header-bar[data-v-4c3820ee] {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 15px auto;
+
+@media only screen and (max-width: 450px) {
+ .vditor-reset h1 {
+ font-size: 1.3em;
+ }
+
+ .vditor-reset h2 {
+ font-size: 1.1em;
+ }
+
+ .vditor-reset h3 {
+ font-size: 1em;
+ }
+
+ .vditor-reset h4 {
+ font-size: 1em;
+ }
+
+ .vditor-reset h5 {
+ font-size: 1em;
+ }
+
+ .vditor-reset h6 {
+ font-size: 1em;
+ }
+
+ .vditor-reset p {
+ margin-top: 0;
+ margin-bottom: 10px;
+ }
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
@@ -835,6 +2978,7 @@ h1[data-v-73578860] {
cursor: pointer;
height: 100%;
}
+
.search-bar button[data-v-a7f024e4]:disabled {
background-color: #e0e0e0;
border-color: #e0e0e0;
@@ -842,47 +2986,63 @@ h1[data-v-73578860] {
cursor: not-allowed;
}
-/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/editor/cursorSearch/SearchResults.vue?vue&type=style&index=0&id=5527cb1e&scoped=true&lang=css ***!
- \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css ***!
+ \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
-.at-search-result[data-v-5527cb1e] {
- margin: 0 5px;
- padding: 5px;
- cursor: pointer;
- min-height: 2.5em;
+.result-tab-go[data-v-4f42ee16] {
+ opacity: 0;
+ display: flex;
+ align-items: center;
+ font-size: 0.8em;
+ color: #333;
}
-.at-search-result[data-v-5527cb1e]:hover {
- background-color: #eeeeee;
+
+.show-tab[data-v-4f42ee16] {
+ opacity: 1;
+}
+
+span[data-v-4f42ee16] {
+ margin-right: 2px;
+}
+
+img[data-v-4f42ee16] {
+ width: 10px;
+ height: 10px;
}
-.header[data-v-5527cb1e] {
+
+
+/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css ***!
+ \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+
+.header[data-v-3f3f66f4] {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 5px;
}
-.result-title[data-v-5527cb1e] {
+
+.result-title[data-v-3f3f66f4] {
font-weight: 500;
font-size: 0.9em;
color: #333;
overflow: hidden;
}
-.tab[data-v-5527cb1e] {
- opacity: 0;
- display: flex;
- align-items: center;
- font-size: 0.8em;
- color: #333;
-}
-.show-tab[data-v-5527cb1e] {
- opacity: 1;
-}
-.tab span[data-v-5527cb1e] {
- margin-right: 2px;
+
+
+/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/editor/cursorSearch/SearchResults.vue?vue&type=style&index=0&id=5527cb1e&scoped=true&lang=css ***!
+ \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+
+.at-search-result[data-v-5527cb1e] {
+ margin: 0 5px;
+ padding: 5px;
+ cursor: pointer;
+ min-height: 2.5em;
}
-.tab img[data-v-5527cb1e] {
- width: 10px;
- height: 10px;
+.at-search-result[data-v-5527cb1e]:hover {
+ background-color: #eeeeee;
}
.result-snippet[data-v-5527cb1e] {
font-size: 0.8em;
@@ -961,6 +3121,8 @@ h1[data-v-73578860] {
.linked-nodes-vertical[data-v-399c6114] {
width: 300px;
+ min-width: 150px;
+ margin-left: 10px;
height: calc(100% - 100px);
overflow-y: auto;
--mask: linear-gradient(to bottom,
@@ -1050,8 +3212,9 @@ h1[data-v-73578860] {
filter: invert(0.5);
}
.snippet[data-v-399c6114] {
- max-height: 150px;
+ max-height: 110px;
font-size: 0.9em;
+ word-spacing: 1px;
text-align: left;
padding: 0 0 8px 0;
line-height: 1.5em;
@@ -1060,6 +3223,7 @@ h1[data-v-73578860] {
overflow-wrap: break-word;
overflow: hidden;
}
+
.snippet-expanded[data-v-399c6114] {
max-height: 400px;
overflow-y: auto;
@@ -1067,13 +3231,32 @@ h1[data-v-73578860] {
overflow-wrap: break-word;
}
+/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css ***!
+ \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+
+.loading[data-v-1bc9a6f2] {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100%;
+ margin: 0 auto;
+}
+
+.circle[data-v-1bc9a6f2] {
+ height: 50px;
+}
+
+.dots[data-v-1bc9a6f2] {
+ width: 60px;
+}
+
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/editor/AppNodeEditPanel.vue?vue&type=style&index=0&id=220b40cb&scoped=true&lang=css ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.main[data-v-220b40cb] {
height: 100%;
- padding-top: 10px;
flex: 1;
display: flex;
flex-direction: column;
@@ -1089,15 +3272,16 @@ h1[data-v-73578860] {
height: 100%;
}
.work-place-sm[data-v-220b40cb] {
+ padding-top: 5px;
flex-direction: column;
- height: 100%;
}
.md-editor[data-v-220b40cb] {
- flex: 2;
+ flex: 4;
border: 1px solid #e5e5e5;
- min-width: 500px;
+ min-width: 700px;
}
.md-editor-sm[data-v-220b40cb] {
+ flex: 0;
min-width: auto;
}
@@ -1224,7 +3408,7 @@ h1[data-v-73578860] {
.header-component[data-v-2f83367a] {
position: relative;
- margin: 5px 10px 20px 0;
+ margin: 5px 5px 5px 0;
display: flex;
align-items: center;
}
@@ -1405,23 +3589,19 @@ table.view {
overflow-y: auto;
display: block;
}
-
tr {
height: 3.5em;
border-bottom: 1px solid #efefef;
}
-
tr:first-child {
position: sticky;
top: 0;
background-color: #fff;
z-index: 1;
}
-
.cb-hide {
display: none;
}
-
.checkbox {
margin: 0;
padding: 0;
@@ -1429,23 +3609,18 @@ tr:first-child {
border-radius: 5px;
cursor: pointer;
}
-
.checkbox:checked {
background-color: #00a04b;
}
-
.checkbox:hover {
background-color: #eaeaea;
}
-
.pointer {
cursor: pointer;
}
-
tr.tr-sm {
font-size: 1em;
}
-
td.multi-select {
padding: 0 5px;
width: 2%;
@@ -1569,26 +3744,36 @@ tr.tr-sm .node-more-ops {
.batch-ops[data-v-0e836fc1] {
display: flex;
- justify-content: flex-end;
- margin: 0 0 0 1rem;
}
+
+.batch-ops-sm[data-v-0e836fc1] {
+ margin: 0 2px 0 0;
+}
+
.batch-ops button[data-v-0e836fc1] {
- padding: 4px 10px;
+ padding: 7px 15px;
border-bottom: 1px solid #e7e7e7;
border-right: 1px solid #e7e7e7;
border-left: none;
border-top: 1px solid #e7e7e7;
background-color: #fff;
- font-size: 0.9em;
color: #616161;
+ cursor: pointer;
+}
+
+.batch-ops-sm button[data-v-0e836fc1] {
+ padding: 7px;
}
+
.batch-ops .first-btn[data-v-0e836fc1] {
border-radius: 5px 0 0 5px;
border-left: 1px solid #e7e7e7;
}
+
.batch-ops .last-btn[data-v-0e836fc1] {
border-radius: 0 5px 5px 0;
}
+
.batch-ops button[data-v-0e836fc1]:hover {
background-color: #e7e7e7;
}
@@ -1623,6 +3808,7 @@ tr.tr-sm .node-more-ops {
border-radius: 5px;
box-sizing: border-box;
padding: 10px 5px 5px 10px;
+ margin-top: 10px;
transition: all 0.3s;
flex-shrink: 0;
}
@@ -1724,13 +3910,6 @@ tr.tr-sm .node-more-ops {
cursor: default;
margin-bottom: 10px;
}
-.node-title[data-v-19c64c31] {
- font-size: 1.1em;
- font-weight: 600;
- padding-top: 5px;
- color: #333;
- overflow-x: hidden;
-}
.node-time[data-v-19c64c31] {
font-size: 0.8em;
padding-top: 10px;
@@ -1759,16 +3938,17 @@ tr.tr-sm .node-more-ops {
border-bottom: 1px solid #eaeaea;
}
.group[data-v-ece83eac] {
- -moz-column-count: 2;
- column-count: 2;
- -moz-column-gap: 10px;
- column-gap: 10px;
+ display: flex;
+ flex-wrap: wrap;
+ width: 100vw;
+ height: auto;
padding-top: 10px;
}
.item[data-v-ece83eac] {
display: flex;
align-items: center;
padding: 5px;
+ width: 46%;
cursor: pointer;
}
.recent-icon[data-v-ece83eac] {
@@ -1779,6 +3959,8 @@ tr.tr-sm .node-more-ops {
.recent-text[data-v-ece83eac] {
font-size: 0.9em;
color: #333;
+ max-width: 100%;
+ overflow-x: hidden;
}
.no-search-result[data-v-ece83eac] {
flex: 1;
@@ -1834,7 +4016,6 @@ tr.tr-sm .node-more-ops {
outline: none;
background: transparent;
}
-
.cancel[data-v-6fddd196] {
font-size: 1em;
color: #056de8;
@@ -1857,7 +4038,6 @@ tr.tr-sm .node-more-ops {
border-width: 2px;
border-radius: 8px;
}
-
.hidden-input[data-v-a421d7c6] {
opacity: 0;
overflow: hidden;
@@ -1865,7 +4045,6 @@ tr.tr-sm .node-more-ops {
width: 1px;
height: 1px;
}
-
.file-label[data-v-a421d7c6] {
font-size: 1.3em;
font-weight: 300;
@@ -1873,12 +4052,10 @@ tr.tr-sm .node-more-ops {
text-align: center;
cursor: pointer;
}
-
.click-upload[data-v-a421d7c6] {
text-underline-offset: 0.1em;
text-decoration: underline;
}
-
.preview-container[data-v-a421d7c6] {
display: flex;
margin-top: 2rem;
@@ -1887,7 +4064,6 @@ tr.tr-sm .node-more-ops {
overflow-y: auto;
color: #666;
}
-
.preview-card[data-v-a421d7c6] {
display: flex;
align-items: center;
@@ -1896,7 +4072,6 @@ tr.tr-sm .node-more-ops {
padding: 5px;
margin: 5px 5px 0 0;
}
-
.preview-img[data-v-a421d7c6] {
width: 50px;
height: 50px;
@@ -1904,7 +4079,6 @@ tr.tr-sm .node-more-ops {
border: 1px solid #a2a2a2;
background-color: #a2a2a2;
}
-
.filename[data-v-a421d7c6] {
margin: 0 0 0 5px;
font-size: 0.8rem;
@@ -1913,23 +4087,19 @@ tr.tr-sm .node-more-ops {
text-overflow: ellipsis;
white-space: nowrap;
}
-
.ml-2[data-v-a421d7c6] {
margin-left: 0.5rem;
border: none;
background: none;
cursor: pointer;
}
-
.ml-2[data-v-a421d7c6]:hover {
color: #ff0000;
}
-
.submit-div[data-v-a421d7c6] {
display: flex;
justify-content: center;
}
-
.submit[data-v-a421d7c6] {
margin: 0.5rem auto;
padding: 1rem 1rem;
@@ -1941,7 +4111,6 @@ tr.tr-sm .node-more-ops {
cursor: pointer;
width: 400px;
}
-
.submit[data-v-a421d7c6]:disabled {
background-color: #a0aec0;
cursor: not-allowed;
@@ -1963,7 +4132,6 @@ tr.tr-sm .node-more-ops {
justify-content: center;
align-items: center;
}
-
.upload-window[data-v-1f422cd2] {
width: 80%;
max-width: 600px;
@@ -1974,34 +4142,28 @@ tr.tr-sm .node-more-ops {
flex-direction: column;
gap: 10px;
}
-
.close[data-v-1f422cd2] {
width: 20px;
height: 20px;
align-self: flex-end;
cursor: pointer;
}
-
.title[data-v-1f422cd2] {
font-size: 1.2em;
font-weight: bold;
}
-
.description[data-v-1f422cd2] {
font-size: 1em;
color: #666;
}
-
.requirements[data-v-1f422cd2] {
font-size: 0.9em;
color: #666;
}
-
.requirements ol[data-v-1f422cd2] {
margin: 5px 5px 5px 20px;
padding-left: 10px;
}
-
.requirements li[data-v-1f422cd2] {
margin: 5px 0;
}
@@ -2022,7 +4184,6 @@ tr.tr-sm .node-more-ops {
justify-content: center;
align-items: center;
}
-
.upload-window[data-v-3614a3b8] {
width: 80%;
max-width: 600px;
@@ -2033,34 +4194,28 @@ tr.tr-sm .node-more-ops {
flex-direction: column;
gap: 10px;
}
-
.close[data-v-3614a3b8] {
width: 20px;
height: 20px;
align-self: flex-end;
cursor: pointer;
}
-
.title[data-v-3614a3b8] {
font-size: 1.2em;
font-weight: bold;
}
-
.description[data-v-3614a3b8] {
font-size: 1em;
color: #666;
}
-
.requirements[data-v-3614a3b8] {
font-size: 0.9em;
color: #666;
}
-
.requirements ol[data-v-3614a3b8] {
margin: 5px 5px 5px 20px;
padding-left: 10px;
}
-
.requirements li[data-v-3614a3b8] {
margin: 5px 0;
}
@@ -2075,6 +4230,11 @@ tr.tr-sm .node-more-ops {
max-width: 1200px;
}
+.import-view-sm[data-v-7637bc9c] {
+ width: 100%;
+ margin: 5px auto;
+}
+
h1[data-v-7637bc9c] {
text-align: center;
margin-bottom: 90px;
@@ -2087,12 +4247,19 @@ h1[data-v-7637bc9c] {
margin: 10px auto;
}
+.import-methods-sm[data-v-7637bc9c] {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 30px;
+ width: 95%;
+}
+
.method[data-v-7637bc9c] {
display: flex;
flex-direction: row;
align-items: center;
}
-
.method img[data-v-7637bc9c] {
width: 50px;
height: 50px;
@@ -2104,17 +4271,20 @@ h1[data-v-7637bc9c] {
width: 200px;
}
+.middle-text-sm[data-v-7637bc9c] {
+ width: 100%;
+ margin: 0 5px;
+}
+
.middle-text h3[data-v-7637bc9c] {
margin: 0 0 10px 0;
font-weight: 600;
}
-
.middle-text p[data-v-7637bc9c] {
margin: 0;
font-size: 0.8rem;
color: #666;
}
-
.method button[data-v-7637bc9c] {
width: 100px;
height: 50px;
@@ -2125,7 +4295,6 @@ h1[data-v-7637bc9c] {
margin-left: 10px;
cursor: pointer;
}
-
.method button[data-v-7637bc9c]:hover {
background: #eee;
}
diff --git a/src/rethink/dist-local/css/chunk-vendors.2ecffdcd.css b/src/rethink/dist-local/css/chunk-vendors.2ecffdcd.css
deleted file mode 100644
index bd529f4..0000000
--- a/src/rethink/dist-local/css/chunk-vendors.2ecffdcd.css
+++ /dev/null
@@ -1,1794 +0,0 @@
-/*!**********************************************************************************************************************************************************************************!*\
- !*** css ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/vditor/dist/index.css ***!
- \**********************************************************************************************************************************************************************************/
-/*!
- * Vditor v3.9.4 - A markdown editor written in TypeScript.
- *
- * MIT License
- *
- * Copyright (c) 2018-present B3log 开源, b3log.org
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- */
-.vditor {
- --border-color: #d1d5da;
- --second-color: rgba(88, 96, 105, 0.36);
- --panel-background-color: #fff;
- --panel-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
- --toolbar-background-color: #f6f8fa;
- --toolbar-icon-color: #586069;
- --toolbar-icon-hover-color: #4285f4;
- --toolbar-height: 35px;
- --toolbar-divider-margin-top: 8px;
- --textarea-background-color: #fafbfc;
- --textarea-text-color: #24292e;
- --resize-icon-color: var(--toolbar-icon-color);
- --resize-background-color: var(--toolbar-background-color);
- --resize-hover-icon-color: var(--panel-background-color);
- --resize-hover-background-color: var(--toolbar-icon-hover-color);
- --count-background-color: rgba(27, 31, 35, 0.05);
- --heading-border-color: #eaecef;
- --blockquote-color: #6a737d;
- --ir-heading-color: #660e7a;
- --ir-title-color: #808080;
- --ir-bi-color: #0033b3;
- --ir-link-color: #008000;
- --ir-bracket-color: #0000ff;
- --ir-paren-color: #008000;
-}
-.vditor--dark {
- --border-color: #141414;
- --second-color: rgba(185, 185, 185, 0.36);
- --panel-background-color: #24292e;
- --panel-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
- --toolbar-background-color: #1d2125;
- --toolbar-icon-color: #b9b9b9;
- --toolbar-icon-hover-color: #fff;
- --textarea-background-color: #2f363d;
- --textarea-text-color: #d1d5da;
- --resize-icon-color: var(--border-color);
- --resize-background-color: var(--second-color);
- --resize-hover-icon-color: var(--toolbar-icon-hover-color);
- --resize-hover-background-color: rgba(185, 185, 185, 0.86);
- --count-background-color: rgba(66, 133, 244, 0.36);
- --heading-border-color: var(--textarea-text-color);
- --blockquote-color: var(--toolbar-icon-color);
- --ir-heading-color: #9876aa;
- --ir-title-color: #808080;
- --ir-bi-color: #cc7832;
- --ir-link-color: #ffc66d;
- --ir-bracket-color: #287bde;
- --ir-paren-color: #6a8759;
-}
-/**
- * tool tip.
- *
- * @author Liyuan Li
- * @version 0.1.0.0, Jan 25, 2019
- */
-@keyframes tooltip-appear {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-.vditor-tooltipped {
- position: relative;
- cursor: pointer;
-}
-.vditor-tooltipped::after {
- position: absolute;
- z-index: 1000000;
- display: none;
- padding: 5px 8px;
- font-size: 11px;
- font-weight: normal;
- -webkit-font-smoothing: subpixel-antialiased;
- color: #fff;
- text-align: center;
- text-decoration: none;
- text-shadow: none;
- text-transform: none;
- letter-spacing: normal;
- word-wrap: break-word;
- white-space: pre;
- pointer-events: none;
- content: attr(aria-label);
- background: #3b3e43;
- border-radius: 3px;
- line-height: 16px;
- opacity: 0;
-}
-.vditor-tooltipped::before {
- position: absolute;
- z-index: 1000001;
- display: none;
- width: 0;
- height: 0;
- color: #3b3e43;
- pointer-events: none;
- content: "";
- border: 5px solid transparent;
- opacity: 0;
-}
-.vditor-tooltipped--hover::before,
-.vditor-tooltipped--hover::after,
-.vditor-tooltipped:hover::before,
-.vditor-tooltipped:hover::after,
-.vditor-tooltipped:active::before,
-.vditor-tooltipped:active::after,
-.vditor-tooltipped:focus::before,
-.vditor-tooltipped:focus::after {
- display: inline-block;
- text-decoration: none;
- animation-name: tooltip-appear;
- animation-duration: 0.15s;
- animation-fill-mode: forwards;
- animation-timing-function: ease-in;
-}
-.vditor-tooltipped__s::after,
-.vditor-tooltipped__se::after,
-.vditor-tooltipped__sw::after {
- top: 100%;
- right: 50%;
- margin-top: 5px;
-}
-.vditor-tooltipped__s::before,
-.vditor-tooltipped__se::before,
-.vditor-tooltipped__sw::before {
- top: auto;
- right: 50%;
- bottom: -5px;
- margin-right: -5px;
- border-bottom-color: #3b3e43;
-}
-.vditor-tooltipped__se::after {
- right: auto;
- left: 50%;
- margin-left: -15px;
-}
-.vditor-tooltipped__sw::after {
- margin-right: -15px;
-}
-.vditor-tooltipped__n::after,
-.vditor-tooltipped__ne::after,
-.vditor-tooltipped__nw::after {
- right: 50%;
- bottom: 100%;
- margin-bottom: 5px;
-}
-.vditor-tooltipped__n::before,
-.vditor-tooltipped__ne::before,
-.vditor-tooltipped__nw::before {
- top: -5px;
- right: 50%;
- bottom: auto;
- margin-right: -5px;
- border-top-color: #3b3e43;
-}
-.vditor-tooltipped__ne::after {
- right: auto;
- left: 50%;
- margin-left: -15px;
-}
-.vditor-tooltipped__nw::after {
- margin-right: -15px;
-}
-.vditor-tooltipped__s::after,
-.vditor-tooltipped__n::after {
- transform: translateX(50%);
-}
-.vditor-tooltipped__w::after {
- right: 100%;
- bottom: 50%;
- margin-right: 5px;
- transform: translateY(50%);
-}
-.vditor-tooltipped__w::before {
- top: 50%;
- bottom: 50%;
- left: -5px;
- margin-top: -5px;
- border-left-color: #3b3e43;
-}
-.vditor-tooltipped__e::after {
- bottom: 50%;
- left: 100%;
- margin-left: 5px;
- transform: translateY(50%);
-}
-.vditor-tooltipped__e::before {
- top: 50%;
- right: -5px;
- bottom: 50%;
- margin-top: -5px;
- border-right-color: #3b3e43;
-}
-@media screen and (max-width: 520px) {
- .vditor-tooltipped:before,
- .vditor-tooltipped:after {
- content: none;
- }
-}
-/**
- * panel.
- *
- * @author Liyuan Li
- * @version 1.0.0.0, Jan 22, 2020
- */
-@keyframes scale-in {
- 0% {
- opacity: 0;
- transform: scale(0.5);
- }
- 100% {
- opacity: 1;
- transform: scale(1);
- }
-}
-.vditor-panel {
- background-color: var(--panel-background-color);
- position: absolute;
- box-shadow: var(--panel-shadow);
- border-radius: 3px;
- padding: 5px;
- z-index: 3;
- font-size: 14px;
- display: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- max-width: 320px;
- min-width: 80px;
- animation-duration: 0.15s;
- animation-name: scale-in;
- animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
- color: var(--toolbar-icon-color);
-}
-.vditor-panel--none {
- padding: 0;
- animation: none;
- min-width: auto;
- max-width: none;
- white-space: nowrap;
- opacity: 0.86;
-}
-.vditor-panel--arrow:before {
- position: absolute;
- width: 0;
- height: 0;
- pointer-events: none;
- content: " ";
- border: 7px solid transparent;
- top: -14px;
- left: 5px;
- border-bottom-color: var(--panel-background-color);
-}
-.vditor-panel--left {
- right: 0;
-}
-.vditor-panel--left.vditor-panel--arrow:before {
- right: 5px;
- left: auto;
-}
-.vditor-input {
- border: 0;
- padding: 3px 5px;
- background-color: var(--panel-background-color);
- font-size: 12px;
- color: var(--textarea-text-color);
-}
-.vditor-input:focus {
- background-color: var(--toolbar-background-color);
- outline: none;
-}
-.vditor-icon {
- color: var(--toolbar-icon-color);
- cursor: pointer;
- float: left;
- padding: 4px 5px;
- height: 21px;
- width: 23px;
- background-color: transparent;
- border: 0;
- box-sizing: border-box;
-}
-.vditor-icon:hover,
-.vditor-icon--current {
- color: var(--toolbar-icon-hover-color);
- background-color: transparent;
-}
-.vditor-icon:focus {
- outline: none;
-}
-.vditor-icon svg {
- height: 13px !important;
- width: 13px !important;
- float: left;
- fill: currentColor;
- pointer-events: none;
-}
-.vditor-toolbar {
- background-color: var(--toolbar-background-color);
- border-bottom: 1px solid var(--border-color);
- padding: 0 5px;
- line-height: 1;
-}
-.vditor-toolbar--pin {
- position: sticky;
- top: 0;
- z-index: 1;
-}
-.vditor-toolbar--hide {
- transition: all 0.15s ease-in-out;
- height: 5px;
- overflow: hidden;
-}
-.vditor-toolbar--hide:hover {
- background-color: var(--toolbar-background-color);
- height: auto;
- overflow: visible;
-}
-.vditor-toolbar__item {
- float: left;
- position: relative;
-}
-.vditor-toolbar__item .vditor-tooltipped {
- color: var(--toolbar-icon-color);
- border: 0;
- padding: 10px 5px;
- background-color: transparent;
- height: var(--toolbar-height);
- width: 25px;
- box-sizing: border-box;
- font-size: 0;
-}
-.vditor-toolbar__item .vditor-tooltipped:focus {
- outline: none;
-}
-.vditor-toolbar__item .vditor-tooltipped:focus {
- cursor: pointer;
- color: var(--toolbar-icon-hover-color);
-}
-.vditor-toolbar__item svg {
- fill: currentColor;
- display: inline-block;
- stroke-width: 0;
- stroke: currentColor;
- width: 15px;
- height: 15px;
-}
-.vditor-toolbar__item input {
- position: absolute;
- width: 25px;
- height: var(--toolbar-height);
- top: 0;
- left: 0;
- cursor: pointer;
- opacity: 0.001;
- overflow: hidden;
-}
-.vditor-toolbar__divider {
- float: left;
- height: calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));
- border-left: 1px solid var(--second-color);
- margin: var(--toolbar-divider-margin-top) 8px;
-}
-.vditor-toolbar__br {
- width: 100%;
- padding: 0 !important;
- height: 0 !important;
-}
-.vditor-menu--current {
- color: var(--toolbar-icon-hover-color) !important;
-}
-.vditor-menu--disabled {
- color: var(--second-color) !important;
- cursor: not-allowed !important;
-}
-.vditor-emojis {
- display: inline-block;
- overflow: auto;
-}
-.vditor-emojis::-webkit-scrollbar {
- display: none;
-}
-.vditor-emojis__tip {
- flex: 1;
- min-width: 1px;
- width: 200px;
- margin-right: 10px;
- color: var(--toolbar-icon-color);
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
-}
-.vditor-emojis__tail {
- margin-top: 5px;
- font-size: 12px;
- color: var(--toolbar-icon-color);
- display: flex;
-}
-.vditor-emojis__tail a {
- text-decoration: none;
- color: var(--toolbar-icon-color);
-}
-.vditor-emojis__tail a:hover {
- color: var(--toolbar-icon-hover-color);
-}
-.vditor-emojis button {
- cursor: pointer;
- border-radius: 3px;
- float: left;
- height: 30px;
- width: 30px;
- text-align: center;
- line-height: 26px;
- padding: 3px;
- box-sizing: border-box;
- font-size: 16px;
- transition: all 0.15s ease-in-out;
- border: 0;
- margin: 0;
- background-color: transparent;
- overflow: hidden;
-}
-.vditor-emojis button:focus {
- outline: none;
-}
-.vditor-emojis button:hover .vditor-emojis__icon {
- display: inline-block;
- transform: scale(1.2);
-}
-.vditor-emojis img {
- height: 20px;
- width: 20px;
- float: left;
- margin: 3px 0 0 3px;
-}
-@media screen and (max-width: 520px) {
- .vditor-toolbar__item {
- padding: 0 12px;
- }
- .vditor-panel--left.vditor-panel--arrow:before {
- right: 17px;
- }
-}
-@media (hover: hover) and (pointer: fine) {
- .vditor-toolbar__item .vditor-tooltipped:hover {
- color: var(--toolbar-icon-hover-color);
- }
-}
-@keyframes slideInDown {
- from {
- transform: translate3d(0, -100%, 0);
- visibility: visible;
- }
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-.vditor {
- display: flex;
- flex-direction: column;
- border: 1px solid var(--border-color);
- border-radius: 3px;
- box-sizing: border-box;
- font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
-}
-.vditor .vditor-copy {
- z-index: auto;
-}
-.vditor--fullscreen {
- position: fixed;
- top: 0;
- width: 100% !important;
- left: 0;
- height: 100vh !important;
- z-index: 90;
- border-radius: 0;
-}
-.vditor-content {
- display: flex;
- min-height: 60px;
- flex: 1;
- min-width: 1px;
- position: relative;
-}
-.vditor-preview {
- flex: 1;
- min-width: 1px;
- overflow: auto;
- margin-left: -1px;
- border-left: 1px solid var(--border-color);
- box-sizing: border-box;
- border-radius: 0 0 3px 0;
- background-color: var(--textarea-background-color);
-}
-.vditor-preview::-webkit-scrollbar {
- display: none;
-}
-.vditor-preview__action {
- text-align: center;
- padding: 10px;
- background-color: var(--toolbar-background-color);
-}
-.vditor-preview__action button {
- background-color: var(--toolbar-background-color);
- color: var(--toolbar-icon-color);
- line-height: 20px;
- border: 0;
- margin: 0 10px;
- cursor: pointer;
- padding: 0 7px;
- font-size: 12px;
-}
-.vditor-preview__action button.vditor-preview__action--current,
-.vditor-preview__action button:hover {
- color: var(--toolbar-icon-hover-color);
- background-color: var(--toolbar-background-color);
-}
-.vditor-preview__action button:focus {
- outline: none;
-}
-.vditor-preview__action button svg {
- fill: currentColor;
- height: 15px;
- width: 15px;
- vertical-align: middle;
-}
-.vditor-preview > .vditor-reset {
- padding: 10px;
- margin: 0 auto;
-}
-.vditor-preview img:not(.emoji) {
- cursor: pointer;
-}
-.vditor-devtools {
- display: none;
- background-color: var(--textarea-background-color);
- overflow: auto;
- flex: 1;
- min-width: 1px;
- box-shadow: inset 1px 0 var(--border-color);
- box-sizing: border-box;
- border-radius: 0 0 3px 0;
- padding: 10px;
-}
-.vditor-counter {
- padding: 3px;
- color: var(--toolbar-icon-color);
- background-color: var(--count-background-color);
- border-radius: 3px;
- font-size: 12px;
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- float: right;
- margin: 8px 3px 0 0;
-}
-.vditor-counter--error {
- color: #d23f31;
- background-color: rgba(210, 63, 49, 0.1);
-}
-.vditor-resize {
- padding: 3px 0;
- cursor: row-resize;
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- position: absolute;
- width: 100%;
-}
-.vditor-resize--top {
- top: -3px;
-}
-.vditor-resize--bottom {
- bottom: -3px;
-}
-.vditor-resize > div {
- height: 3px;
- background-color: var(--resize-background-color);
- transition: all 0.15s ease-in-out;
-}
-.vditor-resize:hover > div,
-.vditor-resize--selected > div {
- background-color: var(--resize-hover-background-color);
-}
-.vditor-resize:hover svg,
-.vditor-resize--selected svg {
- color: var(--resize-hover-icon-color);
-}
-.vditor-resize svg {
- fill: currentColor;
- stroke-width: 0;
- stroke: currentColor;
- width: 13px;
- height: 3px;
- display: block;
- margin: 0 auto;
- color: var(--resize-icon-color);
-}
-.vditor-upload {
- position: absolute;
- height: 3px;
- left: 0;
- top: -2px;
- transition: all 0.15s ease-in-out;
- background-color: #4285f4;
-}
-.vditor-tip {
- position: absolute;
- font-size: 12px;
- top: 10px;
- animation-duration: 0.15s;
- animation-fill-mode: both;
- left: 50%;
- z-index: 5;
-}
-.vditor-tip--show {
- display: block;
- animation-name: slideInDown;
-}
-.vditor-tip__content {
- text-align: left;
- display: inline-block;
- line-height: 16px;
- padding: 3px 10px;
- border-radius: 3px;
- background: var(--toolbar-background-color);
- position: relative;
- margin-left: -50%;
- color: var(--toolbar-icon-color);
- max-width: 100%;
- box-shadow: var(--panel-shadow);
-}
-.vditor-tip__content ul {
- margin: 2px 0;
- padding: 0 0 0 18px;
-}
-.vditor-tip__content a {
- color: #4285f4;
-}
-.vditor-tip__close {
- position: absolute;
- color: var(--toolbar-icon-color);
- top: -7px;
- right: -15px;
- font-weight: bold;
- cursor: pointer;
-}
-.vditor-tip__close:hover {
- color: var(--toolbar-icon-hover-color);
-}
-.vditor-img {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- z-index: 3;
-}
-.vditor-img__bar {
- border-bottom: 1px solid var(--border-color);
- background-color: var(--toolbar-background-color);
- text-align: center;
- height: 36px;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-.vditor-img__btn {
- display: flex;
- align-items: center;
- cursor: pointer;
- margin-left: 24px;
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- color: var(--toolbar-icon-color);
-}
-.vditor-img__btn:hover {
- color: var(--toolbar-icon-hover-color);
-}
-.vditor-img__btn svg {
- height: 14px;
- width: 14px;
- margin-right: 8px;
- fill: currentColor;
-}
-.vditor-img__img {
- flex: 1;
- background-color: var(--textarea-background-color);
- overflow: auto;
- cursor: zoom-out;
-}
-.vditor-img__img img {
- max-width: none;
-}
-.vditor-hint {
- background-color: var(--panel-background-color);
- position: absolute;
- box-shadow: var(--panel-shadow);
- border-radius: 3px;
- padding: 5px 0;
- z-index: 4;
- line-height: 20px;
- list-style: none;
- font-size: 12px;
- margin: 0;
- max-width: 250px;
- min-width: 80px;
- display: none;
-}
-.vditor-hint .vditor-hint {
- margin-top: -31px;
- left: 100%;
- right: auto;
-}
-.vditor-hint .vditor-hint.vditor-panel--left {
- right: 100%;
- left: auto;
-}
-.vditor-hint button {
- color: var(--toolbar-icon-color);
- display: block;
- padding: 3px 10px;
- border: 0;
- border-radius: 0;
- line-height: 20px;
- width: 100%;
- box-sizing: border-box;
- text-align: left;
- margin: 0;
- background-color: transparent;
- cursor: pointer;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
-}
-.vditor-hint button:focus {
- outline: none;
-}
-.vditor-hint--current,
-.vditor-hint button:not(.vditor-menu--disabled):hover {
- background-color: var(--toolbar-background-color) !important;
- color: var(--toolbar-icon-hover-color) !important;
-}
-.vditor-hint__emoji {
- font-size: 16px;
- float: left;
- margin-right: 3px;
-}
-.vditor-hint img {
- height: 20px;
- width: 20px;
- float: left;
- margin-right: 3px;
-}
-.vditor-reset {
- color: #24292e;
- font-variant-ligatures: no-common-ligatures;
- font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- word-wrap: break-word;
- overflow: auto;
- line-height: 1.5;
- font-size: 16px;
- word-break: break-word;
-}
-.vditor-reset--anchor {
- padding-left: 20px;
-}
-.vditor-reset--error {
- color: #d23f31;
- font-size: 12px;
- display: block;
- line-height: 16px;
-}
-.vditor-reset ul ul ul {
- list-style-type: square;
-}
-.vditor-reset ul ul {
- list-style-type: circle;
-}
-.vditor-reset ul {
- list-style-type: disc;
-}
-.vditor-reset ul,
-.vditor-reset ol {
- padding-left: 2em;
- margin-top: 0;
- margin-bottom: 16px;
-}
-.vditor-reset li + li {
- margin-top: 0.25em;
-}
-.vditor-reset audio {
- max-width: 100%;
-}
-.vditor-reset audio:focus {
- outline: none;
-}
-.vditor-reset video {
- max-height: 90vh;
- max-width: 100%;
-}
-.vditor-reset img {
- max-width: 100%;
-}
-.vditor-reset img.emoji {
- cursor: auto;
- max-width: 20px;
- vertical-align: sub;
-}
-.vditor-reset h1,
-.vditor-reset h2,
-.vditor-reset h3,
-.vditor-reset h4,
-.vditor-reset h5,
-.vditor-reset h6 {
- margin-top: 24px;
- margin-bottom: 16px;
- font-weight: 600;
- line-height: 1.25;
-}
-.vditor-reset h1:hover .vditor-anchor svg,
-.vditor-reset h2:hover .vditor-anchor svg,
-.vditor-reset h3:hover .vditor-anchor svg,
-.vditor-reset h4:hover .vditor-anchor svg,
-.vditor-reset h5:hover .vditor-anchor svg,
-.vditor-reset h6:hover .vditor-anchor svg {
- visibility: visible;
-}
-.vditor-reset h1 {
- font-size: 1.75em;
-}
-.vditor-reset h2 {
- font-size: 1.55em;
-}
-.vditor-reset h3 {
- font-size: 1.38em;
-}
-.vditor-reset h4 {
- font-size: 1.25em;
-}
-.vditor-reset h5 {
- font-size: 1.13em;
-}
-.vditor-reset h6 {
- font-size: 1em;
-}
-.vditor-reset hr {
- height: 2px;
- padding: 0;
- margin: 24px 0;
- background-color: #eaecef;
- border: 0;
-}
-.vditor-reset p {
- margin-top: 0;
- margin-bottom: 16px;
-}
-.vditor-reset blockquote {
- padding: 0 1em;
- color: #6a737d;
- border-left: 0.25em solid #eaecef;
- margin: 0 0 16px 0;
-}
-.vditor-reset blockquote > :first-child {
- margin-top: 0;
-}
-.vditor-reset blockquote > :last-child {
- margin-bottom: 0;
-}
-.vditor-reset ins > iframe {
- border: 0;
-}
-.vditor-reset iframe {
- border: 1px solid #d1d5da;
- max-width: 100%;
- box-sizing: border-box;
-}
-.vditor-reset iframe.iframe__video {
- min-width: 80%;
- min-height: 36vh;
-}
-.vditor-reset table {
- border-collapse: collapse;
- empty-cells: show;
- margin-bottom: 16px;
- overflow: auto;
- border-spacing: 0;
- display: block;
- word-break: keep-all;
- width: 100%;
-}
-.vditor-reset table tr {
- background-color: #fafbfc;
- border-top: 1px solid #c6cbd1;
-}
-.vditor-reset table td,
-.vditor-reset table th {
- padding: 6px 13px;
- border: 1px solid #dfe2e5;
- word-break: normal;
- white-space: nowrap;
-}
-.vditor-reset table td:first-child::after,
-.vditor-reset table th:first-child::after {
- content: "";
- display: inline-block;
- vertical-align: top;
- min-height: 24px;
-}
-.vditor-reset table th {
- font-weight: 600;
-}
-.vditor-reset table tbody tr:nth-child(2n) {
- background-color: #fff;
-}
-.vditor-reset code:not(.hljs):not(.highlight-chroma) {
- padding: 0.2em 0.4em;
- margin: 0;
- font-size: 85%;
- border-radius: 3px;
- font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- word-break: break-word;
- background-size: 20px 20px;
- white-space: pre-wrap;
-}
-.vditor-reset pre {
- margin: 1em 0;
-}
-.vditor-reset pre > code {
- margin: 0;
- font-size: 85%;
- padding: 0.5em;
- border-radius: 5px;
- display: block;
- overflow: auto;
- white-space: pre;
- font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- background-size: 20px 20px;
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);
- word-break: initial;
- word-wrap: normal;
-}
-.vditor-reset pre:hover div.vditor-copy {
- display: block;
-}
-.vditor-reset .language-math,
-.vditor-reset .language-echarts,
-.vditor-reset .language-mindmap,
-.vditor-reset .language-plantuml,
-.vditor-reset .language-mermaid,
-.vditor-reset .language-markmap,
-.vditor-reset .language-abc,
-.vditor-reset .language-flowchart,
-.vditor-reset .language-graphviz {
- margin-bottom: 16px;
-}
-.vditor-reset .language-math mjx-container:focus {
- outline: none;
- cursor: context-menu;
-}
-.vditor-reset .language-echarts,
-.vditor-reset .language-mindmap {
- overflow: hidden;
- height: 420px;
-}
-.vditor-reset .language-mermaid,
-.vditor-reset .language-markmap,
-.vditor-reset .language-flowchart,
-.vditor-reset .language-graphviz {
- text-align: center;
-}
-.vditor-reset .language-graphviz parsererror {
- overflow: auto;
-}
-.vditor-reset kbd {
- display: inline-block;
- padding: 3px 5px;
- font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
- line-height: 10px;
- color: #24292e;
- vertical-align: middle;
- background-color: #fafbfc;
- border: solid 1px #d1d5da;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 #d1d5da;
-}
-.vditor-reset summary {
- cursor: pointer;
-}
-.vditor-reset summary:focus {
- outline: none;
-}
-.vditor-reset svg {
- height: auto;
- width: auto;
- stroke-width: initial;
-}
-.vditor-reset p:last-child,
-.vditor-reset blockquote:last-child,
-.vditor-reset pre:last-child,
-.vditor-reset ul:last-child,
-.vditor-reset ol:last-child,
-.vditor-reset hr:last-child {
- margin-bottom: 0;
-}
-.vditor-comment {
- border-bottom: 2px solid #f8e6ab;
-}
-.vditor-comment--focus,
-.vditor-comment--hover {
- background-color: #faf1d1;
- border-bottom: 2px solid #ffc60a;
-}
-.vditor-comment--focus .vditor-comment,
-.vditor-comment--hover .vditor-comment {
- border-bottom: 2px solid #ffc60a;
-}
-.vditor-task {
- list-style: none !important;
- word-break: break-all;
-}
-.vditor-task input {
- margin: 0 0.2em 0.25em -1.6em;
- font-size: 12px;
- vertical-align: middle;
-}
-.vditor-copy {
- position: relative;
- display: none;
- z-index: 1;
-}
-.vditor-copy textarea {
- position: absolute;
- left: -100000px;
- height: 10px;
-}
-.vditor-copy span {
- cursor: pointer;
- position: absolute;
- right: 15px;
- top: 0.5em;
-}
-.vditor-copy svg {
- color: #586069;
- height: 14px;
- width: 14px !important;
- display: block;
- fill: currentColor;
-}
-.vditor-linenumber {
- padding-left: 4em !important;
- position: relative;
-}
-.vditor-linenumber__rows {
- position: absolute;
- pointer-events: none;
- top: 0.5em;
- left: 0;
- width: 3em;
- /* works for line-numbers below 1000 lines */
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- counter-reset: linenumber;
-}
-.vditor-linenumber__rows > span {
- pointer-events: none;
- display: block;
-}
-.vditor-linenumber__rows > span::before {
- counter-increment: linenumber;
- content: counter(linenumber);
- color: rgba(158, 150, 150, 0.38);
- display: block;
- padding-right: 1em;
- text-align: right;
-}
-.vditor-speech {
- position: absolute;
- display: none;
- background-color: #f6f8fa;
- border: 1px solid #d1d5da;
- border-radius: 3px;
- padding: 3px;
- cursor: pointer;
- color: #586069;
-}
-.vditor-speech:hover,
-.vditor-speech--current {
- color: #4285f4;
-}
-.vditor-speech svg {
- height: 14px;
- width: 14px;
- fill: currentColor;
- display: block;
- stroke-width: 0;
- stroke: currentColor;
-}
-.vditor-anchor {
- margin-left: 5px;
-}
-.vditor-anchor--left {
- float: left;
- padding-right: 4px;
- margin-left: -20px;
-}
-.vditor-anchor svg {
- visibility: hidden;
-}
-.vditor-anchor:hover svg {
- visibility: visible;
-}
-.vditor-anchor:focus {
- outline: none;
-}
-.vditor-linkcard {
- margin: 31px auto 16px;
- transition: all 0.15s ease-in-out;
- cursor: pointer;
- max-width: 768px;
- padding: 0 10px;
-}
-.vditor-linkcard a {
- border-radius: 3px;
- background-color: #f6f8fa;
- overflow: hidden;
- max-height: 250px;
- display: flex;
- text-decoration: none;
- flex-wrap: wrap-reverse;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
-}
-.vditor-linkcard a:hover {
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.13), 0 3px 6px rgba(0, 0, 0, 0.26);
- text-decoration: none;
-}
-.vditor-linkcard a:visited .vditor-linkcard__abstract {
- color: rgba(88, 96, 105, 0.36);
-}
-.vditor-linkcard__info {
- padding: 10px;
- min-width: 200px;
- box-sizing: border-box;
- flex: 1;
-}
-.vditor-linkcard__title {
- font-size: 14px;
- font-weight: 400;
- color: #24292e;
- display: flex;
- align-items: center;
-}
-.vditor-linkcard__title img {
- cursor: pointer;
- height: 20px;
- width: 20px;
- border-radius: 3px;
- flex-shrink: 0;
- margin-right: 5px;
-}
-.vditor-linkcard__abstract {
- word-wrap: break-word;
- word-break: break-all;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-box-orient: vertical;
- display: -webkit-box;
- font-size: 13px;
- color: #586069;
- margin: 5px 0;
-}
-.vditor-linkcard__site {
- font-size: 12px;
- color: #4285f4;
-}
-.vditor-linkcard__image {
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center center;
- max-width: 250px;
- min-width: 126px;
- cursor: pointer;
- background-color: rgba(88, 96, 105, 0.36);
-}
-.vditor-footnotes__goto-ref {
- text-decoration: none;
-}
-.vditor-toc {
- margin-bottom: 16px;
- -webkit-user-select: text;
- -moz-user-select: text;
- user-select: text;
- color: #4285f4;
-}
-.vditor-toc .vditor-outline__action {
- display: none;
-}
-.vditor-toc ul {
- list-style: none !important;
- padding-left: 1em;
-}
-.vditor-toc > ul {
- padding-left: 0;
-}
-.vditor-toc span {
- cursor: pointer;
-}
-.vditor-toc li > span > svg {
- width: 0;
- height: 0;
-}
-.vditor-outline {
- width: 250px;
- border-right: 1px solid var(--border-color);
- background-color: var(--panel-background-color);
- display: none;
- overflow: auto;
-}
-.vditor-outline--right {
- border-right: 0;
- border-left: 1px solid var(--border-color);
-}
-.vditor-outline::-webkit-scrollbar {
- display: none;
-}
-.vditor-outline ul {
- list-style: none !important;
- padding-left: 1em;
- margin: 0;
-}
-.vditor-outline__content > ul {
- padding-left: 0;
-}
-.vditor-outline li > span {
- display: flex;
- align-items: center;
- padding: 5px 10px;
- cursor: pointer;
- color: var(--textarea-text-color);
-}
-.vditor-outline li > span > svg {
- height: 10px;
- width: 10px;
-}
-.vditor-outline li > span:hover {
- color: var(--toolbar-icon-hover-color);
-}
-.vditor-outline li > span > span {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-.vditor-outline__title {
- border-bottom: 1px dashed var(--border-color);
- padding: 5px 10px;
- color: var(--toolbar-icon-color);
- font-size: 12px;
-}
-.vditor-outline__action {
- transition: all 0.15s ease-in-out;
- fill: currentColor;
- margin-right: 5px;
- flex-shrink: 0;
-}
-.vditor-outline__action--close {
- transform: rotate(-90deg);
-}
-.vditor-wysiwyg {
- box-sizing: border-box;
- flex: 1;
- position: relative;
- width: 100%;
- min-width: 1px;
-}
-.vditor-wysiwyg pre.vditor-reset {
- background-color: var(--panel-background-color);
- margin: 0;
- white-space: pre-wrap;
- height: 100%;
- box-sizing: border-box;
-}
-.vditor-wysiwyg pre.vditor-reset[contenteditable="false"] {
- opacity: 0.3;
- cursor: not-allowed;
-}
-.vditor-wysiwyg pre.vditor-reset:empty::before {
- content: attr(placeholder);
- color: var(--second-color);
-}
-.vditor-wysiwyg pre.vditor-reset:focus {
- outline: none;
- background-color: var(--textarea-background-color);
-}
-.vditor-wysiwyg pre.vditor-reset:after {
- content: "";
- height: var(--editor-bottom);
- display: block;
-}
-.vditor-wysiwyg blockquote:empty::before,
-.vditor-wysiwyg pre > code:empty::before,
-.vditor-wysiwyg p:empty::before,
-.vditor-wysiwyg h1:empty::after,
-.vditor-wysiwyg h2:empty::after,
-.vditor-wysiwyg h3:empty::after,
-.vditor-wysiwyg h4:empty::after,
-.vditor-wysiwyg h5:empty::after,
-.vditor-wysiwyg h6:empty::after {
- content: ' ';
-}
-.vditor-wysiwyg code[data-marker="`"] {
- padding-left: 0 !important;
- padding-right: 0 !important;
-}
-.vditor-wysiwyg__block pre:first-child {
- margin-bottom: -1em;
-}
-.vditor-wysiwyg__block pre:first-child code {
- color: var(--textarea-text-color);
- height: auto;
- text-align: left;
-}
-.vditor-wysiwyg__block pre:last-child {
- margin-bottom: 1em;
-}
-.vditor-wysiwyg__preview {
- cursor: pointer;
- white-space: initial;
- min-height: 27px;
-}
-.vditor-wysiwyg > .vditor-reset > h1:before,
-.vditor-wysiwyg > .vditor-reset > h2:before,
-.vditor-wysiwyg > .vditor-reset > h3:before,
-.vditor-wysiwyg > .vditor-reset > h4:before,
-.vditor-wysiwyg > .vditor-reset > h5:before,
-.vditor-wysiwyg > .vditor-reset > h6:before,
-.vditor-wysiwyg div.vditor-wysiwyg__block:before,
-.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,
-.vditor-wysiwyg div[data-type="footnotes-block"]:before,
-.vditor-wysiwyg .vditor-toc:before {
- float: left;
- padding-right: 4px;
- margin-left: -29px;
- content: 'H1';
- font-size: 0.85rem;
- font-weight: normal;
- color: var(--second-color);
-}
-.vditor-wysiwyg > .vditor-reset > h2:before {
- content: 'H2';
-}
-.vditor-wysiwyg > .vditor-reset > h3:before {
- content: 'H3';
-}
-.vditor-wysiwyg > .vditor-reset > h4:before {
- content: 'H4';
-}
-.vditor-wysiwyg > .vditor-reset > h5:before {
- content: 'H5';
-}
-.vditor-wysiwyg > .vditor-reset > h6:before {
- content: 'H6';
-}
-.vditor-wysiwyg div[data-type="link-ref-defs-block"]:before {
- content: '"A"';
-}
-.vditor-wysiwyg div[data-type="footnotes-block"]:before {
- content: '^F';
-}
-.vditor-wysiwyg div.vditor-wysiwyg__block:before {
- content: ">";
-}
-.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before {
- content: "F";
-}
-.vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before {
- content: "$$";
-}
-.vditor-wysiwyg .vditor-toc:before {
- content: "ToC";
-}
-.vditor-wysiwyg hr {
- display: inline-block;
- margin: 12px 0;
- width: 100%;
-}
-.vditor-wysiwyg details {
- white-space: initial;
-}
-.vditor-wysiwyg a {
- cursor: pointer;
-}
-.vditor-wysiwyg span[data-type="backslash"] > span {
- display: none;
- color: var(--second-color);
-}
-.vditor-wysiwyg span[data-type="link-ref"],
-.vditor-wysiwyg sup[data-type="footnotes-ref"] {
- color: #4285f4;
-}
-.vditor-wysiwyg span[data-type="toc-h"] {
- color: #4285f4;
- text-decoration: underline;
-}
-.vditor-wysiwyg div[data-type="footnotes-block"] {
- border-top: 2px solid var(--heading-border-color);
- padding-top: 24px;
- margin-top: 24px;
-}
-.vditor-wysiwyg div[data-type="link-ref-defs-block"] {
- color: var(--blockquote-color);
-}
-@media screen and (max-width: 520px) {
- .vditor-wysiwyg h1:before,
- .vditor-wysiwyg h2:before,
- .vditor-wysiwyg h3:before,
- .vditor-wysiwyg h4:before,
- .vditor-wysiwyg h5:before,
- .vditor-wysiwyg h6:before,
- .vditor-wysiwyg div.vditor-wysiwyg__block:before,
- .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,
- .vditor-wysiwyg div[data-type="footnotes-block"]:before,
- .vditor-wysiwyg .vditor-toc:before {
- content: none;
- }
-}
-.vditor-ir {
- box-sizing: border-box;
- flex: 1;
- min-width: 1px;
- position: relative;
- width: 100%;
-}
-.vditor-ir__node[data-type="code-block"]:before,
-.vditor-ir__node[data-type="code-block"]:after,
-.vditor-ir__node[data-type="yaml-front-matter"]:before,
-.vditor-ir__node[data-type="yaml-front-matter"]:after,
-.vditor-ir__node[data-type="math-block"]:before,
-.vditor-ir__node[data-type="math-block"]:after {
- content: ' ';
- color: var(--second-color);
-}
-.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker {
- padding: 0 !important;
-}
-.vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"] {
- cursor: pointer;
-}
-.vditor-ir__node[data-type="link-ref"],
-.vditor-ir__node[data-type="footnotes-ref"] {
- color: #4285f4;
-}
-.vditor-ir__node[data-type="html-block"] {
- margin-bottom: 1em;
-}
-.vditor-ir__node .vditor-ir__marker {
- width: 0;
- overflow: hidden;
- display: inline-block;
- height: 0;
- transition: all 0.15s ease-in-out;
-}
-.vditor-ir__node--hidden .vditor-ir__marker {
- visibility: hidden;
-}
-.vditor-ir__node--expand .vditor-ir__marker {
- color: var(--second-color);
- display: inline;
- height: auto;
- width: auto;
-}
-.vditor-ir__node--expand .vditor-ir__marker--hide {
- display: none;
-}
-.vditor-ir__node--expand .vditor-ir__marker--heading {
- color: var(--ir-heading-color);
-}
-.vditor-ir__node--expand .vditor-ir__marker--bi {
- color: var(--ir-bi-color);
-}
-.vditor-ir__node--expand .vditor-ir__marker--link {
- color: var(--ir-link-color);
-}
-.vditor-ir__node--expand .vditor-ir__marker--title {
- color: var(--ir-title-color);
-}
-.vditor-ir__node--expand .vditor-ir__marker--bracket {
- color: var(--ir-bracket-color);
- text-decoration: underline;
-}
-.vditor-ir__node--expand .vditor-ir__marker--paren {
- color: var(--ir-paren-color);
-}
-.vditor-ir__node--expand .vditor-ir__marker--info {
- color: var(--ir-heading-color);
-}
-.vditor-ir__node--expand .vditor-ir__marker--pre code {
- color: var(--textarea-text-color);
- height: auto;
- text-align: left;
-}
-.vditor-ir__node--expand[data-type="code-block"]:before,
-.vditor-ir__node--expand[data-type="code-block"]:after {
- content: '```';
-}
-.vditor-ir__node--expand[data-type="yaml-front-matter"]:before,
-.vditor-ir__node--expand[data-type="yaml-front-matter"]:after {
- content: '---';
-}
-.vditor-ir__node--expand[data-type="math-block"]:before,
-.vditor-ir__node--expand[data-type="math-block"]:after {
- content: '$$';
-}
-.vditor-ir__node span[data-type="code-block-open-marker"],
-.vditor-ir__node span[data-type="code-block-close-marker"],
-.vditor-ir__node span[data-type="yaml-front-matter-open-marker"],
-.vditor-ir__node span[data-type="yaml-front-matter-close-marker"],
-.vditor-ir__node span[data-type="math-block-open-marker"],
-.vditor-ir__node span[data-type="math-block-close-marker"] {
- display: none;
-}
-.vditor-ir__preview {
- cursor: pointer;
- white-space: initial;
- min-height: 27px;
-}
-.vditor-ir__link {
- color: var(--ir-bracket-color);
- text-decoration: underline;
-}
-.vditor-ir pre.vditor-reset {
- background-color: var(--panel-background-color);
- margin: 0;
- white-space: pre-wrap;
- height: 100%;
- box-sizing: border-box;
-}
-.vditor-ir pre.vditor-reset[contenteditable="false"] {
- opacity: 0.3;
- cursor: not-allowed;
-}
-.vditor-ir pre.vditor-reset:empty::before {
- content: attr(placeholder);
- color: var(--second-color);
-}
-.vditor-ir pre.vditor-reset:focus {
- outline: none;
- background-color: var(--textarea-background-color);
-}
-.vditor-ir pre.vditor-reset:after {
- content: "";
- height: var(--editor-bottom);
- display: block;
-}
-.vditor-ir pre.vditor-reset pre {
- margin: 0;
-}
-.vditor-ir hr {
- display: inline-block;
- margin: 12px 0;
- width: 100%;
-}
-.vditor-ir blockquote:empty::before,
-.vditor-ir pre > code:empty::before,
-.vditor-ir p:empty::before,
-.vditor-ir h1:empty::after,
-.vditor-ir h2:empty::after,
-.vditor-ir h3:empty::after,
-.vditor-ir h4:empty::after,
-.vditor-ir h5:empty::after,
-.vditor-ir h6:empty::after {
- content: ' ';
-}
-.vditor-ir .vditor-reset > h1:before,
-.vditor-ir .vditor-reset > h2:before,
-.vditor-ir .vditor-reset > h3:before,
-.vditor-ir .vditor-reset > h4:before,
-.vditor-ir .vditor-reset > h5:before,
-.vditor-ir .vditor-reset > h6:before,
-.vditor-ir div[data-type="link-ref-defs-block"]:before,
-.vditor-ir div[data-type="footnotes-block"]:before,
-.vditor-ir .vditor-toc:before {
- float: left;
- padding-right: 4px;
- margin-left: -29px;
- content: 'H1';
- font-size: 0.85rem;
- font-weight: normal;
- color: var(--second-color);
-}
-.vditor-ir .vditor-reset > h2:before {
- content: 'H2';
-}
-.vditor-ir .vditor-reset > h3:before {
- content: 'H3';
-}
-.vditor-ir .vditor-reset > h4:before {
- content: 'H4';
-}
-.vditor-ir .vditor-reset > h5:before {
- content: 'H5';
-}
-.vditor-ir .vditor-reset > h6:before {
- content: 'H6';
-}
-.vditor-ir div[data-type="link-ref-defs-block"] {
- color: var(--blockquote-color);
-}
-.vditor-ir div[data-type="link-ref-defs-block"]:before {
- content: '"A"';
-}
-.vditor-ir div[data-type="footnotes-block"] {
- border-top: 2px solid var(--heading-border-color);
- padding-top: 24px;
- margin-top: 24px;
-}
-.vditor-ir div[data-type="footnotes-block"]:before {
- content: '^F';
-}
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ul,
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ol,
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > p,
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > blockquote,
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > pre,
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > table,
-.vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > hr {
- margin-left: 8px;
-}
-.vditor-ir .vditor-toc:before {
- content: "ToC";
-}
-.vditor-ir .vditor-toc span[data-type="toc-h"] {
- color: #4285f4;
- text-decoration: underline;
-}
-@media screen and (max-width: 520px) {
- .vditor-ir h1:before,
- .vditor-ir h2:before,
- .vditor-ir h3:before,
- .vditor-ir h4:before,
- .vditor-ir h5:before,
- .vditor-ir h6:before,
- .vditor-ir div[data-type="link-ref-defs-block"]:before,
- .vditor-ir div[data-type="footnotes-block"]:before,
- .vditor-ir .vditor-toc:before {
- content: none;
- }
-}
-.vditor-sv {
- font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
- margin: 0 1px 0 0;
- overflow: auto;
- width: 100%;
- flex: 1;
- min-width: 1px;
- border: 0;
- resize: none;
- padding: 10px 9px 10px 10px;
- box-sizing: border-box;
- background-color: var(--panel-background-color);
- outline: 0 none;
- font-size: 16px;
- line-height: 22px;
- color: var(--textarea-text-color);
- border-radius: 0 0 3px 3px;
- font-variant-ligatures: no-common-ligatures;
- white-space: pre-wrap;
- word-break: break-word;
- word-wrap: break-word;
-}
-.vditor-sv[contenteditable="false"] {
- opacity: 0.3;
- cursor: not-allowed;
-}
-.vditor-sv:empty::before {
- content: attr(placeholder);
- color: var(--second-color);
-}
-.vditor-sv:focus {
- background-color: var(--textarea-background-color);
-}
-.vditor-sv:after {
- content: "";
- height: var(--editor-bottom);
- display: block;
-}
-.vditor-sv span[data-type="newline"] + span[data-type="text"]:empty {
- display: inherit;
-}
-.vditor-sv .sup {
- vertical-align: super;
- font-size: smaller;
-}
-.vditor-sv .strong {
- font-weight: bold;
-}
-.vditor-sv .em {
- font-style: italic;
-}
-.vditor-sv .s {
- text-decoration: line-through;
-}
-.vditor-sv .mark:not(.vditor-sv__marker) {
- background-color: yellow;
- color: black;
-}
-.vditor-sv .h1 {
- font-size: 1.75em;
- line-height: 44px;
-}
-.vditor-sv .h2 {
- font-size: 1.55em;
- line-height: 38px;
-}
-.vditor-sv .h3 {
- font-size: 1.38em;
- line-height: 27px;
-}
-.vditor-sv .h4 {
- font-size: 1.25em;
- line-height: 25px;
-}
-.vditor-sv .h5 {
- font-size: 1.13em;
-}
-.vditor-sv .h6 {
- font-size: 1em;
-}
-.vditor-sv__marker {
- color: var(--second-color);
-}
-.vditor-sv__marker--heading {
- color: var(--ir-heading-color);
-}
-.vditor-sv__marker--bi {
- color: var(--ir-bi-color);
-}
-.vditor-sv__marker--link {
- color: var(--ir-link-color);
-}
-.vditor-sv__marker--title {
- color: var(--ir-title-color);
-}
-.vditor-sv__marker--bracket {
- color: var(--ir-bracket-color);
-}
-.vditor-sv__marker--paren {
- color: var(--ir-paren-color);
-}
-.vditor-sv__marker--info {
- color: var(--ir-heading-color);
-}
-.vditor-sv__marker--strong {
- font-weight: bold;
-}
-
-
diff --git a/src/rethink/dist-local/img/expand.f11ce32d.svg b/src/rethink/dist-local/img/expand.f11ce32d.svg
new file mode 100644
index 0000000..31671c2
--- /dev/null
+++ b/src/rethink/dist-local/img/expand.f11ce32d.svg
@@ -0,0 +1,9 @@
+
+
+
+
diff --git a/src/rethink/dist-local/img/loading-dots.4c74f061.gif b/src/rethink/dist-local/img/loading-dots.4c74f061.gif
new file mode 100644
index 0000000..d061218
Binary files /dev/null and b/src/rethink/dist-local/img/loading-dots.4c74f061.gif differ
diff --git a/src/rethink/dist-local/img/loading.0d152035.gif b/src/rethink/dist-local/img/loading.0d152035.gif
new file mode 100644
index 0000000..4664d04
Binary files /dev/null and b/src/rethink/dist-local/img/loading.0d152035.gif differ
diff --git a/src/rethink/dist-local/index.html b/src/rethink/dist-local/index.html
index e8b411e..ae16956 100644
--- a/src/rethink/dist-local/index.html
+++ b/src/rethink/dist-local/index.html
@@ -12,8 +12,7 @@
rethink
-
-
+
diff --git a/src/rethink/dist-local/js/app.js b/src/rethink/dist-local/js/app.js
index df35ec5..bffb725 100644
--- a/src/rethink/dist-local/js/app.js
+++ b/src/rethink/dist-local/js/app.js
@@ -73,6 +73,18 @@
/***/
}),
+ /***/
+ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=script&lang=ts&setup=true":
+ /*!******************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=script&lang=ts&setup=true ***!
+ \******************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _assets_images_gif_loading_gif__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/gif/loading.gif */ \"./src/assets/images/gif/loading.gif\");\n/* harmony import */ var _assets_images_gif_loading_dots_gif__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/assets/images/gif/loading-dots.gif */ \"./src/assets/images/gif/loading-dots.gif\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'WaitLoading',\n props: {\n loading: {\n type: Boolean,\n required: true\n },\n circle: {\n type: Boolean,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const __returned__ = {\n props,\n get LoadingGIF() {\n return _assets_images_gif_loading_gif__WEBPACK_IMPORTED_MODULE_1__;\n },\n get LoadingDotsGIF() {\n return _assets_images_gif_loading_dots_gif__WEBPACK_IMPORTED_MODULE_2__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
/***/
"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/dataImport/ObsidianImport.vue?vue&type=script&lang=ts&setup=true":
/*!************************************************************************************************************************************************************************************************************************************************************!*\
@@ -104,7 +116,7 @@
\**********************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_editor_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/editor/editor */ \"./src/utils/app/editor/editor.ts\");\n/* harmony import */ var _components_GoBack_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/GoBack.vue */ \"./src/components/GoBack.vue\");\n/* harmony import */ var _components_app_editor_cursorSearch_SearchWindow_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/editor/cursorSearch/SearchWindow.vue */ \"./src/components/app/editor/cursorSearch/SearchWindow.vue\");\n/* harmony import */ var _components_app_editor_cursorSearch_SearchWindowSM_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/editor/cursorSearch/SearchWindowSM.vue */ \"./src/components/app/editor/cursorSearch/SearchWindowSM.vue\");\n/* harmony import */ var _components_app_editor_LinkedNodes_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/app/editor/LinkedNodes.vue */ \"./src/components/app/editor/LinkedNodes.vue\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n\n\n\n\n\n\n\n\nconst editorDivId = \"node-editor\";\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'AppNodeEditPanel',\n props: {\n nid: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const {\n node\n } = (0,_utils_app_editor_editor__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(editorDivId, props.nid);\n const mq = (0,_utils_mq__WEBPACK_IMPORTED_MODULE_6__.useMQ)();\n const workPlaceClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"work-place-sm\": mq.sm\n };\n });\n const editorClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"md-editor-sm\": mq.sm\n };\n });\n const mainClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"main-sm\": mq.sm\n };\n });\n const __returned__ = {\n props,\n editorDivId,\n node,\n mq,\n workPlaceClass,\n editorClass,\n mainClass,\n GoBack: _components_GoBack_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n SearchWindow: _components_app_editor_cursorSearch_SearchWindow_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n SearchWindowSM: _components_app_editor_cursorSearch_SearchWindowSM_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n LinkedNodes: _components_app_editor_LinkedNodes_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/AppNodeEditPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_editor_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/editor/editor */ \"./src/utils/app/editor/editor.ts\");\n/* harmony import */ var _components_app_editor_cursorSearch_SearchWindow_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/app/editor/cursorSearch/SearchWindow.vue */ \"./src/components/app/editor/cursorSearch/SearchWindow.vue\");\n/* harmony import */ var _components_app_editor_cursorSearch_SearchWindowSM_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/editor/cursorSearch/SearchWindowSM.vue */ \"./src/components/app/editor/cursorSearch/SearchWindowSM.vue\");\n/* harmony import */ var _components_app_editor_LinkedNodes_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/editor/LinkedNodes.vue */ \"./src/components/app/editor/LinkedNodes.vue\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n/* harmony import */ var _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/WaitLoading.vue */ \"./src/components/WaitLoading.vue\");\n\n\n\n\n\n\n\n\nconst editorDivId = \"node-editor\";\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'AppNodeEditPanel',\n props: {\n nid: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const {\n node,\n ready\n } = (0,_utils_app_editor_editor__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(editorDivId, props.nid);\n const mq = (0,_utils_mq__WEBPACK_IMPORTED_MODULE_5__.useMQ)();\n const workPlaceClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"work-place-sm\": mq.sm\n };\n });\n const editorClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"md-editor-sm\": mq.sm\n };\n });\n const mainClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"main-sm\": mq.sm\n };\n });\n const __returned__ = {\n props,\n editorDivId,\n node,\n ready,\n mq,\n workPlaceClass,\n editorClass,\n mainClass,\n SearchWindow: _components_app_editor_cursorSearch_SearchWindow_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n SearchWindowSM: _components_app_editor_cursorSearch_SearchWindowSM_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n LinkedNodes: _components_app_editor_LinkedNodes_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n WaitLoading: _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/AppNodeEditPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -128,7 +140,7 @@
\****************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/editor/refs */ \"./src/utils/app/editor/refs.ts\");\n/* harmony import */ var _utils_app_editor_atSearchBar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/editor/atSearchBar */ \"./src/utils/app/editor/atSearchBar.ts\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SearchBar',\n props: {\n closeIcon: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const {\n closeSearchWindow,\n searchButtonEl,\n searchInputEl\n } = (0,_utils_app_editor_atSearchBar__WEBPACK_IMPORTED_MODULE_3__.useAtSearchBar)();\n const __returned__ = {\n props,\n closeSearchWindow,\n searchButtonEl,\n searchInputEl,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n },\n get cursorQueryText() {\n return _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_2__.cursorQueryText;\n },\n get search() {\n return _utils_app_editor_atSearchBar__WEBPACK_IMPORTED_MODULE_3__.search;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchBar.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/editor/refs */ \"./src/utils/app/editor/refs.ts\");\n/* harmony import */ var _utils_app_editor_atSearchBar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/editor/atSearchBar */ \"./src/utils/app/editor/atSearchBar.ts\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SearchBar',\n props: {\n closeIcon: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const {\n closeSearchWindow,\n arrowUpDown,\n keyTab,\n searchButtonEl,\n searchInputEl\n } = (0,_utils_app_editor_atSearchBar__WEBPACK_IMPORTED_MODULE_3__.useAtSearchBar)();\n const __returned__ = {\n props,\n closeSearchWindow,\n arrowUpDown,\n keyTab,\n searchButtonEl,\n searchInputEl,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n },\n get cursorQueryText() {\n return _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_2__.cursorQueryText;\n },\n get search() {\n return _utils_app_editor_atSearchBar__WEBPACK_IMPORTED_MODULE_3__.search;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchBar.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -140,7 +152,7 @@
\********************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _utils_app_editor_atSearch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/editor/atSearch */ \"./src/utils/app/editor/atSearch.ts\");\n/* harmony import */ var _assets_images_icons_tab_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/tab.svg */ \"./src/assets/images/icons/tab.svg\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SearchResults',\n props: {\n nid: {\n type: String,\n required: true\n },\n atSearchResults: {\n type: Array,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const __returned__ = {\n props,\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.clipText;\n },\n get selectAtSearch() {\n return _utils_app_editor_atSearch__WEBPACK_IMPORTED_MODULE_2__.selectAtSearch;\n },\n get TabIcon() {\n return _assets_images_icons_tab_svg__WEBPACK_IMPORTED_MODULE_3__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _utils_app_editor_atSearch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/editor/atSearch */ \"./src/utils/app/editor/atSearch.ts\");\n/* harmony import */ var _components_app_tools_ResultTitleHeader_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/tools/ResultTitleHeader.vue */ \"./src/components/app/tools/ResultTitleHeader.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SearchResults',\n props: {\n nid: {\n type: String,\n required: true\n },\n atSearchResults: {\n type: Array,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const __returned__ = {\n props,\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.clipText;\n },\n get selectAtSearch() {\n return _utils_app_editor_atSearch__WEBPACK_IMPORTED_MODULE_2__.selectAtSearch;\n },\n ResultTitleHeader: _components_app_tools_ResultTitleHeader_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -308,7 +320,7 @@
\**************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/search */ \"./src/utils/app/search.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _assets_images_icons_recentoutline_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/recentoutline.svg */ \"./src/assets/images/icons/recentoutline.svg\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SMRecentHist',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n nodes,\n selectHist\n } = (0,_utils_app_search__WEBPACK_IMPORTED_MODULE_1__.useRecentSearched)();\n const __returned__ = {\n nodes,\n selectHist,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n get RecentIcon() {\n return _assets_images_icons_recentoutline_svg__WEBPACK_IMPORTED_MODULE_3__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMRecentHist.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/search */ \"./src/utils/app/search.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _assets_images_icons_recentoutline_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/recentoutline.svg */ \"./src/assets/images/icons/recentoutline.svg\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SMRecentHist',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n queries,\n selectHist\n } = (0,_utils_app_search__WEBPACK_IMPORTED_MODULE_1__.useRecentSearched)();\n const __returned__ = {\n queries,\n selectHist,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n get RecentIcon() {\n return _assets_images_icons_recentoutline_svg__WEBPACK_IMPORTED_MODULE_3__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMRecentHist.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -320,7 +332,7 @@
\**********************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/icons/search.svg */ \"./src/assets/images/icons/search.svg\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/search */ \"./src/utils/app/search.ts\");\n/* harmony import */ var _components_app_nav_top_search_SMSearchResults_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/nav/top/search/SMSearchResults.vue */ \"./src/components/app/nav/top/search/SMSearchResults.vue\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _components_app_nav_top_search_SMRecentHist_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/app/nav/top/search/SMRecentHist.vue */ \"./src/components/app/nav/top/search/SMRecentHist.vue\");\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SMSearch',\n props: {\n q: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched\n } = (0,_utils_app_search__WEBPACK_IMPORTED_MODULE_3__.useSearch)(12, props.q);\n const searchDiv = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n if (searchDiv.value) {\n searchDiv.value.style.maxWidth = `${window.innerWidth - 10}px`;\n }\n });\n const __returned__ = {\n props,\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n searchDiv,\n get SearchIcon() {\n return _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__;\n },\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n SMSearchResults: _components_app_nav_top_search_SMSearchResults_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n get router() {\n return _router__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n },\n SMRecentHist: _components_app_nav_top_search_SMRecentHist_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearch.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/icons/search.svg */ \"./src/assets/images/icons/search.svg\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/search */ \"./src/utils/app/search.ts\");\n/* harmony import */ var _components_app_nav_top_search_SMSearchResults_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/nav/top/search/SMSearchResults.vue */ \"./src/components/app/nav/top/search/SMSearchResults.vue\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _components_app_nav_top_search_SMRecentHist_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/app/nav/top/search/SMRecentHist.vue */ \"./src/components/app/nav/top/search/SMRecentHist.vue\");\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SMSearch',\n props: {\n q: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n keyArrowUpDown,\n keyTab\n } = (0,_utils_app_search__WEBPACK_IMPORTED_MODULE_3__.useSearch)(12, props.q);\n const searchDiv = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n if (searchDiv.value) {\n searchDiv.value.style.maxWidth = `${window.innerWidth - 10}px`;\n }\n });\n const __returned__ = {\n props,\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n keyArrowUpDown,\n keyTab,\n searchDiv,\n get SearchIcon() {\n return _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__;\n },\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n SMSearchResults: _components_app_nav_top_search_SMSearchResults_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n get router() {\n return _router__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n },\n SMRecentHist: _components_app_nav_top_search_SMRecentHist_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearch.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -332,7 +344,7 @@
\*****************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SMSearchResults',\n props: {\n searchResult: {\n type: Object,\n required: true\n }\n },\n emits: [\"selectResult\", \"searchMore\"],\n setup(__props, {\n expose: __expose,\n emit\n }) {\n __expose();\n const props = __props;\n const __returned__ = {\n props,\n emit,\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.clipText;\n },\n get utc2local() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.utc2local;\n },\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _components_app_tools_ResultTitleHeader_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/tools/ResultTitleHeader.vue */ \"./src/components/app/tools/ResultTitleHeader.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SMSearchResults',\n props: {\n searchResult: {\n type: Object,\n required: true\n }\n },\n emits: [\"selectResult\", \"searchMore\"],\n setup(__props, {\n expose: __expose,\n emit\n }) {\n __expose();\n const props = __props;\n const __returned__ = {\n props,\n emit,\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.clipText;\n },\n get utc2local() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.utc2local;\n },\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n ResultTitleHeader: _components_app_tools_ResultTitleHeader_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -344,7 +356,7 @@
\************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/icons/search.svg */ \"./src/assets/images/icons/search.svg\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/search */ \"./src/utils/app/search.ts\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SearchTool',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched\n } = (0,_utils_app_search__WEBPACK_IMPORTED_MODULE_3__.useSearch)(10);\n const __returned__ = {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n get SearchIcon() {\n return _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__;\n },\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_4__.clipText;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SearchTool.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/icons/search.svg */ \"./src/assets/images/icons/search.svg\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_search__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/search */ \"./src/utils/app/search.ts\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _components_app_tools_ResultTitleHeader_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/app/tools/ResultTitleHeader.vue */ \"./src/components/app/tools/ResultTitleHeader.vue\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'SearchTool',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n keyArrowUpDown,\n keyTab\n } = (0,_utils_app_search__WEBPACK_IMPORTED_MODULE_3__.useSearch)(10);\n const __returned__ = {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n keyArrowUpDown,\n keyTab,\n get SearchIcon() {\n return _assets_images_icons_search_svg__WEBPACK_IMPORTED_MODULE_1__;\n },\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n },\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_4__.clipText;\n },\n ResultTitleHeader: _components_app_tools_ResultTitleHeader_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SearchTool.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -368,7 +380,7 @@
\*******************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/nodesDisplay */ \"./src/utils/app/nodesDisplay.ts\");\n/* harmony import */ var _components_app_nodesDisplay_display_CardDisplay_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/app/nodesDisplay/display/CardDisplay.vue */ \"./src/components/app/nodesDisplay/display/CardDisplay.vue\");\n/* harmony import */ var _components_app_nodesDisplay_display_ListDisplay_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/nodesDisplay/display/ListDisplay.vue */ \"./src/components/app/nodesDisplay/display/ListDisplay.vue\");\n/* harmony import */ var _components_app_nodesDisplay_toolBar_NodeDisplayDropdownMenu_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/nodesDisplay/toolBar/NodeDisplayDropdownMenu.vue */ \"./src/components/app/nodesDisplay/toolBar/NodeDisplayDropdownMenu.vue\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var _components_app_nodesDisplay_toolBar_BatchFilesOps_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/app/nodesDisplay/toolBar/BatchFilesOps.vue */ \"./src/components/app/nodesDisplay/toolBar/BatchFilesOps.vue\");\n/* harmony import */ var _utils_app_user__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/app/user */ \"./src/utils/app/user.ts\");\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'AppNodeDisplayPanel',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n pagedNodesInfo,\n loadMore,\n nodeOrderingBar\n } = (0,_utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_1__.useNodesDisplay)();\n const routeMeta = (0,vue_router__WEBPACK_IMPORTED_MODULE_8__.useRoute)().meta;\n const __returned__ = {\n pagedNodesInfo,\n loadMore,\n nodeOrderingBar,\n routeMeta,\n GridDisplay: _components_app_nodesDisplay_display_CardDisplay_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n ListDisplay: _components_app_nodesDisplay_display_ListDisplay_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n NodeDisplayDropdownMenu: _components_app_nodesDisplay_toolBar_NodeDisplayDropdownMenu_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n },\n BatchFilesOps: _components_app_nodesDisplay_toolBar_BatchFilesOps_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n get user() {\n return _utils_app_user__WEBPACK_IMPORTED_MODULE_7__.user;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/AppNodeDisplayPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/nodesDisplay */ \"./src/utils/app/nodesDisplay.ts\");\n/* harmony import */ var _components_app_nodesDisplay_display_CardDisplay_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/app/nodesDisplay/display/CardDisplay.vue */ \"./src/components/app/nodesDisplay/display/CardDisplay.vue\");\n/* harmony import */ var _components_app_nodesDisplay_display_ListDisplay_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/nodesDisplay/display/ListDisplay.vue */ \"./src/components/app/nodesDisplay/display/ListDisplay.vue\");\n/* harmony import */ var _components_app_nodesDisplay_toolBar_NodeDisplayDropdownMenu_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/nodesDisplay/toolBar/NodeDisplayDropdownMenu.vue */ \"./src/components/app/nodesDisplay/toolBar/NodeDisplayDropdownMenu.vue\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var _components_app_nodesDisplay_toolBar_BatchFilesOps_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/components/app/nodesDisplay/toolBar/BatchFilesOps.vue */ \"./src/components/app/nodesDisplay/toolBar/BatchFilesOps.vue\");\n/* harmony import */ var _utils_app_user__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/app/user */ \"./src/utils/app/user.ts\");\n/* harmony import */ var _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/WaitLoading.vue */ \"./src/components/WaitLoading.vue\");\n/* harmony import */ var _utils_app_batchFilesOps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/app/batchFilesOps */ \"./src/utils/app/batchFilesOps.ts\");\n\n\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'AppNodeDisplayPanel',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n pagedNodesInfo,\n loadMore,\n nodeOrderingBar,\n loading\n } = (0,_utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_1__.useNodesDisplay)();\n const routeMeta = (0,vue_router__WEBPACK_IMPORTED_MODULE_10__.useRoute)().meta;\n const __returned__ = {\n pagedNodesInfo,\n loadMore,\n nodeOrderingBar,\n loading,\n routeMeta,\n GridDisplay: _components_app_nodesDisplay_display_CardDisplay_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n ListDisplay: _components_app_nodesDisplay_display_ListDisplay_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n NodeDisplayDropdownMenu: _components_app_nodesDisplay_toolBar_NodeDisplayDropdownMenu_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n },\n BatchFilesOps: _components_app_nodesDisplay_toolBar_BatchFilesOps_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n get user() {\n return _utils_app_user__WEBPACK_IMPORTED_MODULE_7__.user;\n },\n WaitLoading: _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n get showBatchOps() {\n return _utils_app_batchFilesOps__WEBPACK_IMPORTED_MODULE_9__.showBatchOps;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/AppNodeDisplayPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -452,7 +464,7 @@
\*********************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_batchFilesOps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/batchFilesOps */ \"./src/utils/app/batchFilesOps.ts\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'BatchFilesOps',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n batchShare,\n batchCancel,\n batchTrash,\n batchDelete,\n batchDownload,\n batchRestore,\n showBatchOps\n } = (0,_utils_app_batchFilesOps__WEBPACK_IMPORTED_MODULE_2__.useBatchFilesOps)();\n const routeName = (0,vue_router__WEBPACK_IMPORTED_MODULE_3__.useRoute)().name;\n const __returned__ = {\n batchShare,\n batchCancel,\n batchTrash,\n batchDelete,\n batchDownload,\n batchRestore,\n showBatchOps,\n routeName,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/toolBar/BatchFilesOps.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_batchFilesOps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/batchFilesOps */ \"./src/utils/app/batchFilesOps.ts\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'BatchFilesOps',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n batchShare,\n batchCancel,\n batchTrash,\n batchDelete,\n batchDownload,\n batchRestore\n } = (0,_utils_app_batchFilesOps__WEBPACK_IMPORTED_MODULE_2__.useBatchFilesOps)();\n const routeName = (0,vue_router__WEBPACK_IMPORTED_MODULE_4__.useRoute)().name;\n const mq = (0,_utils_mq__WEBPACK_IMPORTED_MODULE_3__.useMQ)();\n const batchOpsClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"batch-ops-sm\": mq.sm\n };\n });\n const __returned__ = {\n batchShare,\n batchCancel,\n batchTrash,\n batchDelete,\n batchDownload,\n batchRestore,\n routeName,\n mq,\n batchOpsClass,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/toolBar/BatchFilesOps.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -488,7 +500,7 @@
\*********************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_quickPost__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/quickPost */ \"./src/utils/app/quickPost.ts\");\n/* harmony import */ var _assets_images_icons_diagonal_arrow_right_up_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/diagonal-arrow-right-up.svg */ \"./src/assets/images/icons/diagonal-arrow-right-up.svg\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'PostWindow',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n wordCount,\n ExceedMaxLength,\n quickPost,\n quickPostPanelEle,\n quickPostTextareaEle,\n postBtnEle,\n focusOnQuickPost,\n editInNodePage,\n postQuickPost\n } = (0,_utils_app_quickPost__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n const __returned__ = {\n wordCount,\n ExceedMaxLength,\n quickPost,\n quickPostPanelEle,\n quickPostTextareaEle,\n postBtnEle,\n focusOnQuickPost,\n editInNodePage,\n postQuickPost,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n },\n get DiagonalArrowRightUp() {\n return _assets_images_icons_diagonal_arrow_right_up_svg__WEBPACK_IMPORTED_MODULE_3__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/postNewNode/PostWindow.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_quickPost__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/quickPost */ \"./src/utils/app/quickPost.ts\");\n/* harmony import */ var _assets_images_icons_expand_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/expand.svg */ \"./src/assets/images/icons/expand.svg\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'PostWindow',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const {\n wordCount,\n ExceedMaxLength,\n quickPost,\n quickPostPanelEle,\n quickPostTextareaEle,\n postBtnEle,\n focusOnQuickPost,\n editInNodePage,\n postQuickPost\n } = (0,_utils_app_quickPost__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n const __returned__ = {\n wordCount,\n ExceedMaxLength,\n quickPost,\n quickPostPanelEle,\n quickPostTextareaEle,\n postBtnEle,\n focusOnQuickPost,\n editInNodePage,\n postQuickPost,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n },\n get ExpandIcon() {\n return _assets_images_icons_expand_svg__WEBPACK_IMPORTED_MODULE_3__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/postNewNode/PostWindow.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -500,7 +512,31 @@
\*************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_dropFile__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/dropFile */ \"./src/utils/app/dropFile.ts\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'DropFile',\n props: {\n accept: {\n type: String,\n required: true\n },\n submitUrl: {\n type: String,\n required: true\n },\n maxFileCount: {\n type: Number,\n required: true\n },\n maxFileSize: {\n type: Number,\n required: true\n }\n },\n emits: [\"close\"],\n setup(__props, {\n expose: __expose,\n emit\n }) {\n __expose();\n const props = __props;\n const {\n isDragging,\n file,\n files,\n onChange,\n makeName,\n remove,\n dragover,\n dragleave,\n drop,\n generateThumbnail,\n isImage,\n submit\n } = (0,_utils_app_dropFile__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(props.accept, props.submitUrl, props.maxFileSize, props.maxFileCount, emit);\n const __returned__ = {\n props,\n emit,\n isDragging,\n file,\n files,\n onChange,\n makeName,\n remove,\n dragover,\n dragleave,\n drop,\n generateThumbnail,\n isImage,\n submit,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/DropFile.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_app_dropFile__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/dropFile */ \"./src/utils/app/dropFile.ts\");\n/* harmony import */ var _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/WaitLoading.vue */ \"./src/components/WaitLoading.vue\");\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'DropFile',\n props: {\n accept: {\n type: String,\n required: true\n },\n submitUrl: {\n type: String,\n required: true\n },\n maxFileCount: {\n type: Number,\n required: true\n },\n maxFileSize: {\n type: Number,\n required: true\n }\n },\n emits: [\"close\"],\n setup(__props, {\n expose: __expose,\n emit\n }) {\n __expose();\n const props = __props;\n const {\n isDragging,\n file,\n files,\n sending,\n onChange,\n makeName,\n remove,\n dragover,\n dragleave,\n drop,\n generateThumbnail,\n isImage,\n submit\n } = (0,_utils_app_dropFile__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(props.accept, props.submitUrl, props.maxFileSize, props.maxFileCount, emit);\n const __returned__ = {\n props,\n emit,\n isDragging,\n file,\n files,\n sending,\n onChange,\n makeName,\n remove,\n dragover,\n dragleave,\n drop,\n generateThumbnail,\n isImage,\n submit,\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n },\n WaitLoading: _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/DropFile.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
+ /***/
+ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=script&setup=true&lang=ts":
+ /*!**************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=script&setup=true&lang=ts ***!
+ \**************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _assets_images_icons_tab_svg__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/icons/tab.svg */ \"./src/assets/images/icons/tab.svg\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'ResultTab',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const __returned__ = {\n get TabIcon() {\n return _assets_images_icons_tab_svg__WEBPACK_IMPORTED_MODULE_1__;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
+ /***/
+ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts":
+ /*!**********************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts ***!
+ \**********************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _components_app_tools_ResultTab_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/app/tools/ResultTab.vue */ \"./src/components/app/tools/ResultTab.vue\");\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'ResultTitleHeader',\n props: {\n title: {\n type: String,\n required: true\n }\n },\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const props = __props;\n const __returned__ = {\n props,\n get clipText() {\n return _utils_app_textOps__WEBPACK_IMPORTED_MODULE_1__.clipText;\n },\n ResultTab: _components_app_tools_ResultTab_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -692,7 +728,7 @@
\*************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _components_app_nav_left_AppLeftNav_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components/app/nav/left/AppLeftNav.vue */ \"./src/components/app/nav/left/AppLeftNav.vue\");\n/* harmony import */ var _components_app_nodesDisplay_AppNodeDisplayPanel_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/app/nodesDisplay/AppNodeDisplayPanel.vue */ \"./src/components/app/nodesDisplay/AppNodeDisplayPanel.vue\");\n/* harmony import */ var _utils_app_user__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/user */ \"./src/utils/app/user.ts\");\n/* harmony import */ var _components_app_nav_top_AppHeader_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/nav/top/AppHeader.vue */ \"./src/components/app/nav/top/AppHeader.vue\");\n/* harmony import */ var _components_app_postNewNode_PostWindow_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/app/postNewNode/PostWindow.vue */ \"./src/components/app/postNewNode/PostWindow.vue\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'AppView',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const user = (0,_utils_app_user__WEBPACK_IMPORTED_MODULE_3__.useUser)();\n const mq = (0,_utils_mq__WEBPACK_IMPORTED_MODULE_6__.useMQ)();\n const __returned__ = {\n user,\n mq,\n AppLeftSide: _components_app_nav_left_AppLeftNav_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n AppNodeDisplayPanel: _components_app_nodesDisplay_AppNodeDisplayPanel_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n AppHeader: _components_app_nav_top_AppHeader_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n PostWindow: _components_app_postNewNode_PostWindow_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/views/app/AppView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _components_app_nav_left_AppLeftNav_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components/app/nav/left/AppLeftNav.vue */ \"./src/components/app/nav/left/AppLeftNav.vue\");\n/* harmony import */ var _components_app_nodesDisplay_AppNodeDisplayPanel_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/components/app/nodesDisplay/AppNodeDisplayPanel.vue */ \"./src/components/app/nodesDisplay/AppNodeDisplayPanel.vue\");\n/* harmony import */ var _utils_app_user__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/user */ \"./src/utils/app/user.ts\");\n/* harmony import */ var _components_app_nav_top_AppHeader_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/app/nav/top/AppHeader.vue */ \"./src/components/app/nav/top/AppHeader.vue\");\n/* harmony import */ var _components_app_postNewNode_PostWindow_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/components/app/postNewNode/PostWindow.vue */ \"./src/components/app/postNewNode/PostWindow.vue\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n/* harmony import */ var _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/WaitLoading.vue */ \"./src/components/WaitLoading.vue\");\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'AppView',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const user = (0,_utils_app_user__WEBPACK_IMPORTED_MODULE_3__.useUser)();\n const mq = (0,_utils_mq__WEBPACK_IMPORTED_MODULE_6__.useMQ)();\n const __returned__ = {\n user,\n mq,\n AppLeftSide: _components_app_nav_left_AppLeftNav_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n AppNodeDisplayPanel: _components_app_nodesDisplay_AppNodeDisplayPanel_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n AppHeader: _components_app_nav_top_AppHeader_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n PostWindow: _components_app_postNewNode_PostWindow_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n WaitLoading: _components_WaitLoading_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/views/app/AppView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -716,7 +752,7 @@
\********************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _components_GoBack_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components/GoBack.vue */ \"./src/components/GoBack.vue\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _components_app_dataImport_ObsidianImport_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/dataImport/ObsidianImport.vue */ \"./src/components/app/dataImport/ObsidianImport.vue\");\n/* harmony import */ var _assets_images_icons_text_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/assets/images/icons/text.svg */ \"./src/assets/images/icons/text.svg\");\n/* harmony import */ var _assets_images_icons_2023_Obsidian_logo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/assets/images/icons/2023_Obsidian_logo.svg */ \"./src/assets/images/icons/2023_Obsidian_logo.svg\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _components_app_dataImport_TextImport_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/app/dataImport/TextImport.vue */ \"./src/components/app/dataImport/TextImport.vue\");\n\n\n\n\n\n\n\n\n\nconst maxFileCount = 200;\nconst maxFileSize = 1024 * 512; // 512kb\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'ImportDataView',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const methods = [{\n icon: _assets_images_icons_2023_Obsidian_logo_svg__WEBPACK_IMPORTED_MODULE_5__,\n name: \"Obsidian\",\n submitUrl: `${_utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].apiUrl}/api/files/obsidian`,\n description: {\n zh: \"导入你 Obsidian vault 中的 .md 文件\",\n en: \"Import your notes from Obsidian vault markdowns files\"\n },\n showComponent: (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(false),\n component: _components_app_dataImport_ObsidianImport_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n requirements: [{\n zh: \"导入的文件必须是 markdown 文件,以 .md 结尾\",\n en: \"The files must be markdown files, with .md extension\"\n }, {\n zh: `最多一次性上传 ${maxFileCount} 个文件`,\n en: `Upload up to ${maxFileCount} files at a time`\n }, {\n zh: `单个文件大小不能超过 ${maxFileSize / 1024}KB`,\n en: `The size of a single file cannot exceed ${maxFileSize / 1024}KB`\n }, {\n zh: \"如果重复上传了同名文件,将会覆盖原本已上传的文件\",\n en: \"If you upload a file with the same name, it will overwrite the original file\"\n }, {\n zh: \"暂不支持上传文件中的图片\",\n en: \"Uploading images in file is not supported yet\"\n }]\n }, {\n icon: _assets_images_icons_text_svg__WEBPACK_IMPORTED_MODULE_4__,\n name: \"Markdown / Text\",\n submitUrl: `${_utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].apiUrl}/api/files/text`,\n description: {\n zh: \"导入你的存文本文件,可以是 .md 或者 .txt 文件\",\n en: \"Import your notes from markdown or text files\"\n },\n showComponent: (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(false),\n component: _components_app_dataImport_TextImport_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n requirements: [{\n zh: \"导入的文件必须是 markdown 或者 text 文件,以 .md 或者 .txt 结尾\",\n en: \"The files must be markdown or text files, with .md or .txt extension\"\n }, {\n zh: `最多一次性上传 ${maxFileCount} 个文件`,\n en: `Upload up to ${maxFileCount} files at a time`\n }, {\n zh: `单个文件大小不能超过 ${maxFileSize / 1024}KB`,\n en: `The size of a single file cannot exceed ${maxFileSize / 1024}KB`\n }, {\n zh: \"暂不支持上传文件中的图片\",\n en: \"Uploading images in file is not supported yet\"\n }]\n }];\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n methods.forEach(method => {\n method.showComponent.value = false;\n });\n });\n function getLang(txt) {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getGlobalLang() === \"en\" ? txt.en : txt.zh;\n }\n function getLangArray(txt) {\n return txt.map(t => getLang(t));\n }\n const __returned__ = {\n maxFileCount,\n maxFileSize,\n methods,\n getLang,\n getLangArray,\n GoBack: _components_GoBack_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/views/app/ImportDataView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _components_GoBack_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components/GoBack.vue */ \"./src/components/GoBack.vue\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _components_app_dataImport_ObsidianImport_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/components/app/dataImport/ObsidianImport.vue */ \"./src/components/app/dataImport/ObsidianImport.vue\");\n/* harmony import */ var _assets_images_icons_text_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/assets/images/icons/text.svg */ \"./src/assets/images/icons/text.svg\");\n/* harmony import */ var _assets_images_icons_2023_Obsidian_logo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/assets/images/icons/2023_Obsidian_logo.svg */ \"./src/assets/images/icons/2023_Obsidian_logo.svg\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _components_app_dataImport_TextImport_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/app/dataImport/TextImport.vue */ \"./src/components/app/dataImport/TextImport.vue\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n\n\n\n\n\n\n\n\n\n\nconst maxFileCount = 200;\nconst maxFileSize = 1024 * 512; // 512kb\n/* harmony default export */ __webpack_exports__[\"default\"] = (/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({\n __name: 'ImportDataView',\n setup(__props, {\n expose: __expose\n }) {\n __expose();\n const methods = [{\n icon: _assets_images_icons_2023_Obsidian_logo_svg__WEBPACK_IMPORTED_MODULE_5__,\n name: \"Obsidian\",\n submitUrl: `${_utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].apiUrl}/api/files/obsidian`,\n description: {\n zh: \"导入你 Obsidian vault 中的 .md 文件\",\n en: \"Import your notes from Obsidian vault markdowns files\"\n },\n showComponent: (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(false),\n component: _components_app_dataImport_ObsidianImport_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n requirements: [{\n zh: \"导入的文件必须是 markdown 文件,以 .md 结尾\",\n en: \"The files must be markdown files, with .md extension\"\n }, {\n zh: `最多一次性上传 ${maxFileCount} 个文件`,\n en: `Upload up to ${maxFileCount} files at a time`\n }, {\n zh: `单个文件大小不能超过 ${maxFileSize / 1024}KB`,\n en: `The size of a single file cannot exceed ${maxFileSize / 1024}KB`\n }, {\n zh: \"如果重复上传了同名文件,将会覆盖原本已上传的文件\",\n en: \"If you upload a file with the same name, it will overwrite the original file\"\n }, {\n zh: \"暂不支持上传文件中的图片\",\n en: \"Uploading images in file is not supported yet\"\n }]\n }, {\n icon: _assets_images_icons_text_svg__WEBPACK_IMPORTED_MODULE_4__,\n name: \"Markdown / Text\",\n submitUrl: `${_utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].apiUrl}/api/files/text`,\n description: {\n zh: \"导入你的存文本文件,可以是 .md 或者 .txt 文件\",\n en: \"Import your notes from markdown or text files\"\n },\n showComponent: (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(false),\n component: _components_app_dataImport_TextImport_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n requirements: [{\n zh: \"导入的文件必须是 markdown 或者 text 文件,以 .md 或者 .txt 结尾\",\n en: \"The files must be markdown or text files, with .md or .txt extension\"\n }, {\n zh: `最多一次性上传 ${maxFileCount} 个文件`,\n en: `Upload up to ${maxFileCount} files at a time`\n }, {\n zh: `单个文件大小不能超过 ${maxFileSize / 1024}KB`,\n en: `The size of a single file cannot exceed ${maxFileSize / 1024}KB`\n }, {\n zh: \"暂不支持上传文件中的图片\",\n en: \"Uploading images in file is not supported yet\"\n }]\n }];\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n methods.forEach(method => {\n method.showComponent.value = false;\n });\n });\n function getLang(txt) {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getGlobalLang() === \"en\" ? txt.en : txt.zh;\n }\n function getLangArray(txt) {\n return txt.map(t => getLang(t));\n }\n const mq = (0,_utils_mq__WEBPACK_IMPORTED_MODULE_8__.useMQ)();\n const importClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"import-view-sm\": mq.sm\n };\n });\n const importMethodClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"import-methods-sm\": mq.sm\n };\n });\n const middleTextClass = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return {\n \"middle-text-sm\": mq.sm\n };\n });\n const __returned__ = {\n maxFileCount,\n maxFileSize,\n methods,\n getLang,\n getLangArray,\n mq,\n importClass,\n importMethodClass,\n middleTextClass,\n GoBack: _components_GoBack_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n get mLang() {\n return _utils_multiLang__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n}));\n\n//# sourceURL=webpack://rethink/./src/views/app/ImportDataView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -829,6 +865,18 @@
/***/
}),
+ /***/
+ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true":
+ /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true ***!
+ \*******************************************************************************************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-1bc9a6f2\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"loading\"\n};\nconst _hoisted_2 = [\"src\"];\nconst _hoisted_3 = [\"src\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return $setup.props.loading ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [$setup.props.circle ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"img\", {\n key: 0,\n src: $setup.LoadingGIF,\n alt: \"loading\",\n class: \"circle\"\n }, null, 8 /* PROPS */, _hoisted_2)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"img\", {\n key: 1,\n src: $setup.LoadingDotsGIF,\n alt: \"loading\",\n class: \"dots\"\n }, null, 8 /* PROPS */, _hoisted_3))])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true);\n}\n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
/***/
"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/dataImport/ObsidianImport.vue?vue&type=template&id=1f422cd2&scoped=true&ts=true":
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
@@ -860,7 +908,7 @@
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.mainClass, \"main\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"GoBack\"], {\n num: -1\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.workPlaceClass, \"work-place\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n id: $setup.editorDivId,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.editorClass, \"md-editor\"])\n }, null, 2 /* CLASS */), $setup.node ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"LinkedNodes\"], {\n key: 0,\n \"to-nodes\": $setup.node.toNodes\n }, null, 8 /* PROPS */, [\"to-nodes\"])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 2 /* CLASS */)], 2 /* CLASS */), $setup.mq.sm ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SearchWindowSM\"], {\n key: 0,\n nid: $setup.props.nid\n }, null, 8 /* PROPS */, [\"nid\"])) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SearchWindow\"], {\n key: 1,\n nid: $setup.props.nid\n }, null, 8 /* PROPS */, [\"nid\"]))], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/AppNodeEditPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.mainClass, \"main\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.workPlaceClass, \"work-place\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"WaitLoading\"], {\n circle: true,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.editorClass, \"md-editor\"]),\n loading: !$setup.ready,\n style: {\n \"border\": \"none\"\n }\n }, null, 8 /* PROPS */, [\"class\", \"loading\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n id: $setup.editorDivId,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.editorClass, \"md-editor\"])\n }, null, 2 /* CLASS */), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.ready]]), $setup.node ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"LinkedNodes\"], {\n key: 0,\n \"to-nodes\": $setup.node.toNodes\n }, null, 8 /* PROPS */, [\"to-nodes\"])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 2 /* CLASS */)], 2 /* CLASS */), $setup.mq.sm ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SearchWindowSM\"], {\n key: 0,\n nid: $setup.props.nid\n }, null, 8 /* PROPS */, [\"nid\"])) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SearchWindow\"], {\n key: 1,\n nid: $setup.props.nid\n }, null, 8 /* PROPS */, [\"nid\"]))], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/AppNodeEditPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -884,7 +932,7 @@
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-a7f024e4\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"header\"\n};\nconst _hoisted_2 = [\"alt\", \"src\"];\nconst _hoisted_3 = {\n class: \"title\"\n};\nconst _hoisted_4 = {\n class: \"search-bar\"\n};\nconst _hoisted_5 = [\"placeholder\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n alt: $setup.mLang.get('searchWindowSMCollapse'),\n src: $setup.props.closeIcon,\n class: \"close-icon\",\n onClick: _cache[0] || (_cache[0] =\n //@ts-ignore\n (...args) => $setup.closeSearchWindow && $setup.closeSearchWindow(...args))\n }, null, 8 /* PROPS */, _hoisted_2), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get('cursorSearchDropdownTitle')), 1 /* TEXT */)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_4, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n ref: \"searchInputEl\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = $event => $setup.cursorQueryText = $event),\n placeholder: $setup.mLang.get('search'),\n autofocus: \"\",\n type: \"search\",\n onKeydown: _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)(\n //@ts-ignore\n (...args) => $setup.search && $setup.search(...args), [\"enter\"]))\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.cursorQueryText, void 0, {\n trim: true\n }]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.search && $setup.search(...args)),\n ref: \"searchButtonEl\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"searchWindowSMSubmit\")), 513 /* TEXT, NEED_PATCH */)])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchBar.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-a7f024e4\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"header\"\n};\nconst _hoisted_2 = [\"alt\", \"src\"];\nconst _hoisted_3 = {\n class: \"title\"\n};\nconst _hoisted_4 = {\n class: \"search-bar\"\n};\nconst _hoisted_5 = [\"placeholder\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n alt: $setup.mLang.get('searchWindowSMCollapse'),\n src: $setup.props.closeIcon,\n class: \"close-icon\",\n onClick: _cache[0] || (_cache[0] =\n //@ts-ignore\n (...args) => $setup.closeSearchWindow && $setup.closeSearchWindow(...args))\n }, null, 8 /* PROPS */, _hoisted_2), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get('cursorSearchDropdownTitle')), 1 /* TEXT */)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_4, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n ref: \"searchInputEl\",\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = $event => $setup.cursorQueryText = $event),\n placeholder: $setup.mLang.get('search'),\n autofocus: \"\",\n type: \"search\",\n onKeydown: [_cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)(\n //@ts-ignore\n (...args) => $setup.search && $setup.search(...args), [\"enter\"])), _cache[3] || (_cache[3] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.closeSearchWindow && $setup.closeSearchWindow(...args), [\"prevent\"]), [\"esc\"])), _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.arrowUpDown && $setup.arrowUpDown(...args), [\"prevent\"]), [\"up\"])), _cache[5] || (_cache[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.arrowUpDown && $setup.arrowUpDown(...args), [\"prevent\"]), [\"down\"])), _cache[6] || (_cache[6] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyTab && $setup.keyTab(...args), [\"prevent\"]), [\"tab\"]))]\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.cursorQueryText, void 0, {\n trim: true\n }]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[7] || (_cache[7] =\n //@ts-ignore\n (...args) => $setup.search && $setup.search(...args)),\n ref: \"searchButtonEl\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"searchWindowSMSubmit\")), 513 /* TEXT, NEED_PATCH */)])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchBar.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -896,7 +944,7 @@
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-5527cb1e\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = {\n class: \"header\"\n};\nconst _hoisted_3 = {\n class: \"result-title\"\n};\nconst _hoisted_4 = {\n class: \"tab\"\n};\nconst _hoisted_5 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", null, \"Tab\", -1 /* HOISTED */));\nconst _hoisted_6 = [\"src\"];\nconst _hoisted_7 = {\n key: 0,\n class: \"result-snippet\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.props.atSearchResults, result => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: result.id,\n class: \"at-search-result\",\n onClick: $event => $setup.selectAtSearch($setup.props.nid, result.title, result.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.title, 30)), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_4, [_hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.TabIcon,\n alt: \"tab\"\n }, null, 8 /* PROPS */, _hoisted_6)])]), result.id !== '' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_7, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.snippet, 40)), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 8 /* PROPS */, _hoisted_1);\n }), 128 /* KEYED_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-5527cb1e\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = {\n key: 0,\n class: \"result-snippet\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.props.atSearchResults, result => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: result.id,\n class: \"at-search-result\",\n onClick: $event => $setup.selectAtSearch($setup.props.nid, result.title, result.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"ResultTitleHeader\"], {\n title: result.title\n }, null, 8 /* PROPS */, [\"title\"]), result.id !== '' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.snippet, 40)), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 8 /* PROPS */, _hoisted_1);\n }), 128 /* KEYED_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/editor/cursorSearch/SearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1064,7 +1112,7 @@
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-ece83eac\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"recent-hist\"\n};\nconst _hoisted_2 = {\n class: \"header\"\n};\nconst _hoisted_3 = {\n class: \"group\"\n};\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = [\"src\"];\nconst _hoisted_6 = {\n class: \"recent-text\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"recentSearchedTitle\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.nodes, n => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: n.id,\n class: \"item\",\n onClick: $event => $setup.selectHist(n.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.RecentIcon,\n alt: \"recent\",\n class: \"recent-icon\"\n }, null, 8 /* PROPS */, _hoisted_5), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_6, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(n.title), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_4);\n }), 128 /* KEYED_FRAGMENT */))])]);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMRecentHist.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-ece83eac\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"recent-hist\"\n};\nconst _hoisted_2 = {\n class: \"header\"\n};\nconst _hoisted_3 = {\n class: \"group\"\n};\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = [\"src\"];\nconst _hoisted_6 = {\n class: \"recent-text\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"recentSearchedTitle\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.queries, q => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: q,\n class: \"item\",\n onClick: $event => $setup.selectHist(q)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.RecentIcon,\n alt: \"recent\",\n class: \"recent-icon\"\n }, null, 8 /* PROPS */, _hoisted_5), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_6, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(q), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_4);\n }), 128 /* KEYED_FRAGMENT */))])]);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMRecentHist.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1076,7 +1124,7 @@
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-6fddd196\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n ref: \"searchDiv\",\n class: \"search\"\n};\nconst _hoisted_2 = {\n class: \"header\"\n};\nconst _hoisted_3 = {\n class: \"input-wrapper\"\n};\nconst _hoisted_4 = [\"src\"];\nconst _hoisted_5 = [\"placeholder\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.SearchIcon,\n alt: \"search\",\n class: \"search-icon\"\n }, null, 8 /* PROPS */, _hoisted_4), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.searchVal = $event),\n placeholder: $setup.mLang.get('searchBarPlaceholder'),\n class: \"search-input\",\n autofocus: \"\",\n type: \"search\",\n onKeydown: [_cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)($event => $setup.searchVal = '', [\"esc\"])), _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)(\n //@ts-ignore\n (...args) => $setup.entrySearch && $setup.entrySearch(...args), [\"enter\"]))]\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.searchVal, void 0, {\n trim: true\n }]])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"cancel\",\n onClick: _cache[3] || (_cache[3] = $event => $setup.router.go(-1))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"cancel\")), 1 /* TEXT */)]), !$setup.searched ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SMRecentHist\"], {\n key: 0\n })) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SMSearchResults\"], {\n key: 1,\n \"search-result\": $setup.searchResult,\n onSearchMore: $setup.searchMore,\n onSelectResult: $setup.selectResult\n }, null, 8 /* PROPS */, [\"search-result\", \"onSearchMore\", \"onSelectResult\"]))], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearch.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-6fddd196\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n ref: \"searchDiv\",\n class: \"search\"\n};\nconst _hoisted_2 = {\n class: \"header\"\n};\nconst _hoisted_3 = {\n class: \"input-wrapper\"\n};\nconst _hoisted_4 = [\"src\"];\nconst _hoisted_5 = [\"placeholder\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.SearchIcon,\n alt: \"search\",\n class: \"search-icon\"\n }, null, 8 /* PROPS */, _hoisted_4), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.searchVal = $event),\n placeholder: $setup.mLang.get('searchBarPlaceholder'),\n class: \"search-input\",\n autofocus: \"\",\n type: \"search\",\n onKeydown: [_cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)($event => $setup.searchVal = '', [\"esc\"])), _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)(\n //@ts-ignore\n (...args) => $setup.entrySearch && $setup.entrySearch(...args), [\"enter\"])), _cache[3] || (_cache[3] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyArrowUpDown && $setup.keyArrowUpDown(...args), [\"prevent\"]), [\"up\"])), _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyArrowUpDown && $setup.keyArrowUpDown(...args), [\"prevent\"]), [\"down\"])), _cache[5] || (_cache[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyTab && $setup.keyTab(...args), [\"prevent\"]), [\"tab\"]))]\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.searchVal, void 0, {\n trim: true\n }]])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"cancel\",\n onClick: _cache[6] || (_cache[6] = $event => $setup.router.go(-1))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"cancel\")), 1 /* TEXT */)]), !$setup.searched ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SMRecentHist\"], {\n key: 0\n })) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"SMSearchResults\"], {\n key: 1,\n \"search-result\": $setup.searchResult,\n onSearchMore: $setup.searchMore,\n onSelectResult: $setup.selectResult\n }, null, 8 /* PROPS */, [\"search-result\", \"onSearchMore\", \"onSelectResult\"]))], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearch.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1088,7 +1136,7 @@
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-19c64c31\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = {\n class: \"node-title\"\n};\nconst _hoisted_3 = {\n class: \"node-time\"\n};\nconst _hoisted_4 = {\n class: \"node-content\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"no-search-result\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get('noSearchResult')), 513 /* TEXT, NEED_PATCH */), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.props.searchResult.nodes.length === 0]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"search-results\",\n onScrollend: _cache[0] || (_cache[0] = $event => $setup.emit('searchMore'))\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($props.searchResult.nodes, result => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: result.id,\n class: \"search-result hover-node-bg\",\n onClick: $event => $setup.emit('selectResult', result.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(result.title), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.utc2local(result.modifiedAt)), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.snippet, 100)), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_1);\n }), 128 /* KEYED_FRAGMENT */))], 544 /* HYDRATE_EVENTS, NEED_PATCH */), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.props.searchResult.nodes.length > 0]])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-19c64c31\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"onClick\"];\nconst _hoisted_2 = {\n class: \"node-time\"\n};\nconst _hoisted_3 = {\n class: \"node-content\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"no-search-result\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get('noSearchResult')), 513 /* TEXT, NEED_PATCH */), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.props.searchResult.nodes.length === 0]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"search-results\",\n onScroll: _cache[0] || (_cache[0] = $event => $setup.emit('searchMore', $event))\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($props.searchResult.nodes, result => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: result.id,\n class: \"search-result hover-node-bg\",\n onClick: $event => $setup.emit('selectResult', result.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"ResultTitleHeader\"], {\n title: result.title\n }, null, 8 /* PROPS */, [\"title\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.utc2local(result.modifiedAt)), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.snippet, 100)), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_1);\n }), 128 /* KEYED_FRAGMENT */))], 544 /* HYDRATE_EVENTS, NEED_PATCH */), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.props.searchResult.nodes.length > 0]])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SMSearchResults.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1100,7 +1148,7 @@
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-48038053\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"search-wrapper\"\n};\nconst _hoisted_2 = [\"src\"];\nconst _hoisted_3 = [\"placeholder\"];\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = {\n class: \"node-title\"\n};\nconst _hoisted_6 = {\n class: \"node-content\"\n};\nconst _hoisted_7 = {\n key: 1,\n class: \"search-results no-result\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.SearchIcon,\n alt: \"search\",\n class: \"search-icon\"\n }, null, 8 /* PROPS */, _hoisted_2), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.searchVal = $event),\n placeholder: $setup.mLang.get('searchBarPlaceholder'),\n class: \"search-input\",\n type: \"search\",\n onKeydown: [_cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)($event => $setup.searchVal = '', [\"esc\"])), _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)(\n //@ts-ignore\n (...args) => $setup.entrySearch && $setup.entrySearch(...args), [\"enter\"]))]\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.searchVal, void 0, {\n trim: true\n }]])]), $setup.searched && $setup.searchResult.nodes.length > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 0,\n class: \"search-results\",\n onScrollend: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.searchMore && $setup.searchMore(...args))\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.searchResult.nodes, result => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: result.id,\n class: \"search-result hover-node-bg\",\n onClick: $event => $setup.selectResult(result.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(result.title), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_6, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.snippet, 60)), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_4);\n }), 128 /* KEYED_FRAGMENT */))], 32 /* HYDRATE_EVENTS */)) : $setup.searched && $setup.searchResult.nodes.length === 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_7, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"noSearchResult\")), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SearchTool.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-48038053\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"search-wrapper\"\n};\nconst _hoisted_2 = [\"src\"];\nconst _hoisted_3 = [\"placeholder\"];\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = {\n class: \"node-content\"\n};\nconst _hoisted_6 = {\n key: 1,\n class: \"search-results no-result\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.SearchIcon,\n alt: \"search\",\n class: \"search-icon\"\n }, null, 8 /* PROPS */, _hoisted_2), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.searchVal = $event),\n placeholder: $setup.mLang.get('searchBarPlaceholder'),\n class: \"search-input\",\n type: \"search\",\n onKeydown: [_cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)($event => $setup.searchVal = '', [\"esc\"])), _cache[2] || (_cache[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)(\n //@ts-ignore\n (...args) => $setup.entrySearch && $setup.entrySearch(...args), [\"enter\"])), _cache[3] || (_cache[3] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyArrowUpDown && $setup.keyArrowUpDown(...args), [\"prevent\", \"stop\"]), [\"up\"])), _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyArrowUpDown && $setup.keyArrowUpDown(...args), [\"prevent\", \"stop\"]), [\"down\"])), _cache[5] || (_cache[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(\n //@ts-ignore\n (...args) => $setup.keyTab && $setup.keyTab(...args), [\"prevent\", \"stop\"]), [\"tab\"]))]\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.searchVal, void 0, {\n trim: true\n }]])]), $setup.searched && $setup.searchResult.nodes.length > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 0,\n class: \"search-results\",\n onScroll: _cache[6] || (_cache[6] =\n //@ts-ignore\n (...args) => $setup.searchMore && $setup.searchMore(...args))\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.searchResult.nodes, result => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: result.id,\n class: \"search-result hover-node-bg\",\n onClick: $event => $setup.selectResult(result.id)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"ResultTitleHeader\"], {\n title: result.title\n }, null, 8 /* PROPS */, [\"title\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText(result.snippet, 60)), 1 /* TEXT */)], 8 /* PROPS */, _hoisted_4);\n }), 128 /* KEYED_FRAGMENT */))], 32 /* HYDRATE_EVENTS */)) : $setup.searched && $setup.searchResult.nodes.length === 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_6, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"noSearchResult\")), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nav/top/search/SearchTool.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1124,7 +1172,7 @@
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-12cdb325\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"tool-bar-left\"\n};\nconst _hoisted_2 = {\n key: 0,\n class: \"app-title\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, ['titleKey' in $setup.routeMeta ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"h1\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get($setup.routeMeta.titleKey)), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.nodeOrderingBar, no => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"NodeDisplayDropdownMenu\"], {\n key: no.toolBarIcon,\n items: no.items,\n \"show-buttons\": no.showButtons(),\n \"tool-bar-icon\": no.toolBarIcon,\n onHandleDrop: no.handleDrop\n }, null, 8 /* PROPS */, [\"items\", \"show-buttons\", \"tool-bar-icon\", \"onHandleDrop\"]);\n }), 128 /* KEYED_FRAGMENT */)), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"BatchFilesOps\"])]), $setup.user?.nodeDisplayMethod === 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"GridDisplay\"], {\n key: 0,\n \"nodes-info\": $setup.pagedNodesInfo.nodes,\n onScrollend: $setup.loadMore\n }, null, 8 /* PROPS */, [\"nodes-info\", \"onScrollend\"])) : $setup.user?.nodeDisplayMethod === 1 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"ListDisplay\"], {\n key: 1,\n \"nodes-info\": $setup.pagedNodesInfo.nodes,\n onScrollend: $setup.loadMore\n }, null, 8 /* PROPS */, [\"nodes-info\", \"onScrollend\"])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/AppNodeDisplayPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-12cdb325\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"tool-bar-left\"\n};\nconst _hoisted_2 = {\n key: 0,\n class: \"app-title\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, ['titleKey' in $setup.routeMeta ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"h1\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get($setup.routeMeta.titleKey)), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.nodeOrderingBar, no => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"NodeDisplayDropdownMenu\"], {\n key: no.toolBarIcon,\n items: no.items,\n \"show-buttons\": no.showButtons(),\n \"tool-bar-icon\": no.toolBarIcon,\n onHandleDrop: no.handleDrop\n }, null, 8 /* PROPS */, [\"items\", \"show-buttons\", \"tool-bar-icon\", \"onHandleDrop\"])), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, !$setup.showBatchOps]]);\n }), 128 /* KEYED_FRAGMENT */)), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"BatchFilesOps\"], null, null, 512 /* NEED_PATCH */), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.showBatchOps]])]), $setup.user?.nodeDisplayMethod === 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"GridDisplay\"], {\n key: 0,\n \"nodes-info\": $setup.pagedNodesInfo.nodes,\n onScroll: $setup.loadMore\n }, null, 8 /* PROPS */, [\"nodes-info\", \"onScroll\"])) : $setup.user?.nodeDisplayMethod === 1 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)($setup[\"ListDisplay\"], {\n key: 1,\n \"nodes-info\": $setup.pagedNodesInfo.nodes,\n onScroll: $setup.loadMore\n }, null, 8 /* PROPS */, [\"nodes-info\", \"onScroll\"])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"WaitLoading\"], {\n circle: false,\n loading: $setup.loading,\n style: {\n \"height\": \"100px\"\n }\n }, null, 8 /* PROPS */, [\"loading\"])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/AppNodeDisplayPanel.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1208,7 +1256,7 @@
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-0e836fc1\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"batch-ops\"\n};\nconst _hoisted_2 = {\n key: 1,\n class: \"batch-ops\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return $setup.routeName === 'rethink' ? (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"first-btn\",\n onClick: _cache[0] || (_cache[0] =\n //@ts-ignore\n (...args) => $setup.batchShare && $setup.batchShare(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsShare\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[1] || (_cache[1] =\n //@ts-ignore\n (...args) => $setup.batchCancel && $setup.batchCancel(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsCancel\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[2] || (_cache[2] =\n //@ts-ignore\n (...args) => $setup.batchTrash && $setup.batchTrash(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsTrash\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"last-btn\",\n onClick: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.batchDownload && $setup.batchDownload(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsDownload\")), 1 /* TEXT */)], 512 /* NEED_PATCH */)), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.showBatchOps]]) : $setup.routeName === 'trash' ? (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"first-btn\",\n onClick: _cache[4] || (_cache[4] =\n //@ts-ignore\n (...args) => $setup.batchCancel && $setup.batchCancel(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsCancel\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[5] || (_cache[5] =\n //@ts-ignore\n (...args) => $setup.batchRestore && $setup.batchRestore(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsRestore\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"last-btn\",\n onClick: _cache[6] || (_cache[6] =\n //@ts-ignore\n (...args) => $setup.batchDelete && $setup.batchDelete(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsDelete\")), 1 /* TEXT */)], 512 /* NEED_PATCH */)), [[vue__WEBPACK_IMPORTED_MODULE_0__.vShow, $setup.showBatchOps]]) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/toolBar/BatchFilesOps.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return $setup.routeName === 'rethink' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 0,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"batch-ops\", $setup.batchOpsClass])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"first-btn\",\n onClick: _cache[0] || (_cache[0] =\n //@ts-ignore\n (...args) => $setup.batchShare && $setup.batchShare(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsShare\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[1] || (_cache[1] =\n //@ts-ignore\n (...args) => $setup.batchCancel && $setup.batchCancel(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsCancel\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[2] || (_cache[2] =\n //@ts-ignore\n (...args) => $setup.batchTrash && $setup.batchTrash(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsTrash\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"last-btn\",\n onClick: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.batchDownload && $setup.batchDownload(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsDownload\")), 1 /* TEXT */)], 2 /* CLASS */)) : $setup.routeName === 'trash' ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 1,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"batch-ops\", $setup.batchOpsClass])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"first-btn\",\n onClick: _cache[4] || (_cache[4] =\n //@ts-ignore\n (...args) => $setup.batchCancel && $setup.batchCancel(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsCancel\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: _cache[5] || (_cache[5] =\n //@ts-ignore\n (...args) => $setup.batchRestore && $setup.batchRestore(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsRestore\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"last-btn\",\n onClick: _cache[6] || (_cache[6] =\n //@ts-ignore\n (...args) => $setup.batchDelete && $setup.batchDelete(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"batchFileOpsDelete\")), 1 /* TEXT */)], 2 /* CLASS */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/nodesDisplay/toolBar/BatchFilesOps.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1244,7 +1292,7 @@
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-dc31438a\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n ref: \"quickPostPanelEle\",\n class: \"quick-post-panel\"\n};\nconst _hoisted_2 = [\"placeholder\"];\nconst _hoisted_3 = {\n class: \"quick-post-footer\"\n};\nconst _hoisted_4 = {\n key: 1,\n class: \"word-count\"\n};\nconst _hoisted_5 = [\"src\", \"title\"];\nconst _hoisted_6 = [\"title\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"textarea\", {\n ref: \"quickPostTextareaEle\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.quickPost = $event),\n placeholder: $setup.mLang.get('quickPostPanelPlaceholder'),\n class: \"quick-post\",\n onFocus: _cache[1] || (_cache[1] =\n //@ts-ignore\n (...args) => $setup.focusOnQuickPost && $setup.focusOnQuickPost(...args))\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_2), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.quickPost]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, [$setup.ExceedMaxLength ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", {\n key: 0,\n class: \"too-long\",\n onClick: _cache[2] || (_cache[2] =\n //@ts-ignore\n (...args) => $setup.editInNodePage && $setup.editInNodePage(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"quickPostTooLong\")), 1 /* TEXT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.wordCount), 1 /* TEXT */)), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.DiagonalArrowRightUp,\n title: $setup.mLang.get('quickPostEditInNodePage'),\n alt: \"edit\",\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"to-node-page-icon\", {\n 'to-node-page-icon-disable': $setup.quickPost.length === 0\n }]),\n onClick: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.editInNodePage && $setup.editInNodePage(...args))\n }, null, 10 /* CLASS, PROPS */, _hoisted_5), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n ref: \"postBtnEle\",\n title: $setup.mLang.get('quickPostBtnTitle'),\n class: \"btn\",\n disabled: \"\",\n onClick: _cache[4] || (_cache[4] =\n //@ts-ignore\n (...args) => $setup.postQuickPost && $setup.postQuickPost(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"quickPostBtn\")), 9 /* TEXT, PROPS */, _hoisted_6)])], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/postNewNode/PostWindow.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-dc31438a\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"placeholder\"];\nconst _hoisted_2 = {\n class: \"quick-post-footer\"\n};\nconst _hoisted_3 = {\n key: 1,\n class: \"word-count\"\n};\nconst _hoisted_4 = [\"src\", \"title\"];\nconst _hoisted_5 = [\"title\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n ref: \"quickPostPanelEle\",\n class: \"quick-post-panel\",\n onClick: _cache[4] || (_cache[4] =\n //@ts-ignore\n (...args) => $setup.focusOnQuickPost && $setup.focusOnQuickPost(...args))\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"textarea\", {\n ref: \"quickPostTextareaEle\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.quickPost = $event),\n placeholder: $setup.mLang.get('quickPostPanelPlaceholder'),\n class: \"quick-post\"\n }, null, 8 /* PROPS */, _hoisted_1), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.quickPost]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [$setup.ExceedMaxLength ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", {\n key: 0,\n class: \"too-long\",\n onClick: _cache[1] || (_cache[1] =\n //@ts-ignore\n (...args) => $setup.editInNodePage && $setup.editInNodePage(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"quickPostTooLong\")), 1 /* TEXT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.wordCount), 1 /* TEXT */)), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.ExpandIcon,\n title: $setup.mLang.get('quickPostEditInNodePage'),\n alt: \"edit\",\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"to-node-page-icon\", {\n 'to-node-page-icon-disable': $setup.quickPost.length === 0\n }]),\n onClick: _cache[2] || (_cache[2] =\n //@ts-ignore\n (...args) => $setup.editInNodePage && $setup.editInNodePage(...args))\n }, null, 10 /* CLASS, PROPS */, _hoisted_4), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n ref: \"postBtnEle\",\n title: $setup.mLang.get('quickPostBtnTitle'),\n class: \"btn\",\n disabled: \"\",\n onClick: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.postQuickPost && $setup.postQuickPost(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"quickPostBtn\")), 9 /* TEXT, PROPS */, _hoisted_5)])], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/postNewNode/PostWindow.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1256,7 +1304,31 @@
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-a421d7c6\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"accept\"];\nconst _hoisted_2 = {\n class: \"file-label\",\n for: \"fileInput\"\n};\nconst _hoisted_3 = {\n key: 0\n};\nconst _hoisted_4 = {\n key: 1\n};\nconst _hoisted_5 = {\n class: \"click-upload\"\n};\nconst _hoisted_6 = {\n key: 0,\n class: \"preview-container mt-4\"\n};\nconst _hoisted_7 = [\"alt\", \"src\"];\nconst _hoisted_8 = [\"title\"];\nconst _hoisted_9 = [\"onClick\"];\nconst _hoisted_10 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"b\", null, \"×\", -1 /* HOISTED */));\nconst _hoisted_11 = [_hoisted_10];\nconst _hoisted_12 = {\n class: \"submit-div\"\n};\nconst _hoisted_13 = [\"disabled\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: \"dropzone-container\",\n onDragleave: _cache[1] || (_cache[1] =\n //@ts-ignore\n (...args) => $setup.dragleave && $setup.dragleave(...args)),\n onDragover: _cache[2] || (_cache[2] =\n //@ts-ignore\n (...args) => $setup.dragover && $setup.dragover(...args)),\n onDrop: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.drop && $setup.drop(...args))\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n id: \"fileInput\",\n ref: \"file\",\n accept: $setup.props.accept,\n class: \"hidden-input\",\n multiple: \"\",\n name: \"file\",\n type: \"file\",\n onChange: _cache[0] || (_cache[0] =\n //@ts-ignore\n (...args) => $setup.onChange && $setup.onChange(...args))\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"label\", _hoisted_2, [$setup.isDragging ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropIsDragging\")), 1 /* TEXT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_4, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropNotDraggingPre\")) + \" \", 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropNotDraggingClick\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)(\" \" + (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropNotDraggingPost\")), 1 /* TEXT */)]))]), $setup.files.length ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_6, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.files, file => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: file.name,\n class: \"preview-card\"\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", null, [$setup.isImage(file) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"img\", {\n key: 0,\n alt: file.name,\n src: $setup.generateThumbnail(file),\n class: \"preview-img\"\n }, null, 8 /* PROPS */, _hoisted_7)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"p\", {\n title: file.name,\n class: \"filename\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.makeName(file.name)), 9 /* TEXT, PROPS */, _hoisted_8)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"ml-2\",\n title: \"Remove file\",\n type: \"button\",\n onClick: $event => $setup.remove($setup.files.indexOf(file))\n }, _hoisted_11, 8 /* PROPS */, _hoisted_9)]);\n }), 128 /* KEYED_FRAGMENT */))])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 32 /* HYDRATE_EVENTS */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_12, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n disabled: $setup.files.length === 0,\n class: \"submit\",\n onClick: _cache[4] || (_cache[4] =\n //@ts-ignore\n (...args) => $setup.submit && $setup.submit(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"filesSubmitBtn\")), 9 /* TEXT, PROPS */, _hoisted_13)])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/DropFile.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-a421d7c6\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = [\"accept\"];\nconst _hoisted_2 = {\n class: \"file-label\",\n for: \"fileInput\"\n};\nconst _hoisted_3 = {\n key: 0\n};\nconst _hoisted_4 = {\n key: 1\n};\nconst _hoisted_5 = {\n class: \"click-upload\"\n};\nconst _hoisted_6 = {\n key: 0,\n class: \"preview-container mt-4\"\n};\nconst _hoisted_7 = [\"alt\", \"src\"];\nconst _hoisted_8 = [\"title\"];\nconst _hoisted_9 = [\"onClick\"];\nconst _hoisted_10 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"b\", null, \"×\", -1 /* HOISTED */));\nconst _hoisted_11 = [_hoisted_10];\nconst _hoisted_12 = {\n class: \"submit-div\"\n};\nconst _hoisted_13 = [\"disabled\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"WaitLoading\"], {\n circle: true,\n loading: $setup.sending,\n style: {\n \"height\": \"200px\"\n }\n }, null, 8 /* PROPS */, [\"loading\"]), !$setup.sending ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: 0,\n class: \"dropzone-container\",\n onDragleave: _cache[1] || (_cache[1] =\n //@ts-ignore\n (...args) => $setup.dragleave && $setup.dragleave(...args)),\n onDragover: _cache[2] || (_cache[2] =\n //@ts-ignore\n (...args) => $setup.dragover && $setup.dragover(...args)),\n onDrop: _cache[3] || (_cache[3] =\n //@ts-ignore\n (...args) => $setup.drop && $setup.drop(...args))\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n id: \"fileInput\",\n ref: \"file\",\n accept: $setup.props.accept,\n class: \"hidden-input\",\n multiple: \"\",\n name: \"file\",\n type: \"file\",\n onChange: _cache[0] || (_cache[0] =\n //@ts-ignore\n (...args) => $setup.onChange && $setup.onChange(...args))\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"label\", _hoisted_2, [$setup.isDragging ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropIsDragging\")), 1 /* TEXT */)) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_4, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropNotDraggingPre\")) + \" \", 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_5, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropNotDraggingClick\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)(\" \" + (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"fileDropNotDraggingPost\")), 1 /* TEXT */)]))]), $setup.files.length ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_6, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.files, file => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: file.name,\n class: \"preview-card\"\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", null, [$setup.isImage(file) ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"img\", {\n key: 0,\n alt: file.name,\n src: $setup.generateThumbnail(file),\n class: \"preview-img\"\n }, null, 8 /* PROPS */, _hoisted_7)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"p\", {\n title: file.name,\n class: \"filename\"\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.makeName(file.name)), 9 /* TEXT, PROPS */, _hoisted_8)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n class: \"ml-2\",\n title: \"Remove file\",\n type: \"button\",\n onClick: $event => $setup.remove($setup.files.indexOf(file))\n }, _hoisted_11, 8 /* PROPS */, _hoisted_9)]);\n }), 128 /* KEYED_FRAGMENT */))])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 32 /* HYDRATE_EVENTS */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_12, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n disabled: $setup.files.length === 0 || $setup.sending,\n class: \"submit\",\n onClick: _cache[4] || (_cache[4] =\n //@ts-ignore\n (...args) => $setup.submit && $setup.submit(...args))\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"filesSubmitBtn\")), 9 /* TEXT, PROPS */, _hoisted_13)])], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/DropFile.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
+ /***/
+ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true":
+ /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true ***!
+ \***************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-4f42ee16\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"result-tab-go\"\n};\nconst _hoisted_2 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", null, \"Tab\", -1 /* HOISTED */));\nconst _hoisted_3 = [\"src\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [_hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n src: $setup.TabIcon,\n alt: \"tab\"\n }, null, 8 /* PROPS */, _hoisted_3)]);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
+ /***/
+ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true":
+ /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true ***!
+ \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-3f3f66f4\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"header\"\n};\nconst _hoisted_2 = {\n class: \"result-title\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.clipText($setup.props.title, 30)), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"ResultTab\"])]);\n}\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1448,7 +1520,7 @@
\**************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _hoisted_1 = {\n key: 0,\n class: \"rethink-app\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return $setup.user ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"AppLeftSide\"], {\n user: $setup.user\n }, null, 8 /* PROPS */, [\"user\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([{\n 'right-app-section-sm': $setup.mq.sm\n }, \"right-app-section\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"AppHeader\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"PostWindow\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"AppNodeDisplayPanel\"])], 2 /* CLASS */)])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true);\n}\n\n//# sourceURL=webpack://rethink/./src/views/app/AppView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _hoisted_1 = {\n key: 0,\n class: \"rethink-app\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"WaitLoading\"], {\n circle: true,\n loading: !$setup.user\n }, null, 8 /* PROPS */, [\"loading\"]), $setup.user ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"AppLeftSide\"], {\n user: $setup.user\n }, null, 8 /* PROPS */, [\"user\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([{\n 'right-app-section-sm': $setup.mq.sm\n }, \"right-app-section\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"AppHeader\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"PostWindow\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"AppNodeDisplayPanel\"])], 2 /* CLASS */)])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 64 /* STABLE_FRAGMENT */);\n}\n\n//# sourceURL=webpack://rethink/./src/views/app/AppView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1472,7 +1544,7 @@
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-7637bc9c\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"import-view\"\n};\nconst _hoisted_2 = {\n class: \"default-go-back-div\"\n};\nconst _hoisted_3 = {\n class: \"import-methods\"\n};\nconst _hoisted_4 = [\"alt\", \"src\"];\nconst _hoisted_5 = {\n class: \"middle-text\"\n};\nconst _hoisted_6 = [\"onClick\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"GoBack\"], {\n num: -1\n })]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h1\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"importDataH1\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_3, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.methods, method => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n key: method.name,\n class: \"method\"\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n alt: method.name,\n src: method.icon\n }, null, 8 /* PROPS */, _hoisted_4), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_5, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(method.name), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"p\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.getLang(method.description)), 1 /* TEXT */)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: $event => method.showComponent.value = true\n }, \"Import\", 8 /* PROPS */, _hoisted_6), method.showComponent.value ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent)(method.component), {\n key: 0,\n description: $setup.getLang(method.description),\n \"max-file-count\": $setup.maxFileCount,\n \"max-file-size\": $setup.maxFileSize,\n requirements: $setup.getLangArray(method.requirements),\n \"submit-url\": method.submitUrl,\n title: method.name,\n onClose: $event => method.showComponent.value = false\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, [\"description\", \"requirements\", \"submit-url\", \"title\", \"onClose\"])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)]);\n }), 64 /* STABLE_FRAGMENT */))])]);\n}\n\n//# sourceURL=webpack://rethink/./src/views/app/ImportDataView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _withScopeId = n => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.pushScopeId)(\"data-v-7637bc9c\"), n = n(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.popScopeId)(), n);\nconst _hoisted_1 = {\n class: \"default-go-back-div\"\n};\nconst _hoisted_2 = [\"alt\", \"src\"];\nconst _hoisted_3 = [\"onClick\"];\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.importClass, \"import-view\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"GoBack\"], {\n num: -1\n })]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h1\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.mLang.get(\"importDataH1\")), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.importMethodClass, \"import-methods\"])\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($setup.methods, method => {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n key: method.name,\n class: \"method\"\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n alt: method.name,\n src: method.icon\n }, null, 8 /* PROPS */, _hoisted_2), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([$setup.middleTextClass, \"middle-text\"])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h3\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(method.name), 1 /* TEXT */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"p\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.getLang(method.description)), 1 /* TEXT */)], 2 /* CLASS */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"button\", {\n onClick: $event => method.showComponent.value = true\n }, \"Import\", 8 /* PROPS */, _hoisted_3), method.showComponent.value ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent)(method.component), {\n key: 0,\n description: $setup.getLang(method.description),\n \"max-file-count\": $setup.maxFileCount,\n \"max-file-size\": $setup.maxFileSize,\n requirements: $setup.getLangArray(method.requirements),\n \"submit-url\": method.submitUrl,\n title: method.name,\n onClose: $event => method.showComponent.value = false\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, [\"description\", \"requirements\", \"submit-url\", \"title\", \"onClose\"])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)]);\n }), 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" \")], 2 /* CLASS */);\n}\n\n//# sourceURL=webpack://rethink/./src/views/app/ImportDataView.vue?./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use%5B1%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B4%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
/***/
}),
@@ -1544,7 +1616,7 @@
\*****************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var _views_HomeView_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/views/HomeView.vue */ \"./src/views/HomeView.vue\");\n/* harmony import */ var _views_AboutView_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/views/AboutView.vue */ \"./src/views/AboutView.vue\");\n/* harmony import */ var _views_app_UserProfileView_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/views/app/UserProfileView.vue */ \"./src/views/app/UserProfileView.vue\");\n/* harmony import */ var _views_LoginView_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/LoginView.vue */ \"./src/views/LoginView.vue\");\n/* harmony import */ var _views_NotFoundView_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/NotFoundView.vue */ \"./src/views/NotFoundView.vue\");\n/* harmony import */ var _views_ForgetPasswordView_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/ForgetPasswordView.vue */ \"./src/views/ForgetPasswordView.vue\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_account_login__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/account/login */ \"./src/utils/account/login.ts\");\n/* harmony import */ var _views_OAuthView_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/OAuthView.vue */ \"./src/views/OAuthView.vue\");\n/* harmony import */ var _views_app_SettingsView_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/app/SettingsView.vue */ \"./src/views/app/SettingsView.vue\");\n/* harmony import */ var _views_app_EditorView_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/app/EditorView.vue */ \"./src/views/app/EditorView.vue\");\n/* harmony import */ var _views_app_AppView_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/app/AppView.vue */ \"./src/views/app/AppView.vue\");\n/* harmony import */ var _views_app_TrashView_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/views/app/TrashView.vue */ \"./src/views/app/TrashView.vue\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n/* harmony import */ var _views_app_MobileSearchView_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/views/app/MobileSearchView.vue */ \"./src/views/app/MobileSearchView.vue\");\n/* harmony import */ var _views_app_ImportDataView_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/views/app/ImportDataView.vue */ \"./src/views/app/ImportDataView.vue\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst authBeforeEnter = () => {\n if ((0,_utils_account_token__WEBPACK_IMPORTED_MODULE_13__.getToken)() === \"\") {\n return {\n name: \"login\"\n };\n }\n};\nconst checkSingleMode = async () => {\n if (_utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].oneUser) {\n await (0,_utils_account_login__WEBPACK_IMPORTED_MODULE_7__.tryLogin)(\"rethink@rethink.run\", \"no-password\");\n return {\n name: \"rethink\"\n };\n }\n};\nconst routes = [{\n path: '/',\n name: 'home',\n component: _views_HomeView_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/r',\n name: 'rethink',\n meta: {\n titleKey: \"appRethinkH1\"\n },\n component: _views_app_AppView_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/n/:id',\n name: 'node',\n component: _views_app_EditorView_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n beforeEnter: authBeforeEnter,\n props: route => ({\n nid: route.params.id\n })\n}, {\n path: '/r/trash',\n name: 'trash',\n meta: {\n titleKey: \"appTrashH1\"\n },\n component: _views_app_TrashView_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/r/search',\n name: 'search',\n component: _views_app_MobileSearchView_vue__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n beforeEnter: authBeforeEnter,\n props: route => ({\n q: 'q' in route.query ? route.query.q : ''\n })\n}, {\n path: '/about',\n name: 'about',\n component: _views_AboutView_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/user',\n name: 'user',\n component: _views_app_UserProfileView_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/settings',\n name: 'settings',\n component: _views_app_SettingsView_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/import',\n name: 'import',\n component: _views_app_ImportDataView_vue__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/login',\n name: 'login',\n component: _views_LoginView_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/forget-password',\n name: 'forget-password',\n component: _views_ForgetPasswordView_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/oauth-callback/:provider',\n name: 'oauth-callback',\n component: _views_OAuthView_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n beforeEnter: checkSingleMode,\n props: route => ({\n provider: route.params.provider,\n code: route.query.code\n })\n}, {\n path: '/:catchAll(.*)',\n name: 'not-found',\n component: _views_NotFoundView_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n}, {\n path: '/404',\n name: '404',\n component: _views_NotFoundView_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n}];\nconst router = (0,vue_router__WEBPACK_IMPORTED_MODULE_16__.createRouter)({\n history: (0,vue_router__WEBPACK_IMPORTED_MODULE_16__.createWebHistory)(\"/\"),\n routes\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (router);\n\n//# sourceURL=webpack://rethink/./src/router/index.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var _views_HomeView_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/views/HomeView.vue */ \"./src/views/HomeView.vue\");\n/* harmony import */ var _views_AboutView_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/views/AboutView.vue */ \"./src/views/AboutView.vue\");\n/* harmony import */ var _views_app_UserProfileView_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/views/app/UserProfileView.vue */ \"./src/views/app/UserProfileView.vue\");\n/* harmony import */ var _views_LoginView_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/LoginView.vue */ \"./src/views/LoginView.vue\");\n/* harmony import */ var _views_NotFoundView_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/NotFoundView.vue */ \"./src/views/NotFoundView.vue\");\n/* harmony import */ var _views_ForgetPasswordView_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/ForgetPasswordView.vue */ \"./src/views/ForgetPasswordView.vue\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_account_login__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/account/login */ \"./src/utils/account/login.ts\");\n/* harmony import */ var _views_OAuthView_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/OAuthView.vue */ \"./src/views/OAuthView.vue\");\n/* harmony import */ var _views_app_SettingsView_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/app/SettingsView.vue */ \"./src/views/app/SettingsView.vue\");\n/* harmony import */ var _views_app_EditorView_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/app/EditorView.vue */ \"./src/views/app/EditorView.vue\");\n/* harmony import */ var _views_app_AppView_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/app/AppView.vue */ \"./src/views/app/AppView.vue\");\n/* harmony import */ var _views_app_TrashView_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/views/app/TrashView.vue */ \"./src/views/app/TrashView.vue\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n/* harmony import */ var _views_app_MobileSearchView_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/views/app/MobileSearchView.vue */ \"./src/views/app/MobileSearchView.vue\");\n/* harmony import */ var _views_app_ImportDataView_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/views/app/ImportDataView.vue */ \"./src/views/app/ImportDataView.vue\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst authBeforeEnter = () => {\n if ((0,_utils_account_token__WEBPACK_IMPORTED_MODULE_13__.getToken)() === \"\") {\n return {\n name: \"login\"\n };\n }\n};\nconst checkSingleMode = async () => {\n if (_utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].oneUser) {\n await (0,_utils_account_login__WEBPACK_IMPORTED_MODULE_7__.tryLogin)(\"rethink@rethink.run\", \"no-password\");\n return {\n name: \"rethink\"\n };\n }\n};\nconst routes = [{\n path: '/',\n name: 'home',\n component: _views_HomeView_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/login',\n name: 'login',\n component: _views_LoginView_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/forget-password',\n name: 'forget-password',\n component: _views_ForgetPasswordView_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/oauth-callback/:provider',\n name: 'oauth-callback',\n component: _views_OAuthView_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n beforeEnter: checkSingleMode,\n props: route => ({\n provider: route.params.provider,\n code: route.query.code\n })\n}, {\n path: '/about',\n name: 'about',\n component: _views_AboutView_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n beforeEnter: checkSingleMode\n}, {\n path: '/:catchAll(.*)',\n name: 'not-found',\n component: _views_NotFoundView_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n}, {\n path: '/404',\n name: '404',\n component: _views_NotFoundView_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n}, {\n path: '/r',\n name: 'rethink',\n meta: {\n titleKey: \"appRethinkH1\"\n },\n component: _views_app_AppView_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/n/:id',\n name: 'node',\n component: _views_app_EditorView_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n beforeEnter: authBeforeEnter,\n props: route => ({\n nid: route.params.id\n })\n}, {\n path: '/r/trash',\n name: 'trash',\n meta: {\n titleKey: \"appTrashH1\"\n },\n component: _views_app_TrashView_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/r/search',\n name: 'search',\n component: _views_app_MobileSearchView_vue__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n beforeEnter: authBeforeEnter,\n props: route => ({\n q: 'q' in route.query ? route.query.q : ''\n })\n}, {\n path: '/r/user',\n name: 'user',\n component: _views_app_UserProfileView_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/r/settings',\n name: 'settings',\n component: _views_app_SettingsView_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n beforeEnter: authBeforeEnter\n}, {\n path: '/r/import',\n name: 'import',\n component: _views_app_ImportDataView_vue__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n beforeEnter: authBeforeEnter\n}];\nconst router = (0,vue_router__WEBPACK_IMPORTED_MODULE_16__.createRouter)({\n history: (0,vue_router__WEBPACK_IMPORTED_MODULE_16__.createWebHistory)(\"/\"),\n routes\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (router);\n\n//# sourceURL=webpack://rethink/./src/router/index.ts?");
/***/
}),
@@ -1640,7 +1712,7 @@
\****************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ checkedAll: function() { return /* binding */ checkedAll; },\n/* harmony export */ checkedNodeId: function() { return /* binding */ checkedNodeId; },\n/* harmony export */ useBatchFilesOps: function() { return /* binding */ useBatchFilesOps; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_requestId__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/requestId */ \"./src/utils/requestId.ts\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n/* harmony import */ var _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/app/nodesDisplay */ \"./src/utils/app/nodesDisplay.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n\n\n\n\n\n\n\n\n\nconst checkedNodeId = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)([]);\nconst checkedAll = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(false);\nfunction removeNids() {\n // remove deleted nodes from pagedNodesInfo.value\n _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value = {\n nodes: _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value.nodes.filter(node => !checkedNodeId.value.includes(node.id)),\n total: _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value.total - checkedNodeId.value.length\n };\n}\nasync function batchShare() {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(\"还没做完,记得催我一下\");\n}\nfunction batchCancel() {\n checkedNodeId.value = [];\n if ((0,_utils_mq__WEBPACK_IMPORTED_MODULE_2__.getMQ)() !== \"lg\") return;\n document.querySelectorAll(\".checkbox\").forEach(input => {\n input.checked = false;\n input.classList.add(\"cb-hide\");\n });\n}\nasync function batchTrash() {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_8__[\"default\"].put(`${_utils_configs__WEBPACK_IMPORTED_MODULE_3__[\"default\"].apiUrl}/api/trash/batch`, {\n nids: checkedNodeId.value,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()\n }, {\n headers: {\n ContentType: 'application/json',\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_5__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(resp.data.message);\n return;\n }\n removeNids();\n } catch (err) {\n console.log(err);\n }\n checkedAll.value = false;\n}\nasync function batchDelete() {\n if (!(await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showConformMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_7__[\"default\"].get(\"deleteConfirm\")))) return;\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_8__[\"default\"].post(`${_utils_configs__WEBPACK_IMPORTED_MODULE_3__[\"default\"].apiUrl}/api/trashDelete/batch`, {\n nids: checkedNodeId.value,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()\n }, {\n headers: {\n ContentType: 'application/json',\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_5__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(resp.data.message);\n return;\n }\n removeNids();\n } catch (err) {\n console.log(err);\n }\n checkedAll.value = false;\n}\nasync function batchDownload() {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(\"还没做完,记得催我一下\");\n checkedAll.value = false;\n}\nasync function batchRestore() {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_8__[\"default\"].post(`${_utils_configs__WEBPACK_IMPORTED_MODULE_3__[\"default\"].apiUrl}/api/trashRestore/batch`, {\n nids: checkedNodeId.value,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()\n }, {\n headers: {\n ContentType: 'application/json',\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_5__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(resp.data.message);\n return;\n }\n removeNids();\n } catch (err) {\n console.log(err);\n }\n checkedAll.value = false;\n}\n(0,vue__WEBPACK_IMPORTED_MODULE_0__.watch)(checkedAll, newVal => {\n const nodes = Array.from(document.querySelectorAll(\".node-checkbox\"));\n checkedNodeId.value = newVal ? nodes.map(n => n.value) : [];\n nodes.forEach(input => {\n input.checked = newVal;\n if (newVal) {\n input.classList.remove(\"cb-hide\");\n } else {\n input.classList.add(\"cb-hide\");\n }\n });\n});\nfunction useBatchFilesOps() {\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n checkedNodeId.value = [];\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onUnmounted)(() => {\n checkedNodeId.value = [];\n });\n const showBatchOps = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return checkedNodeId.value.length > 0;\n });\n return {\n batchShare,\n batchCancel,\n batchTrash,\n batchDelete,\n batchDownload,\n batchRestore,\n showBatchOps\n };\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/batchFilesOps.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ checkedAll: function() { return /* binding */ checkedAll; },\n/* harmony export */ checkedNodeId: function() { return /* binding */ checkedNodeId; },\n/* harmony export */ showBatchOps: function() { return /* binding */ showBatchOps; },\n/* harmony export */ useBatchFilesOps: function() { return /* binding */ useBatchFilesOps; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_requestId__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/requestId */ \"./src/utils/requestId.ts\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n/* harmony import */ var _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/app/nodesDisplay */ \"./src/utils/app/nodesDisplay.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n\n\n\n\n\n\n\n\n\n\nconst checkedNodeId = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)([]);\nconst checkedAll = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(false);\nfunction removeNids() {\n // remove deleted nodes from pagedNodesInfo.value\n _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value = {\n nodes: _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value.nodes.filter(node => !checkedNodeId.value.includes(node.id)),\n total: _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value.total - checkedNodeId.value.length\n };\n const pnl = _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value.nodes.length;\n if (_utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_6__.pagedNodesInfo.value.total > pnl && pnl < 10) {\n _router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].go(0);\n }\n}\nasync function batchShare() {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(\"还没做完,记得催我一下\");\n}\nfunction batchCancel() {\n checkedNodeId.value = [];\n if ((0,_utils_mq__WEBPACK_IMPORTED_MODULE_2__.getMQ)() !== \"lg\") return;\n document.querySelectorAll(\".checkbox\").forEach(input => {\n input.checked = false;\n input.classList.add(\"cb-hide\");\n });\n}\nasync function batchTrash() {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_9__[\"default\"].put(`${_utils_configs__WEBPACK_IMPORTED_MODULE_3__[\"default\"].apiUrl}/api/trash/batch`, {\n nids: checkedNodeId.value,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()\n }, {\n headers: {\n ContentType: 'application/json',\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_5__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(resp.data.message);\n return;\n }\n removeNids();\n } catch (err) {\n console.log(err);\n }\n checkedAll.value = false;\n}\nasync function batchDelete() {\n if (!(await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showConformMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_7__[\"default\"].get(\"deleteConfirm\")))) return;\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_9__[\"default\"].post(`${_utils_configs__WEBPACK_IMPORTED_MODULE_3__[\"default\"].apiUrl}/api/trashDelete/batch`, {\n nids: checkedNodeId.value,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()\n }, {\n headers: {\n ContentType: 'application/json',\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_5__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(resp.data.message);\n return;\n }\n removeNids();\n } catch (err) {\n console.log(err);\n }\n checkedAll.value = false;\n}\nasync function batchDownload() {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(\"还没做完,记得催我一下\");\n checkedAll.value = false;\n}\nasync function batchRestore() {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_9__[\"default\"].post(`${_utils_configs__WEBPACK_IMPORTED_MODULE_3__[\"default\"].apiUrl}/api/trashRestore/batch`, {\n nids: checkedNodeId.value,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_4__[\"default\"])()\n }, {\n headers: {\n ContentType: 'application/json',\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_5__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(resp.data.message);\n return;\n }\n removeNids();\n } catch (err) {\n console.log(err);\n }\n checkedAll.value = false;\n}\n(0,vue__WEBPACK_IMPORTED_MODULE_0__.watch)(checkedAll, newVal => {\n const nodes = Array.from(document.querySelectorAll(\".node-checkbox\"));\n checkedNodeId.value = newVal ? nodes.map(n => n.value) : [];\n nodes.forEach(input => {\n input.checked = newVal;\n if (newVal) {\n input.classList.remove(\"cb-hide\");\n } else {\n input.classList.add(\"cb-hide\");\n }\n });\n});\nconst showBatchOps = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n return checkedNodeId.value.length > 0;\n});\nfunction useBatchFilesOps() {\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n checkedNodeId.value = [];\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onUnmounted)(() => {\n checkedNodeId.value = [];\n });\n return {\n batchShare,\n batchCancel,\n batchTrash,\n batchDelete,\n batchDownload,\n batchRestore\n };\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/batchFilesOps.ts?");
/***/
}),
@@ -1652,7 +1724,7 @@
\***********************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.url-search-params.delete.js */ \"./node_modules/core-js/modules/web.url-search-params.delete.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.url-search-params.has.js */ \"./node_modules/core-js/modules/web.url-search-params.has.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url-search-params.size.js */ \"./node_modules/core-js/modules/web.url-search-params.size.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n\n\n\n\n\n\n\n\n\nfunction makeName(name) {\n return name.split(\".\")[0].substring(0, 10) + \"...\" + name.split(\".\")[name.split(\".\").length - 1];\n}\nfunction generateThumbnail(file) {\n const fileSrc = URL.createObjectURL(file);\n setTimeout(() => {\n URL.revokeObjectURL(fileSrc);\n }, 1000);\n return fileSrc;\n}\nfunction isImage(file) {\n return file.type.startsWith(\"image/\");\n}\nfunction useDropFile(accept, submitUrl, maxFileSize, maxFileCount, emit) {\n const isDragging = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)(false);\n const file = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)(null);\n const files = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)([]);\n const accepts = accept.split(\",\");\n function onChange() {\n if (!file.value || !file.value.files) return;\n for (let i = 0; i < file.value.files.length; i++) {\n const f = file.value.files[i];\n const sp = f.name.split(\".\");\n if (sp.length < 2) continue;\n const ext = sp[sp.length - 1];\n if (!accepts.includes(`.${ext}`)) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropInvalidFile\") + `: ${f.name}`);\n break;\n }\n if (f.size > maxFileSize) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropTooLarge\") + `: ${f.name}`);\n break;\n }\n if (files.value.length >= maxFileCount) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropTooManyPre\") + maxFileCount + _utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropTooManyPost\"));\n break;\n }\n files.value.push(f);\n }\n }\n function remove(i) {\n files.value.splice(i, 1);\n }\n function dragover(e) {\n e.preventDefault();\n isDragging.value = true;\n }\n function dragleave() {\n isDragging.value = false;\n }\n function drop(e) {\n if (!file.value) return;\n e.preventDefault();\n if (!e.dataTransfer) return;\n file.value.files = e.dataTransfer.files;\n onChange();\n isDragging.value = false;\n }\n async function send() {\n try {\n const formData = new FormData();\n for (let i = 0; i < files.value.length; i++) {\n formData.append(\"files\", files.value[i]);\n }\n const resp = await axios__WEBPACK_IMPORTED_MODULE_8__[\"default\"].post(submitUrl, formData, {\n headers: {\n ContentType: \"multipart/form-data\",\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_7__.getToken)()\n }\n });\n if (resp.status !== 200) {\n console.log(resp.data);\n return false;\n }\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(resp.data.msg);\n return false;\n }\n files.value = [];\n return true;\n } catch (e) {\n console.error(e);\n return false;\n }\n }\n async function submit() {\n if (await send()) {\n await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showConformMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropUploadSuccess\"));\n emit(\"close\");\n }\n }\n return {\n isDragging,\n file,\n files,\n onChange,\n makeName,\n remove,\n dragover,\n dragleave,\n drop,\n generateThumbnail,\n isImage,\n submit\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useDropFile);\n\n//# sourceURL=webpack://rethink/./src/utils/app/dropFile.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.url-search-params.delete.js */ \"./node_modules/core-js/modules/web.url-search-params.delete.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.url-search-params.has.js */ \"./node_modules/core-js/modules/web.url-search-params.has.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.url-search-params.size.js */ \"./node_modules/core-js/modules/web.url-search-params.size.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n\n\n\n\n\n\n\n\n\nfunction makeName(name) {\n return name.split(\".\")[0].substring(0, 10) + \"...\" + name.split(\".\")[name.split(\".\").length - 1];\n}\nfunction generateThumbnail(file) {\n const fileSrc = URL.createObjectURL(file);\n setTimeout(() => {\n URL.revokeObjectURL(fileSrc);\n }, 1000);\n return fileSrc;\n}\nfunction isImage(file) {\n return file.type.startsWith(\"image/\");\n}\nfunction useDropFile(accept, submitUrl, maxFileSize, maxFileCount, emit) {\n const isDragging = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)(false);\n const file = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)(null);\n const files = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)([]);\n const sending = (0,vue__WEBPACK_IMPORTED_MODULE_4__.ref)(false);\n const accepts = accept.split(\",\");\n function onChange() {\n if (!file.value || !file.value.files) return;\n for (let i = 0; i < file.value.files.length; i++) {\n const f = file.value.files[i];\n const sp = f.name.split(\".\");\n if (sp.length < 2) continue;\n const ext = sp[sp.length - 1];\n if (!accepts.includes(`.${ext}`)) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropInvalidFile\") + `: ${f.name}`);\n break;\n }\n if (f.size > maxFileSize) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropTooLarge\") + `: ${f.name}`);\n break;\n }\n if (files.value.length >= maxFileCount) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropTooManyPre\") + maxFileCount + _utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropTooManyPost\"));\n break;\n }\n files.value.push(f);\n }\n }\n function remove(i) {\n files.value.splice(i, 1);\n }\n function dragover(e) {\n e.preventDefault();\n isDragging.value = true;\n }\n function dragleave() {\n isDragging.value = false;\n }\n function drop(e) {\n if (!file.value) return;\n e.preventDefault();\n if (!e.dataTransfer) return;\n file.value.files = e.dataTransfer.files;\n onChange();\n isDragging.value = false;\n }\n async function send() {\n try {\n const formData = new FormData();\n for (let i = 0; i < files.value.length; i++) {\n formData.append(\"files\", files.value[i]);\n }\n const resp = await axios__WEBPACK_IMPORTED_MODULE_8__[\"default\"].post(submitUrl, formData, {\n headers: {\n ContentType: \"multipart/form-data\",\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_7__.getToken)()\n }\n });\n if (resp.status !== 200) {\n console.log(resp.data);\n return false;\n }\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showErrorMsgBox)(resp.data.message);\n return false;\n }\n files.value = [];\n return true;\n } catch (e) {\n console.error(e);\n return false;\n }\n }\n async function submit() {\n sending.value = true;\n if (await send()) {\n emit(\"close\");\n sending.value = false;\n await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_5__.showInfoMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_6__[\"default\"].get(\"fileDropUploadSuccess\"));\n }\n }\n return {\n isDragging,\n file,\n files,\n sending,\n onChange,\n makeName,\n remove,\n dragover,\n dragleave,\n drop,\n generateThumbnail,\n isImage,\n submit\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useDropFile);\n\n//# sourceURL=webpack://rethink/./src/utils/app/dropFile.ts?");
/***/
}),
@@ -1676,7 +1748,7 @@
\*********************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ search: function() { return /* binding */ search; },\n/* harmony export */ useAtSearchBar: function() { return /* binding */ useAtSearchBar; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/editor/refs */ \"./src/utils/app/editor/refs.ts\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n\n\n\nfunction closeSearchWindow() {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value = false;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value = \"\";\n const sel = window.getSelection();\n if (!sel || !_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value) return;\n sel.removeAllRanges();\n sel.addRange(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value);\n sel.collapseToEnd();\n}\nasync function onKeydown(event) {\n if (event.key === \"Escape\") {\n closeSearchWindow();\n } else if ([\"ArrowDown\", \"ArrowUp\"].includes(event.key)) {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value) {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = -1;\n return;\n }\n const elms = document.getElementsByClassName(\"at-search-result\");\n if (elms.length === 0) {\n return;\n }\n event.preventDefault();\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value !== -1) {\n Array.from(elms).forEach(e => {\n e.classList.remove(\"selected-node\");\n e.querySelector(\".tab\")?.classList.remove(\"show-tab\");\n });\n }\n if (event.key === \"ArrowDown\") {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value + 1) % elms.length;\n } else if (event.key === \"ArrowUp\") {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value - 1 + elms.length) % elms.length;\n }\n const selected = elms[_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value];\n selected.classList.add(\"selected-node\");\n selected.querySelector(\".tab\")?.classList.add(\"show-tab\");\n selected.scrollIntoView({\n block: 'nearest'\n });\n } else if (event.key === \"Tab\") {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value) {\n if (event.key === \"Tab\") {\n event.preventDefault();\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value.insertNode(document.createTextNode(\" \"));\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value.collapse(false);\n }\n return;\n }\n const elms = document.getElementsByClassName(\"at-search-result\");\n if (elms.length === 0) {\n return;\n }\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value !== -1) {\n event.preventDefault();\n // trigger on click event\n elms[_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value].click();\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = -1;\n }\n }\n}\nasync function search() {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.node.value) return;\n const q = _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value.trim();\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isResultRecent.value = q === \"\";\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResult.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.cursorQuery)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.node.value.id, q);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = -1;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value = true;\n}\nfunction useAtSearchBar() {\n const searchInputEl = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n const searchButtonEl = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.watch)(() => _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value, val => {\n if (!searchButtonEl.value) return;\n searchButtonEl.value.disabled = val.length === 0;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n if (!searchButtonEl.value || !searchInputEl.value) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value = \"\";\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isResultRecent.value = true;\n searchButtonEl.value.disabled = true;\n searchInputEl.value.focus();\n document.addEventListener(\"keydown\", onKeydown);\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onUnmounted)(() => {\n document.removeEventListener(\"keydown\", onKeydown);\n });\n return {\n closeSearchWindow,\n searchButtonEl,\n searchInputEl\n };\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/editor/atSearchBar.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ search: function() { return /* binding */ search; },\n/* harmony export */ useAtSearchBar: function() { return /* binding */ useAtSearchBar; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/app/editor/refs */ \"./src/utils/app/editor/refs.ts\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _utils_app_tabGo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/tabGo */ \"./src/utils/app/tabGo.ts\");\n\n\n\n\nfunction closeSearchWindow() {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value = false;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value = \"\";\n const sel = window.getSelection();\n if (!sel || !_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value) return;\n sel.removeAllRanges();\n sel.addRange(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value);\n sel.collapseToEnd();\n}\nfunction arrowUpDown(event) {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value) {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = -1;\n return;\n }\n const elms = document.getElementsByClassName(\"at-search-result\");\n if (elms.length === 0) {\n return;\n }\n event.preventDefault();\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value !== -1) {\n Array.from(elms).forEach(e => {\n e.classList.remove(\"selected-node\");\n });\n }\n if (event.key === \"ArrowDown\") {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value + 1) % elms.length;\n } else if (event.key === \"ArrowUp\") {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value - 1 + elms.length) % elms.length;\n }\n const selected = elms[_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value];\n selected.classList.add(\"selected-node\");\n selected.scrollIntoView({\n block: 'nearest'\n });\n (0,_utils_app_tabGo__WEBPACK_IMPORTED_MODULE_3__.showTag)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value);\n}\nfunction keyTab(event) {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value) {\n if (event.key === \"Tab\") {\n event.preventDefault();\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value.insertNode(document.createTextNode(\" \"));\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cacheRange.value.collapse(false);\n }\n return;\n }\n const elms = document.getElementsByClassName(\"at-search-result\");\n if (elms.length === 0) {\n return;\n }\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value !== -1) {\n event.preventDefault();\n // trigger on click event\n elms[_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value].click();\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = -1;\n }\n}\nasync function search() {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.node.value) return;\n const q = _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value.trim();\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isResultRecent.value = q === \"\";\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResult.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.cursorQuery)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.node.value.id, q);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.atSearchResultSelectionIndex.value = -1;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isAtSearch.value = true;\n}\nfunction useAtSearchBar() {\n const searchInputEl = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n const searchButtonEl = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.watch)(() => _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value, val => {\n if (!searchButtonEl.value) return;\n searchButtonEl.value.disabled = val.length === 0;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n if (!searchButtonEl.value || !searchInputEl.value) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.cursorQueryText.value = \"\";\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_1__.isResultRecent.value = true;\n searchButtonEl.value.disabled = true;\n searchInputEl.value.focus();\n });\n return {\n closeSearchWindow,\n arrowUpDown,\n keyTab,\n searchButtonEl,\n searchInputEl\n };\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/editor/atSearchBar.ts?");
/***/
}),
@@ -1700,7 +1772,7 @@
\****************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vditor */ \"./node_modules/vditor/dist/index.min.js\");\n/* harmony import */ var vditor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vditor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vditor_dist_index_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vditor/dist/index.css */ \"./node_modules/vditor/dist/index.css\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/app/editor/refs */ \"./src/utils/app/editor/refs.ts\");\n/* harmony import */ var _utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/app/editor/utils */ \"./src/utils/app/editor/utils.ts\");\n/* harmony import */ var _utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/app/editor/atTag */ \"./src/utils/app/editor/atTag.ts\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n/* harmony import */ var _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/app/editor/keyEvent */ \"./src/utils/app/editor/keyEvent.ts\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function updateTextEl() {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value || !_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) return;\n (0,_utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__.replaceATag)();\n}\nfunction createEditor(id) {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) return;\n const text = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value = new (vditor__WEBPACK_IMPORTED_MODULE_0___default())(id, {\n minHeight: 200,\n height: \"calc(100% - 100px)\",\n width: \"100%\",\n lang: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].getGlobalLang() === \"zh\" ? \"zh_CN\" : \"en_US\",\n mode: \"wysiwyg\",\n placeholder: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"editorContentPlaceholder\"),\n toolbar: [\n // \"outline\",\n // \"|\",\n // \"upload\",\n // \"record\",\n // \"table\",\n // \"|\",\n \"undo\", \"redo\"\n // \"|\",\n // \"fullscreen\",\n // \"edit-mode\",\n // \"export\",\n // {\n // name: \"more\",\n // toolbar: [\n // \"both\",\n // \"code-theme\",\n // \"content-theme\",\n // ],\n // },\n ],\n\n toolbarConfig: {\n hide: false,\n pin: true\n },\n undoDelay: 500,\n preview: {\n markdown: {\n sanitize: true,\n gfmAutoLink: true,\n mark: true,\n codeBlockPreview: true\n // linkPrefix: \"https://\",\n },\n\n hljs: {\n enable: true,\n lineNumber: true\n }\n },\n cache: {\n enable: true,\n id: _utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].mdCacheId,\n after: async md => {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) return;\n md = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(md.trim());\n // skip if not changed\n const oldMd = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md);\n if (oldMd === md) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.updateNode)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.id, md);\n await updateTextEl();\n }\n },\n after: async () => {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.setValue(text);\n await updateTextEl();\n const el = _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element;\n el.addEventListener(\"mouseup\", _utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__.moveCursorOutATag);\n el.addEventListener(\"keyup\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.onKeyup);\n // check @ input\n el.addEventListener(\"beforeinput\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.beforeInput);\n if ((0,_utils_mq__WEBPACK_IMPORTED_MODULE_10__.getMQ)() === \"sm\") {\n el.blur();\n }\n }\n });\n}\nfunction useEditor(id, nid) {\n (0,vue__WEBPACK_IMPORTED_MODULE_2__.onMounted)(async () => {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNode)(nid);\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) {\n _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].go(-1);\n return;\n }\n createEditor(id);\n });\n (0,vue_router__WEBPACK_IMPORTED_MODULE_12__.onBeforeRouteUpdate)(async (to, from, next) => {\n if (to.params.id === from.params.id) return next();\n // for the case that the node is changed\n // hide the at-search-result\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.isAtSearch.value = false;\n // reset the linedNodeExpanded\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.linedNodeExpanded.value.forEach((_, i) => {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.linedNodeExpanded.value[i] = false;\n });\n if (typeof to.params.id !== \"string\") return next(false);\n // get new node\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNode)(to.params.id);\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) {\n _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].go(-1);\n return next(false);\n }\n // reset editor\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value) {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.setValue((0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md));\n await updateTextEl();\n }\n return next();\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_2__.onUnmounted)(async () => {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value) return;\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) {\n const md = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.getValue().trim());\n // skip if not changed\n const oldMd = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md);\n if (oldMd !== md) {\n await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.updateNode)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.id, md);\n }\n }\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element.removeEventListener(\"selectionchange\", _utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__.moveCursorOutATag);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element.removeEventListener(\"keyup\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.onKeyup);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element.removeEventListener(\"beforeinput\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.beforeInput);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.destroy();\n });\n return {\n node: _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useEditor);\n\n//# sourceURL=webpack://rethink/./src/utils/app/editor/editor.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vditor */ \"./node_modules/vditor/dist/index.min.js\");\n/* harmony import */ var vditor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vditor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _assets_css_vditor_vditor_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/css/vditor/vditor.css */ \"./src/assets/css/vditor/vditor.css\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/app/editor/refs */ \"./src/utils/app/editor/refs.ts\");\n/* harmony import */ var _utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/app/editor/utils */ \"./src/utils/app/editor/utils.ts\");\n/* harmony import */ var _utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/app/editor/atTag */ \"./src/utils/app/editor/atTag.ts\");\n/* harmony import */ var _utils_mq__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/utils/mq */ \"./src/utils/mq.ts\");\n/* harmony import */ var _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/app/editor/keyEvent */ \"./src/utils/app/editor/keyEvent.ts\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function updateTextEl() {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value || !_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) return;\n (0,_utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__.replaceATag)();\n}\nfunction createEditor(id) {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) return;\n const text = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md);\n let height, toolbar;\n if ((0,_utils_mq__WEBPACK_IMPORTED_MODULE_10__.getMQ)() === \"sm\") {\n height = \"calc(100% - 180px)\";\n toolbar = [\"|\", \"undo\", \"redo\"];\n } else {\n height = \"calc(100% - 60px)\";\n toolbar = [\"|\", \"outline\", \"|\", \"undo\", \"redo\", \"|\", \"code\", \"table\", \"|\", \"fullscreen\"];\n }\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value = new (vditor__WEBPACK_IMPORTED_MODULE_0___default())(id, {\n // minHeight: 200,\n height: height,\n width: \"100%\",\n lang: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].getGlobalLang() === \"zh\" ? \"zh_CN\" : \"en_US\",\n mode: \"wysiwyg\",\n placeholder: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"editorContentPlaceholder\"),\n outline: {\n enable: false,\n position: \"left\"\n },\n toolbar: [{\n name: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"goBackIcon\"),\n tipPosition: \"nw\",\n tip: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"goBackIcon\"),\n icon: '',\n click: () => _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].go(-1)\n }, ...toolbar],\n toolbarConfig: {\n hide: false,\n pin: true\n },\n undoDelay: 500,\n preview: {\n markdown: {\n sanitize: true,\n gfmAutoLink: true,\n mark: true,\n codeBlockPreview: true\n // linkPrefix: \"https://\",\n },\n\n hljs: {\n enable: true,\n lineNumber: true\n }\n },\n cache: {\n enable: true,\n id: _utils_configs__WEBPACK_IMPORTED_MODULE_6__[\"default\"].mdCacheId,\n after: async md => {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) return;\n md = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(md.trim());\n // skip if not changed\n const oldMd = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md);\n if (oldMd === md) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.updateNode)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.id, md);\n await updateTextEl();\n }\n },\n after: async () => {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value) return;\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.setValue(text);\n await updateTextEl();\n const el = _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element;\n el.addEventListener(\"mouseup\", _utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__.moveCursorOutATag);\n el.addEventListener(\"keyup\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.onKeyup);\n // check @ input\n el.addEventListener(\"beforeinput\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.beforeInput);\n if ((0,_utils_mq__WEBPACK_IMPORTED_MODULE_10__.getMQ)() === \"sm\") {\n el.blur();\n }\n }\n });\n}\nfunction useEditor(id, nid) {\n const ready = (0,vue__WEBPACK_IMPORTED_MODULE_2__.ref)(false);\n (0,vue__WEBPACK_IMPORTED_MODULE_2__.onBeforeMount)(() => {\n ready.value = false;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_2__.onMounted)(async () => {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNode)(nid);\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) {\n _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].go(-1);\n return;\n }\n createEditor(id);\n // wait for editor ready\n await new Promise(resolve => {\n const timer = setInterval(() => {\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value && _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor && _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element) {\n clearInterval(timer);\n resolve(true);\n }\n }, 100);\n });\n ready.value = true;\n });\n (0,vue_router__WEBPACK_IMPORTED_MODULE_12__.onBeforeRouteUpdate)(async (to, from, next) => {\n if (to.params.id === from.params.id) return next();\n // for the case that the node is changed\n // hide the at-search-result\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.isAtSearch.value = false;\n // reset the linedNodeExpanded\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.linedNodeExpanded.value.forEach((_, i) => {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.linedNodeExpanded.value[i] = false;\n });\n if (typeof to.params.id !== \"string\") return next(false);\n // get new node\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNode)(to.params.id);\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) {\n _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].go(-1);\n return next(false);\n }\n // reset editor\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value) {\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.setValue((0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md));\n await updateTextEl();\n }\n return next();\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_2__.onUnmounted)(async () => {\n if (!_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value) return;\n if (_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value) {\n const md = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.getValue().trim());\n // skip if not changed\n const oldMd = (0,_utils_app_editor_utils__WEBPACK_IMPORTED_MODULE_8__.stripWhitespace)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.md);\n if (oldMd !== md) {\n await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.updateNode)(_utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node.value.id, md);\n }\n }\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element.removeEventListener(\"selectionchange\", _utils_app_editor_atTag__WEBPACK_IMPORTED_MODULE_9__.moveCursorOutATag);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element.removeEventListener(\"keyup\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.onKeyup);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.vditor.element.removeEventListener(\"beforeinput\", _utils_app_editor_keyEvent__WEBPACK_IMPORTED_MODULE_11__.beforeInput);\n _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.editor.value.destroy();\n });\n return {\n node: _utils_app_editor_refs__WEBPACK_IMPORTED_MODULE_7__.node,\n ready\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useEditor);\n\n//# sourceURL=webpack://rethink/./src/utils/app/editor/editor.ts?");
/***/
}),
@@ -1784,7 +1856,7 @@
\***************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createDropdownItems: function() { return /* binding */ createDropdownItems; },\n/* harmony export */ pagedNodesInfo: function() { return /* binding */ pagedNodesInfo; },\n/* harmony export */ push2Page: function() { return /* binding */ push2Page; },\n/* harmony export */ useNodesDisplay: function() { return /* binding */ useNodesDisplay; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/const */ \"./src/utils/const.ts\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _utils_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/store */ \"./src/utils/store.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _assets_images_icons_trash_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/assets/images/icons/trash.svg */ \"./src/assets/images/icons/trash.svg\");\n/* harmony import */ var _assets_images_icons_return_arrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/assets/images/icons/return-arrow.svg */ \"./src/assets/images/icons/return-arrow.svg\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _assets_images_icons_list_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/assets/images/icons/list.svg */ \"./src/assets/images/icons/list.svg\");\n/* harmony import */ var _assets_images_icons_view_grid_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/assets/images/icons/view-grid.svg */ \"./src/assets/images/icons/view-grid.svg\");\n/* harmony import */ var _assets_images_icons_sort_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/assets/images/icons/sort.svg */ \"./src/assets/images/icons/sort.svg\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _utils_app_user__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/utils/app/user */ \"./src/utils/app/user.ts\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nlet onTrash = false;\nconst pagedNodesInfo = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)({\n nodes: [],\n total: 0\n});\nfunction handleDropArrangements() {\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements = !_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort = false;\n}\nfunction handleDropSort() {\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort = !_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements = false;\n}\nfunction getSortOrder(sortType) {\n if (sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt) {\n return -1;\n } else if (sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.ModifiedAt) {\n return -1;\n } else if (sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.Title) {\n return 1;\n }\n return -1;\n}\nasync function arrangeItemClicked(displayMethod) {\n if (!_utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value) return;\n _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value.nodeDisplayMethod = displayMethod;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements = false;\n await (0,_utils_app_user__WEBPACK_IMPORTED_MODULE_14__.updateUser)(\"\", \"\", \"\", _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value.language, displayMethod);\n}\nasync function push2Page(nid) {\n if (onTrash) {\n const conform = await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_9__.showConformMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeNeedRestoreToView\"));\n if (!conform) return;\n if (!(await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.restoreNodeFromTrash)(nid))) return;\n }\n await _router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].push({\n name: 'node',\n params: {\n id: nid\n }\n });\n}\nfunction useNodesDisplay() {\n let page = 0;\n const pageSize = 40;\n async function sortBy(value) {\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType = value;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort = false;\n if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"rethink\") {\n pagedNodesInfo.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.searchUserNodes)(\"\", _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType, getSortOrder(_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType), page, pageSize);\n } else if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"trash\") {\n pagedNodesInfo.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNodesInTrash)(page, pageSize);\n }\n }\n async function loadMore() {\n page++;\n // no more nodes\n if (pagedNodesInfo.value.total > 0 && page * pageSize >= pagedNodesInfo.value.total) {\n page--;\n return;\n }\n let newNodes = {\n nodes: [],\n total: 0\n };\n if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"rethink\") {\n newNodes = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.searchUserNodes)(\"\", _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType, getSortOrder(_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType), page, pageSize);\n pagedNodesInfo.value.nodes = pagedNodesInfo.value.nodes.concat(newNodes.nodes);\n } else if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"trash\") {\n newNodes = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNodesInTrash)(page, pageSize);\n pagedNodesInfo.value.nodes = pagedNodesInfo.value.nodes.concat(newNodes.nodes);\n }\n }\n onTrash = (0,vue_router__WEBPACK_IMPORTED_MODULE_15__.useRoute)().name === \"trash\";\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onMounted)(async () => {\n page = 0;\n await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt);\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => {\n page = 0;\n });\n const arrangeItems = [{\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"arrangeNodeList\"),\n icon: _assets_images_icons_list_svg__WEBPACK_IMPORTED_MODULE_10__,\n handleClick: () => arrangeItemClicked(1),\n showTick: () => _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value?.nodeDisplayMethod === 1\n }, {\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"arrangeNodeGrid\"),\n icon: _assets_images_icons_view_grid_svg__WEBPACK_IMPORTED_MODULE_11__,\n handleClick: () => arrangeItemClicked(0),\n showTick: () => _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value?.nodeDisplayMethod === 0\n }];\n const sortItems = [{\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"sortNodeByCreateAt\"),\n handleClick: async () => await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt),\n showTick: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt\n }, {\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"sortNodeByModifiedAt\"),\n handleClick: async () => await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.ModifiedAt),\n showTick: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.ModifiedAt\n }, {\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"sortNodeByTitle\"),\n handleClick: async () => await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.Title),\n showTick: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.Title\n }];\n const nodeOrderingBar = [{\n toolBarIcon: _assets_images_icons_view_grid_svg__WEBPACK_IMPORTED_MODULE_11__,\n items: arrangeItems,\n showButtons: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements,\n handleDrop: handleDropArrangements\n }, {\n toolBarIcon: _assets_images_icons_sort_svg__WEBPACK_IMPORTED_MODULE_12__,\n items: sortItems,\n showButtons: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort,\n handleDrop: handleDropSort\n }];\n return {\n pagedNodesInfo,\n loadMore,\n nodeOrderingBar\n };\n}\nfunction createDropdownItems(nid, title = \"\") {\n function removeInDisplay(nid) {\n pagedNodesInfo.value.nodes = pagedNodesInfo.value.nodes.filter(n => n.id !== nid);\n pagedNodesInfo.value.total--;\n }\n if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"trash\") {\n return [{\n icon: _assets_images_icons_return_arrow_svg__WEBPACK_IMPORTED_MODULE_7__,\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeRestoreFromTrash\"),\n callback: async () => {\n if (await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.restoreNodeFromTrash)(nid)) removeInDisplay(nid);\n }\n }, {\n icon: _assets_images_icons_trash_svg__WEBPACK_IMPORTED_MODULE_6__,\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeDelete\"),\n callback: async () => {\n const conformed = await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_9__.showConformMsgBox)(`${_utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeDeleteConformation\")} \"${(0,_utils_app_textOps__WEBPACK_IMPORTED_MODULE_13__.clipText)(title, 10)}\" ?`);\n if (!conformed) return;\n if (await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.deleteNodeInTrash)(nid)) removeInDisplay(nid);\n }\n }];\n } else if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"rethink\") {\n return [{\n icon: _assets_images_icons_trash_svg__WEBPACK_IMPORTED_MODULE_6__,\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"node2Trash\"),\n callback: async () => {\n if (await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.node2Trash)(nid)) removeInDisplay(nid);\n }\n }];\n }\n return [];\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/nodesDisplay.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createDropdownItems: function() { return /* binding */ createDropdownItems; },\n/* harmony export */ pagedNodesInfo: function() { return /* binding */ pagedNodesInfo; },\n/* harmony export */ push2Page: function() { return /* binding */ push2Page; },\n/* harmony export */ useNodesDisplay: function() { return /* binding */ useNodesDisplay; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/const */ \"./src/utils/const.ts\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _utils_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/store */ \"./src/utils/store.ts\");\n/* harmony import */ var _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/multiLang */ \"./src/utils/multiLang.ts\");\n/* harmony import */ var _assets_images_icons_trash_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/assets/images/icons/trash.svg */ \"./src/assets/images/icons/trash.svg\");\n/* harmony import */ var _assets_images_icons_return_arrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/assets/images/icons/return-arrow.svg */ \"./src/assets/images/icons/return-arrow.svg\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _assets_images_icons_list_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/assets/images/icons/list.svg */ \"./src/assets/images/icons/list.svg\");\n/* harmony import */ var _assets_images_icons_view_grid_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/assets/images/icons/view-grid.svg */ \"./src/assets/images/icons/view-grid.svg\");\n/* harmony import */ var _assets_images_icons_sort_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/assets/images/icons/sort.svg */ \"./src/assets/images/icons/sort.svg\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n/* harmony import */ var _utils_app_user__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @/utils/app/user */ \"./src/utils/app/user.ts\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var _utils_check__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @/utils/check */ \"./src/utils/check.ts\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nlet onTrash = false;\nconst pagedNodesInfo = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)({\n nodes: [],\n total: 0\n});\nfunction handleDropArrangements() {\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements = !_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort = false;\n}\nfunction handleDropSort() {\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort = !_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements = false;\n}\nfunction getSortOrder(sortType) {\n if (sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt) {\n return -1;\n } else if (sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.ModifiedAt) {\n return -1;\n } else if (sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.Title) {\n return 1;\n }\n return -1;\n}\nasync function arrangeItemClicked(displayMethod) {\n if (!_utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value) return;\n _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value.nodeDisplayMethod = displayMethod;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements = false;\n await (0,_utils_app_user__WEBPACK_IMPORTED_MODULE_14__.updateUser)(\"\", \"\", \"\", _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value.language, displayMethod);\n}\nasync function push2Page(nid) {\n if (onTrash) {\n const conform = await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_9__.showConformMsgBox)(_utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeNeedRestoreToView\"));\n if (!conform) return;\n if (!(await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.restoreNodeFromTrash)(nid))) return;\n }\n await _router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].push({\n name: 'node',\n params: {\n id: nid\n }\n });\n}\nfunction useNodesDisplay() {\n let page = 0;\n const pageSize = 40;\n const loading = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(false);\n async function sortBy(value) {\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType = value;\n _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort = false;\n if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"rethink\") {\n pagedNodesInfo.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.searchUserNodes)(\"\", _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType, getSortOrder(_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType), page, pageSize);\n } else if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"trash\") {\n pagedNodesInfo.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNodesInTrash)(page, pageSize);\n }\n }\n async function loadMore(e) {\n if (!(0,_utils_check__WEBPACK_IMPORTED_MODULE_15__.isScrollToEnd)(e)) return;\n page++;\n // no more nodes\n if (pagedNodesInfo.value.total > 0 && page * pageSize >= pagedNodesInfo.value.total) {\n page--;\n return;\n }\n let newNodes = {\n nodes: [],\n total: 0\n };\n if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"rethink\") {\n loading.value = true;\n newNodes = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.searchUserNodes)(\"\", _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType, getSortOrder(_utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType), page, pageSize);\n pagedNodesInfo.value.nodes = pagedNodesInfo.value.nodes.concat(newNodes.nodes);\n loading.value = false;\n } else if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"trash\") {\n loading.value = true;\n newNodes = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.getNodesInTrash)(page, pageSize);\n pagedNodesInfo.value.nodes = pagedNodesInfo.value.nodes.concat(newNodes.nodes);\n loading.value = false;\n }\n }\n onTrash = (0,vue_router__WEBPACK_IMPORTED_MODULE_16__.useRoute)().name === \"trash\";\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onMounted)(async () => {\n page = 0;\n loading.value = true;\n await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt);\n loading.value = false;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => {\n page = 0;\n });\n const arrangeItems = [{\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"arrangeNodeList\"),\n icon: _assets_images_icons_list_svg__WEBPACK_IMPORTED_MODULE_10__,\n handleClick: () => arrangeItemClicked(1),\n showTick: () => _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value?.nodeDisplayMethod === 1\n }, {\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"arrangeNodeGrid\"),\n icon: _assets_images_icons_view_grid_svg__WEBPACK_IMPORTED_MODULE_11__,\n handleClick: () => arrangeItemClicked(0),\n showTick: () => _utils_app_user__WEBPACK_IMPORTED_MODULE_14__.user.value?.nodeDisplayMethod === 0\n }];\n const sortItems = [{\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"sortNodeByCreateAt\"),\n handleClick: async () => await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt),\n showTick: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.CreateAt\n }, {\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"sortNodeByModifiedAt\"),\n handleClick: async () => await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.ModifiedAt),\n showTick: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.ModifiedAt\n }, {\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"sortNodeByTitle\"),\n handleClick: async () => await sortBy(_utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.Title),\n showTick: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.sortType === _utils_const__WEBPACK_IMPORTED_MODULE_2__[\"default\"].nodeSortType.Title\n }];\n const nodeOrderingBar = [{\n toolBarIcon: _assets_images_icons_view_grid_svg__WEBPACK_IMPORTED_MODULE_11__,\n items: arrangeItems,\n showButtons: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropArrangements,\n handleDrop: handleDropArrangements\n }, {\n toolBarIcon: _assets_images_icons_sort_svg__WEBPACK_IMPORTED_MODULE_12__,\n items: sortItems,\n showButtons: () => _utils_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"].appHome.dropSort,\n handleDrop: handleDropSort\n }];\n return {\n pagedNodesInfo,\n loadMore,\n nodeOrderingBar,\n loading\n };\n}\nfunction createDropdownItems(nid, title = \"\") {\n function removeInDisplay(nid) {\n pagedNodesInfo.value.nodes = pagedNodesInfo.value.nodes.filter(n => n.id !== nid);\n pagedNodesInfo.value.total--;\n }\n if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"trash\") {\n return [{\n icon: _assets_images_icons_return_arrow_svg__WEBPACK_IMPORTED_MODULE_7__,\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeRestoreFromTrash\"),\n callback: async () => {\n if (await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.restoreNodeFromTrash)(nid)) removeInDisplay(nid);\n }\n }, {\n icon: _assets_images_icons_trash_svg__WEBPACK_IMPORTED_MODULE_6__,\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeDelete\"),\n callback: async () => {\n const conformed = await (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_9__.showConformMsgBox)(`${_utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"nodeDeleteConformation\")} \"${(0,_utils_app_textOps__WEBPACK_IMPORTED_MODULE_13__.clipText)(title, 10)}\" ?`);\n if (!conformed) return;\n if (await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.deleteNodeInTrash)(nid)) removeInDisplay(nid);\n }\n }];\n } else if (_router__WEBPACK_IMPORTED_MODULE_8__[\"default\"].currentRoute.value.name === \"rethink\") {\n return [{\n icon: _assets_images_icons_trash_svg__WEBPACK_IMPORTED_MODULE_6__,\n text: _utils_multiLang__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(\"node2Trash\"),\n callback: async () => {\n if (await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_3__.node2Trash)(nid)) removeInDisplay(nid);\n }\n }];\n }\n return [];\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/nodesDisplay.ts?");
/***/
}),
@@ -1796,7 +1868,7 @@
\************************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/app/nodesDisplay */ \"./src/utils/app/nodesDisplay.ts\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n\n\n\n\n\n\nconst maxLength = 500;\nfunction useQuickPost() {\n const wordCount = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(0);\n const ExceedMaxLength = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(false);\n const quickPost = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)('');\n const quickPostPanelEle = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)();\n const quickPostTextareaEle = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)();\n const postBtnEle = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)();\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onMounted)(() => {\n wordCount.value = 0;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => {\n wordCount.value = 0;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.watch)(quickPost, newVal => {\n ExceedMaxLength.value = false;\n if (!postBtnEle.value) return;\n const el = postBtnEle.value;\n wordCount.value = newVal.length;\n if (newVal === \"\") {\n el.setAttribute(\"disabled\", \"disabled\");\n el.classList.remove(\"btn-light\");\n return;\n }\n el.removeAttribute(\"disabled\");\n el.classList.add(\"btn-light\");\n if (newVal.length >= maxLength) {\n quickPost.value = newVal.slice(0, maxLength);\n ExceedMaxLength.value = true;\n }\n });\n function focusOnQuickPost() {\n if (!quickPostPanelEle.value) return;\n const cl = quickPostPanelEle.value.classList;\n if (cl.contains(\"focus-expand\")) return;\n cl.add(\"focus-expand\");\n }\n async function editInNodePage() {\n const newNode = await postQuickPost();\n if (!newNode) return;\n await _router__WEBPACK_IMPORTED_MODULE_3__[\"default\"].push({\n name: \"node\",\n params: {\n id: newNode.id\n }\n });\n }\n async function postQuickPost() {\n if (!quickPost.value) return null;\n const newNode = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.putNode)(quickPost.value);\n if (!newNode) {\n console.log(\"putNode failed\");\n return null;\n }\n quickPost.value = \"\";\n _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_4__.pagedNodesInfo.value.total++;\n const newNodeInfo = {\n id: newNode.id,\n title: newNode.title,\n snippet: (0,_utils_app_textOps__WEBPACK_IMPORTED_MODULE_5__.clipText)((0,_utils_app_textOps__WEBPACK_IMPORTED_MODULE_5__.getBodyFromMd)(newNode.md), 100),\n type: newNode.type,\n createdAt: newNode.createdAt,\n modifiedAt: newNode.modifiedAt\n };\n _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_4__.pagedNodesInfo.value.nodes.unshift(newNodeInfo);\n // collapse quick post panel\n if (!quickPostPanelEle.value) return newNode;\n const cl = quickPostPanelEle.value.classList;\n if (!cl.contains(\"focus-expand\")) return newNode;\n cl.remove(\"focus-expand\");\n return newNode;\n }\n return {\n wordCount,\n ExceedMaxLength,\n quickPost,\n quickPostPanelEle,\n quickPostTextareaEle,\n postBtnEle,\n focusOnQuickPost,\n editInNodePage,\n postQuickPost\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useQuickPost);\n\n//# sourceURL=webpack://rethink/./src/utils/app/quickPost.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/app/nodesDisplay */ \"./src/utils/app/nodesDisplay.ts\");\n/* harmony import */ var _utils_app_textOps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/app/textOps */ \"./src/utils/app/textOps.ts\");\n\n\n\n\n\n\nconst maxLength = 500;\nfunction useQuickPost() {\n const wordCount = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(0);\n const ExceedMaxLength = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(false);\n const quickPost = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)('');\n const quickPostPanelEle = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)();\n const quickPostTextareaEle = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)();\n const postBtnEle = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)();\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onMounted)(() => {\n wordCount.value = 0;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => {\n wordCount.value = 0;\n document.removeEventListener(\"click\", blurOnQuickPost);\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.watch)(quickPost, newVal => {\n ExceedMaxLength.value = false;\n if (!postBtnEle.value) return;\n const el = postBtnEle.value;\n wordCount.value = newVal.length;\n if (newVal === \"\") {\n el.setAttribute(\"disabled\", \"disabled\");\n el.classList.remove(\"btn-light\");\n return;\n }\n el.removeAttribute(\"disabled\");\n el.classList.add(\"btn-light\");\n if (newVal.length >= maxLength) {\n quickPost.value = newVal.slice(0, maxLength);\n ExceedMaxLength.value = true;\n }\n });\n function focusOnQuickPost() {\n if (!quickPostPanelEle.value) return;\n const cl = quickPostPanelEle.value.classList;\n if (cl.contains(\"focus-expand\")) return;\n cl.add(\"focus-expand\");\n quickPostTextareaEle.value?.focus();\n document.addEventListener(\"click\", blurOnQuickPost);\n }\n function blurOnQuickPost(e) {\n if (!quickPostPanelEle.value) return;\n // click on places other than quick post panel\n const target = e.target;\n console.log(target.parentElement === quickPostPanelEle.value);\n if (target.parentElement === quickPostPanelEle.value) return;\n const cl = quickPostPanelEle.value.classList;\n if (!cl.contains(\"focus-expand\")) return;\n cl.remove(\"focus-expand\");\n document.removeEventListener(\"click\", blurOnQuickPost);\n }\n async function editInNodePage() {\n const newNode = await postQuickPost();\n if (!newNode) return;\n await _router__WEBPACK_IMPORTED_MODULE_3__[\"default\"].push({\n name: \"node\",\n params: {\n id: newNode.id\n }\n });\n }\n async function postQuickPost() {\n if (!quickPost.value) return null;\n const newNode = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.putNode)(quickPost.value);\n if (!newNode) {\n console.log(\"putNode failed\");\n return null;\n }\n quickPost.value = \"\";\n _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_4__.pagedNodesInfo.value.total++;\n const newNodeInfo = {\n id: newNode.id,\n title: newNode.title,\n snippet: (0,_utils_app_textOps__WEBPACK_IMPORTED_MODULE_5__.clipText)((0,_utils_app_textOps__WEBPACK_IMPORTED_MODULE_5__.getBodyFromMd)(newNode.md), 100),\n type: newNode.type,\n createdAt: newNode.createdAt,\n modifiedAt: newNode.modifiedAt\n };\n _utils_app_nodesDisplay__WEBPACK_IMPORTED_MODULE_4__.pagedNodesInfo.value.nodes.unshift(newNodeInfo);\n // collapse quick post panel\n if (!quickPostPanelEle.value) return newNode;\n const cl = quickPostPanelEle.value.classList;\n if (!cl.contains(\"focus-expand\")) return newNode;\n cl.remove(\"focus-expand\");\n return newNode;\n }\n return {\n wordCount,\n ExceedMaxLength,\n quickPost,\n quickPostPanelEle,\n quickPostTextareaEle,\n postBtnEle,\n focusOnQuickPost,\n editInNodePage,\n postQuickPost\n };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useQuickPost);\n\n//# sourceURL=webpack://rethink/./src/utils/app/quickPost.ts?");
/***/
}),
@@ -1808,7 +1880,19 @@
\*********************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useRecentSearched: function() { return /* binding */ useRecentSearched; },\n/* harmony export */ useSearch: function() { return /* binding */ useSearch; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _utils_const__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/const */ \"./src/utils/const.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_requestId__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/requestId */ \"./src/utils/requestId.ts\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n\n\n\n\n\n\n\n\n\n\nasync function recentSearchSelected() {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_9__[\"default\"].get(`${_utils_configs__WEBPACK_IMPORTED_MODULE_5__[\"default\"].apiUrl}/api/search/recent`, {\n params: {\n rid: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_6__[\"default\"])()\n },\n headers: {\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_7__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_8__.showErrorMsgBox)(resp.data.message);\n return [];\n }\n return resp.data.nodes;\n } catch (err) {\n console.log(err);\n return [];\n }\n}\nasync function putRecentSearchSelection(nid) {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_9__[\"default\"].put(`${_utils_configs__WEBPACK_IMPORTED_MODULE_5__[\"default\"].apiUrl}/api/search/recent`, {\n nid: nid,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_6__[\"default\"])()\n }, {\n headers: {\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_7__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_8__.showErrorMsgBox)(resp.data.message);\n }\n } catch (err) {\n console.log(err);\n }\n}\nfunction useRecentSearched() {\n const nodes = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)([]);\n async function selectHist(nid) {\n await _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].push({\n name: 'node',\n params: {\n id: nid\n }\n });\n }\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onBeforeMount)(async () => {\n nodes.value = await recentSearchSelected();\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => {\n nodes.value = [];\n });\n return {\n nodes,\n selectHist\n };\n}\nfunction useSearch(pageSize, q = \"\") {\n const searchVal = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(q);\n const searchResult = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)({\n nodes: [],\n total: 0\n });\n const searched = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(false);\n let page = 0;\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onBeforeMount)(async () => {\n page = 0;\n searched.value = false;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.watch)(() => searchVal.value, value => {\n if (value === \"\") {\n searchResult.value.nodes = [];\n searchResult.value.total = 0;\n searched.value = false;\n }\n });\n async function selectResult(nid) {\n await putRecentSearchSelection(nid);\n await _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].push({\n name: 'node',\n params: {\n id: nid\n }\n });\n searchVal.value = \"\";\n searchResult.value.nodes = [];\n searchResult.value.total = 0;\n }\n async function entrySearch() {\n searched.value = true;\n if (searchVal.value === '') {\n searchResult.value.nodes = [];\n searchResult.value.total = 0;\n return;\n }\n searchResult.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.searchUserNodes)(searchVal.value, _utils_const__WEBPACK_IMPORTED_MODULE_3__[\"default\"].nodeSortType.Similarity, -1, 0, pageSize);\n }\n async function searchMore() {\n page++;\n // no more nodes\n if (searchResult.value.total > 0 && page * pageSize >= searchResult.value.total) {\n page--;\n return;\n }\n let newNodes = {\n nodes: [],\n total: 0\n };\n newNodes = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.searchUserNodes)(searchVal.value, _utils_const__WEBPACK_IMPORTED_MODULE_3__[\"default\"].nodeSortType.Similarity, -1, page, pageSize);\n searchResult.value.nodes = searchResult.value.nodes.concat(newNodes.nodes);\n }\n return {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched\n };\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/search.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useRecentSearched: function() { return /* binding */ useRecentSearched; },\n/* harmony export */ useSearch: function() { return /* binding */ useSearch; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _utils_app_node__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/app/node */ \"./src/utils/app/node.ts\");\n/* harmony import */ var _utils_const__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/const */ \"./src/utils/const.ts\");\n/* harmony import */ var _router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/router */ \"./src/router/index.ts\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! axios */ \"./node_modules/axios/lib/axios.js\");\n/* harmony import */ var _utils_configs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/configs */ \"./src/utils/configs.ts\");\n/* harmony import */ var _utils_requestId__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/requestId */ \"./src/utils/requestId.ts\");\n/* harmony import */ var _utils_account_token__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/utils/account/token */ \"./src/utils/account/token.ts\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n/* harmony import */ var _utils_check__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/check */ \"./src/utils/check.ts\");\n/* harmony import */ var _utils_app_tabGo__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/utils/app/tabGo */ \"./src/utils/app/tabGo.ts\");\n\n\n\n\n\n\n\n\n\n\n\n\nconst searchVal = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(\"\");\nconst searchResult = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)({\n nodes: [],\n total: 0\n});\nconst searched = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(false);\nasync function recentSearchQueries() {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_11__[\"default\"].get(`${_utils_configs__WEBPACK_IMPORTED_MODULE_5__[\"default\"].apiUrl}/api/search/recent`, {\n params: {\n rid: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_6__[\"default\"])()\n },\n headers: {\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_7__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_8__.showErrorMsgBox)(resp.data.message);\n return [];\n }\n return resp.data.queries;\n } catch (err) {\n console.log(err);\n return [];\n }\n}\nasync function putRecentSearchSelection(query) {\n try {\n const resp = await axios__WEBPACK_IMPORTED_MODULE_11__[\"default\"].put(`${_utils_configs__WEBPACK_IMPORTED_MODULE_5__[\"default\"].apiUrl}/api/search/recent`, {\n query: query,\n requestId: (0,_utils_requestId__WEBPACK_IMPORTED_MODULE_6__[\"default\"])()\n }, {\n headers: {\n token: (0,_utils_account_token__WEBPACK_IMPORTED_MODULE_7__.getToken)()\n }\n });\n if (resp.data.code !== 0) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_8__.showErrorMsgBox)(resp.data.message);\n }\n } catch (err) {\n console.log(err);\n }\n}\nfunction useRecentSearched() {\n const queries = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)([]);\n async function selectHist(query) {\n searched.value = true;\n searchVal.value = query;\n searchResult.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.searchUserNodes)(searchVal.value, _utils_const__WEBPACK_IMPORTED_MODULE_3__[\"default\"].nodeSortType.Similarity, -1, 0, 10);\n }\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onBeforeMount)(async () => {\n queries.value = await recentSearchQueries();\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => {\n queries.value = [];\n });\n return {\n queries,\n selectHist\n };\n}\nfunction useSearch(pageSize, q = \"\") {\n let page = 0;\n const selectedIdx = (0,vue__WEBPACK_IMPORTED_MODULE_1__.ref)(-1);\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onBeforeMount)(async () => {\n page = 0;\n selectedIdx.value = -1;\n searched.value = false;\n searchVal.value = q;\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.onMounted)(async () => {\n if (searchVal.value === \"\") return;\n await entrySearch();\n });\n (0,vue__WEBPACK_IMPORTED_MODULE_1__.watch)(() => searchVal.value, value => {\n if (value === \"\") {\n searchResult.value.nodes = [];\n searchResult.value.total = 0;\n searched.value = false;\n }\n });\n async function selectResult(nid) {\n await _router__WEBPACK_IMPORTED_MODULE_4__[\"default\"].push({\n name: 'node',\n params: {\n id: nid\n }\n });\n searchVal.value = \"\";\n searchResult.value.nodes = [];\n searchResult.value.total = 0;\n }\n async function entrySearch() {\n searched.value = true;\n if (searchVal.value === '') {\n searchResult.value.nodes = [];\n searchResult.value.total = 0;\n return;\n }\n searchResult.value = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.searchUserNodes)(searchVal.value, _utils_const__WEBPACK_IMPORTED_MODULE_3__[\"default\"].nodeSortType.Similarity, -1, 0, pageSize);\n await putRecentSearchSelection(searchVal.value);\n }\n async function searchMore(e) {\n if (!(0,_utils_check__WEBPACK_IMPORTED_MODULE_9__.isScrollToEnd)(e)) return;\n page++;\n // no more nodes\n if (searchResult.value.total > 0 && page * pageSize >= searchResult.value.total) {\n page--;\n return;\n }\n const newNodes = await (0,_utils_app_node__WEBPACK_IMPORTED_MODULE_2__.searchUserNodes)(searchVal.value, _utils_const__WEBPACK_IMPORTED_MODULE_3__[\"default\"].nodeSortType.Similarity, -1, page, pageSize);\n searchResult.value.nodes = searchResult.value.nodes.concat(newNodes.nodes);\n }\n function keyArrowUpDown(e) {\n if (searchResult.value.nodes.length === 0) return;\n const offset = e.key === 'ArrowUp' ? -1 : 1;\n selectedIdx.value = (selectedIdx.value + offset) % searchResult.value.nodes.length;\n if (selectedIdx.value < 0) selectedIdx.value += searchResult.value.nodes.length;\n const els = document.getElementsByClassName(\"search-result\");\n Array.from(els).forEach((e, i) => {\n if (i === selectedIdx.value) {\n e.classList.add(\"selected-node\");\n e.scrollIntoView({\n block: 'nearest'\n });\n } else {\n e.classList.remove(\"selected-node\");\n }\n });\n (0,_utils_app_tabGo__WEBPACK_IMPORTED_MODULE_10__.showTag)(selectedIdx.value);\n }\n async function keyTab() {\n if (searchResult.value.nodes.length === 0) return;\n const n = searchResult.value.nodes[selectedIdx.value];\n await selectResult(n.id);\n }\n return {\n searchVal,\n searchResult,\n selectResult,\n searchMore,\n entrySearch,\n searched,\n keyArrowUpDown,\n keyTab\n };\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/search.ts?");
+
+ /***/
+ }),
+
+ /***/
+ "./src/utils/app/tabGo.ts":
+ /*!********************************!*\
+ !*** ./src/utils/app/tabGo.ts ***!
+ \********************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ showTag: function() { return /* binding */ showTag; }\n/* harmony export */ });\nfunction showTag(index) {\n const tabs = document.getElementsByClassName(\"result-tab-go\");\n if (tabs.length === 0) return;\n Array.from(tabs).forEach((e, i) => {\n if (i === index) {\n e.classList.add(\"show-tab\");\n } else {\n e.classList.remove(\"show-tab\");\n }\n });\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/app/tabGo.ts?");
/***/
}),
@@ -1837,6 +1921,18 @@
/***/
}),
+ /***/
+ "./src/utils/check.ts":
+ /*!****************************!*\
+ !*** ./src/utils/check.ts ***!
+ \****************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isScrollToEnd: function() { return /* binding */ isScrollToEnd; }\n/* harmony export */ });\nfunction isScrollToEnd(e) {\n const target = e.target;\n return target.scrollHeight - target.scrollTop - target.clientHeight < 1;\n}\n\n\n//# sourceURL=webpack://rethink/./src/utils/check.ts?");
+
+ /***/
+ }),
+
/***/
"./src/utils/configs.ts":
/*!******************************!*\
@@ -1892,7 +1988,7 @@
\********************************/
/***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */ \"./node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n\n\nclass MultiLang {\n constructor(data) {\n (0,_Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, \"langData\", void 0);\n (0,_Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, \"availableLangCodes\", [\"zh\", \"en\"]);\n (0,_Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, \"langCodeMap\", {\n zh: \"中文\",\n en: \"English\"\n });\n this.langData = data;\n }\n get(key) {\n const l = this.langData[key];\n if (!l) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(`Lang key ${key} not found`);\n return \"\";\n }\n return this.getGlobalLang() === \"zh\" ? l.zh : l.en;\n }\n setGlobalLang(lang) {\n localStorage.setItem(\"rethinkLang\", lang);\n }\n getGlobalLang() {\n return localStorage.getItem(\"rethinkLang\") || \"en\";\n }\n}\nconst mLang = new MultiLang({\n navbarHome: {\n zh: \"首页\",\n en: \"Home\"\n },\n navbarAbout: {\n zh: \"关于\",\n en: \"About\"\n },\n navbarLogin: {\n zh: \"登录\",\n en: \"Login\"\n },\n navbarStart: {\n zh: \"开始\",\n en: \"Start\"\n },\n goBackIcon: {\n zh: \"返回\",\n en: \"Back\"\n },\n sideBarHome: {\n zh: \"首页\",\n en: \"Home\"\n },\n importDataH1: {\n zh: \"导入数据\",\n en: \"Import Data\"\n },\n sideBarTrash: {\n zh: \"回收站\",\n en: \"Trash\"\n },\n sideBarImport: {\n zh: \"导入数据\",\n en: \"Import Data\"\n },\n arrangeNodeList: {\n zh: \"列表\",\n en: \"List\"\n },\n arrangeNodeGrid: {\n zh: \"网格\",\n en: \"Grid\"\n },\n sortNodeByTime: {\n zh: \"时间\",\n en: \"Time\"\n },\n sortNodeByCreateAt: {\n zh: \"最新\",\n en: \"Create\"\n },\n sortNodeByModifiedAt: {\n zh: \"最后修改\",\n en: \"Update\"\n },\n sortNodeByTitle: {\n zh: \"名称\",\n en: \"Title\"\n },\n node2Trash: {\n zh: \"移至回收桶\",\n en: \"Move To Trash\"\n },\n nodeDelete: {\n zh: \"删除\",\n en: \"Delete\"\n },\n nodeDeleteConformation: {\n zh: \"确认删除\",\n en: \"Delete this thought\"\n },\n nodeRestoreFromTrash: {\n zh: \"恢复\",\n en: \"Restore\"\n },\n searchBarPlaceholder: {\n zh: \"搜想法...\",\n en: \"Search...\"\n },\n searchWindowSMSubmit: {\n zh: \"搜索\",\n en: \"Search\"\n },\n searchWindowSMCollapse: {\n zh: \"收起\",\n en: \"Collapse\"\n },\n noSearchResult: {\n zh: \"没有搜索结果\",\n en: \"No search result\"\n },\n search: {\n zh: \"搜索\",\n en: \"Search\"\n },\n headerBarNewThink: {\n zh: \"新想法\",\n en: \"New Thought\"\n },\n nodeTimeJustNow: {\n zh: \"刚刚\",\n en: \"Just now\"\n },\n nodeTimeYesterdayPrefix: {\n zh: \"昨天\",\n en: \"Yesterday\"\n },\n nodeTimeTodayPrefix: {\n zh: \"今天\",\n en: \"Today\"\n },\n nodeViewHeaderTitle: {\n zh: \"标题\",\n en: \"Title\"\n },\n nodeViewHeaderSnippet: {\n zh: \"内容\",\n en: \"Content\"\n },\n nodeViewHeaderTime: {\n zh: \"时间\",\n en: \"Time\"\n },\n sortNodeBySimilarity: {\n zh: \"相似度\",\n en: \"Similarity\"\n },\n cursorSearchDropdownSearchResult: {\n zh: \"Rethink\",\n en: \"Rethink\"\n },\n cursorSearchDropdownSearchRecent: {\n zh: \"最近链接的想法\",\n en: \"Recent linked thoughts\"\n },\n cursorSearchDropdownCreateNew: {\n zh: \"新建\",\n en: \"Create new\"\n },\n cursorSearchDropdownTitle: {\n zh: \"选择连接的想法\",\n en: \"Select a thought to link\"\n },\n emptyNodeTitle: {\n zh: \"无标题\",\n en: \"Untitled\"\n },\n settingsViewHeading: {\n zh: \"设置\",\n en: \"Settings\"\n },\n settingsViewLanguage: {\n zh: \"语言\",\n en: \"Language\"\n },\n userViewProfilePage: {\n zh: \"个人信息\",\n en: \"Profile\"\n },\n userViewName: {\n zh: \"名字\",\n en: \"Name\"\n },\n userViewEmail: {\n zh: \"邮箱\",\n en: \"Email\"\n },\n userViewAvatar: {\n zh: \"头像\",\n en: \"Picture\"\n },\n loginViewHeading: {\n zh: \"登录\",\n en: \"Login\"\n },\n loginViewHeadingSignup: {\n zh: \"新用户注册\",\n en: \"New User Register\"\n },\n loginViewAccountLabel: {\n zh: \"账号\",\n en: \"Account\"\n },\n loginViewAccountPlaceholder: {\n zh: \"邮箱\",\n en: \"email\"\n },\n loginViewAccountInputTitle: {\n zh: \"请输入正确的邮箱\",\n en: \"Please input a valid email\"\n },\n loginViewPasswordLabel: {\n zh: \"密码\",\n en: \"Password\"\n },\n loginViewNoUserOrPassword: {\n zh: \"账号或密码错误\",\n en: \"Account or password error\"\n },\n loginViewAccountPasswordEmpty: {\n zh: \"账号或密码不能为空\",\n en: \"Account or password can not be empty\"\n },\n loginViewPasswordInputTitle: {\n zh: \"必须包含至少 1 位数字和 1 位字母\",\n en: \"Must contain at least one number and one letter, and at least 6 or more characters\"\n },\n loginViewComformPasswordLabel: {\n zh: \"确认密码\",\n en: \"Comform password\"\n },\n loginViewComformPasswordNotMatch: {\n zh: \"两次密码不一致\",\n en: \"Comform password not match\"\n },\n loginViewLoginButton: {\n zh: \"登录\",\n en: \"Log In\"\n },\n loginViewSignupButton: {\n zh: \"注册\",\n en: \"Create new account\"\n },\n loginViewSignupHasAccount: {\n zh: \"已有账号?\",\n en: \"Already have an account?\"\n },\n loginViewForgetPassword: {\n zh: \"忘记密码\",\n en: \"Forget password\"\n },\n loginViewOAuthLogin: {\n zh: \"其他方式登录\",\n en: \"Other Login\"\n },\n registerCaptchaLabel: {\n zh: \"验证码\",\n en: \"Verification code\"\n },\n loginViewCaptchaEmpty: {\n zh: \"验证码不能为空\",\n en: \"Verification code can not be empty\"\n },\n headerMenuLogout: {\n zh: \"登出\",\n en: \"Logout\"\n },\n headerMenuProfile: {\n zh: \"个人信息\",\n en: \"Profile\"\n },\n headerMenuSettings: {\n zh: \"设置\",\n en: \"Settings\"\n },\n oauthPageHeading: {\n zh: \"账号正在验证中...\",\n en: \"Verifying your account...\"\n },\n msgBoxComformButton: {\n zh: \"确定\",\n en: \"OK\"\n },\n msgBoxCancelButton: {\n zh: \"取消\",\n en: \"Cancel\"\n },\n errorBoxTitle: {\n zh: \"错误\",\n en: \"Error\"\n },\n infoBoxTitle: {\n zh: \"提示\",\n en: \"Info\"\n },\n conformBoxTitle: {\n zh: \"请确认\",\n en: \"Please confirm\"\n },\n modificationSuccessful: {\n zh: \"修改成功\",\n en: \"Modification successful\"\n },\n appRethinkH1: {\n zh: \"Rethink\",\n en: \"Rethink\"\n },\n appTrashH1: {\n zh: \"回收站\",\n en: \"Trash\"\n },\n appSearchH1: {\n zh: \"搜索\",\n en: \"Search\"\n },\n cancel: {\n zh: \"取消\",\n en: \"Cancel\"\n },\n recentSearchedTitle: {\n zh: \"最近搜索\",\n en: \"Recent Queries\"\n },\n editorContentPlaceholder: {\n zh: \"记录我的新想法...\",\n en: \"Record my new thought...\"\n },\n quickPostPanelPlaceholder: {\n zh: \"想法速记...\",\n en: \"Quick thought...\"\n },\n quickPostBtn: {\n zh: \"记下\",\n en: \"Send\"\n },\n quickPostTooLong: {\n zh: \"用编辑器记长想法 >\",\n en: \"Use editor for long thought >\"\n },\n quickPostEditInNodePage: {\n zh: \"在新页面编辑\",\n en: \"Edit in new page\"\n },\n quickPostBtnTitle: {\n zh: \"快速记录\",\n en: \"Quick post\"\n },\n tryRestoreFromTrash: {\n zh: \"此想法被放在回收站中,是否要从回收站恢复?\",\n en: \"This thought is in trash, do you want to restore it?\"\n },\n nodeIsDeleted: {\n zh: \"此想法已被您删除\",\n en: \"This thought is deleted\"\n },\n noLinkedNode: {\n zh: \"还没有链接到任何想法,尝试 @ 一些吧\",\n en: \"No linked thought yet, try @ some\"\n },\n batchFileOpsShare: {\n zh: \"分享\",\n en: \"Share\"\n },\n batchFileOpsDelete: {\n zh: \"批量删除\",\n en: \"Batch Delete\"\n },\n batchFileOpsTrash: {\n zh: \"批量回收\",\n en: \"Batch To Trash\"\n },\n batchFileOpsCancel: {\n zh: \"取消\",\n en: \"Cancel\"\n },\n batchFileOpsDownload: {\n zh: \"下载\",\n en: \"Download\"\n },\n batchFileOpsRestore: {\n zh: \"恢复\",\n en: \"Restore\"\n },\n deleteConfirm: {\n zh: \"确认删除?\",\n en: \"Confirm delete?\"\n },\n nodeNeedRestoreToView: {\n zh: \"需要恢复后才能查看,确认恢复并查看?\",\n en: \"Need restore to be viewed, confirm restore?\"\n },\n uploadFilesLabel: {\n zh: \"上传文件\",\n en: \"Upload files\"\n },\n fileDropIsDragging: {\n zh: \"放入文件\",\n en: \"Release to drop files here.\"\n },\n fileDropNotDraggingPre: {\n zh: \"拖拽文件到此处或\",\n en: \"Drag and drop files here, or \"\n },\n fileDropNotDraggingClick: {\n zh: \"点此\",\n en: \"click here\"\n },\n fileDropNotDraggingPost: {\n zh: \" 上传\",\n en: \" to upload\"\n },\n fileDropInvalidFile: {\n zh: \"文件格式错误\",\n en: \"Invalid file format\"\n },\n fileDropTooLarge: {\n zh: \"文件过大\",\n en: \"File too large\"\n },\n fileDropTooManyPre: {\n zh: \"文件个数超过上限: \",\n en: \"File count exceeds limit: \"\n },\n fileDropTooManyPost: {\n zh: \",请分批上传\",\n en: \", please upload in batches\"\n },\n filesSubmitBtn: {\n zh: \"上传\",\n en: \"Upload\"\n },\n fileDropUploadSuccess: {\n zh: \"上传成功\",\n en: \"Upload success\"\n }\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (mLang);\n\n//# sourceURL=webpack://rethink/./src/utils/multiLang.ts?");
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */ \"./node_modules/@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var _utils_msgBox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/msgBox */ \"./src/utils/msgBox.ts\");\n\n\nclass MultiLang {\n constructor(data) {\n (0,_Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, \"langData\", void 0);\n (0,_Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, \"availableLangCodes\", [\"zh\", \"en\"]);\n (0,_Users_morvanzhou_Documents_repo_rethink_frontend_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, \"langCodeMap\", {\n zh: \"中文\",\n en: \"English\"\n });\n this.langData = data;\n }\n get(key) {\n const l = this.langData[key];\n if (!l) {\n (0,_utils_msgBox__WEBPACK_IMPORTED_MODULE_1__.showErrorMsgBox)(`Lang key ${key} not found`);\n return \"\";\n }\n return this.getGlobalLang() === \"zh\" ? l.zh : l.en;\n }\n setGlobalLang(lang) {\n localStorage.setItem(\"rethinkLang\", lang);\n }\n getGlobalLang() {\n return localStorage.getItem(\"rethinkLang\") || \"en\";\n }\n}\nconst mLang = new MultiLang({\n navbarHome: {\n zh: \"首页\",\n en: \"Home\"\n },\n navbarAbout: {\n zh: \"关于\",\n en: \"About\"\n },\n navbarLogin: {\n zh: \"登录\",\n en: \"Login\"\n },\n navbarStart: {\n zh: \"开始\",\n en: \"Start\"\n },\n goBackIcon: {\n zh: \"返回\",\n en: \"Back\"\n },\n sideBarHome: {\n zh: \"首页\",\n en: \"Home\"\n },\n importDataH1: {\n zh: \"导入数据\",\n en: \"Import Data\"\n },\n sideBarTrash: {\n zh: \"回收站\",\n en: \"Trash\"\n },\n sideBarImport: {\n zh: \"导入数据\",\n en: \"Import Data\"\n },\n arrangeNodeList: {\n zh: \"列表\",\n en: \"List\"\n },\n arrangeNodeGrid: {\n zh: \"网格\",\n en: \"Grid\"\n },\n sortNodeByTime: {\n zh: \"时间\",\n en: \"Time\"\n },\n sortNodeByCreateAt: {\n zh: \"最新\",\n en: \"Create\"\n },\n sortNodeByModifiedAt: {\n zh: \"最后修改\",\n en: \"Update\"\n },\n sortNodeByTitle: {\n zh: \"名称\",\n en: \"Title\"\n },\n node2Trash: {\n zh: \"移至回收桶\",\n en: \"Move To Trash\"\n },\n nodeDelete: {\n zh: \"删除\",\n en: \"Delete\"\n },\n nodeDeleteConformation: {\n zh: \"确认删除\",\n en: \"Delete this thought\"\n },\n nodeRestoreFromTrash: {\n zh: \"恢复\",\n en: \"Restore\"\n },\n searchBarPlaceholder: {\n zh: \"搜想法...\",\n en: \"Search...\"\n },\n searchWindowSMSubmit: {\n zh: \"搜索\",\n en: \"Search\"\n },\n searchWindowSMCollapse: {\n zh: \"收起\",\n en: \"Collapse\"\n },\n noSearchResult: {\n zh: \"没有搜索结果\",\n en: \"No search result\"\n },\n search: {\n zh: \"搜索\",\n en: \"Search\"\n },\n headerBarNewThink: {\n zh: \"新想法\",\n en: \"New Thought\"\n },\n nodeTimeJustNow: {\n zh: \"刚刚\",\n en: \"Just now\"\n },\n nodeTimeYesterdayPrefix: {\n zh: \"昨天\",\n en: \"Yesterday\"\n },\n nodeTimeTodayPrefix: {\n zh: \"今天\",\n en: \"Today\"\n },\n nodeViewHeaderTitle: {\n zh: \"标题\",\n en: \"Title\"\n },\n nodeViewHeaderSnippet: {\n zh: \"内容\",\n en: \"Content\"\n },\n nodeViewHeaderTime: {\n zh: \"时间\",\n en: \"Time\"\n },\n sortNodeBySimilarity: {\n zh: \"相似度\",\n en: \"Similarity\"\n },\n cursorSearchDropdownSearchResult: {\n zh: \"Rethink\",\n en: \"Rethink\"\n },\n cursorSearchDropdownSearchRecent: {\n zh: \"最近链接的想法\",\n en: \"Recent linked thoughts\"\n },\n cursorSearchDropdownCreateNew: {\n zh: \"新建\",\n en: \"Create new\"\n },\n cursorSearchDropdownTitle: {\n zh: \"选择连接的想法\",\n en: \"Select a thought to link\"\n },\n emptyNodeTitle: {\n zh: \"无标题\",\n en: \"Untitled\"\n },\n settingsViewHeading: {\n zh: \"设置\",\n en: \"Settings\"\n },\n settingsViewLanguage: {\n zh: \"语言\",\n en: \"Language\"\n },\n userViewProfilePage: {\n zh: \"个人信息\",\n en: \"Profile\"\n },\n userViewName: {\n zh: \"名字\",\n en: \"Name\"\n },\n userViewEmail: {\n zh: \"邮箱\",\n en: \"Email\"\n },\n userViewAvatar: {\n zh: \"头像\",\n en: \"Picture\"\n },\n loginViewHeading: {\n zh: \"登录\",\n en: \"Login\"\n },\n loginViewHeadingSignup: {\n zh: \"新用户注册\",\n en: \"New User Register\"\n },\n loginViewAccountLabel: {\n zh: \"账号\",\n en: \"Account\"\n },\n loginViewAccountPlaceholder: {\n zh: \"邮箱\",\n en: \"email\"\n },\n loginViewAccountInputTitle: {\n zh: \"请输入正确的邮箱\",\n en: \"Please input a valid email\"\n },\n loginViewPasswordLabel: {\n zh: \"密码\",\n en: \"Password\"\n },\n loginViewNoUserOrPassword: {\n zh: \"账号或密码错误\",\n en: \"Account or password error\"\n },\n loginViewAccountPasswordEmpty: {\n zh: \"账号或密码不能为空\",\n en: \"Account or password can not be empty\"\n },\n loginViewPasswordInputTitle: {\n zh: \"必须包含至少 1 位数字和 1 位字母\",\n en: \"Must contain at least one number and one letter, and at least 6 or more characters\"\n },\n loginViewComformPasswordLabel: {\n zh: \"确认密码\",\n en: \"Comform password\"\n },\n loginViewComformPasswordNotMatch: {\n zh: \"两次密码不一致\",\n en: \"Comform password not match\"\n },\n loginViewLoginButton: {\n zh: \"登录\",\n en: \"Log In\"\n },\n loginViewSignupButton: {\n zh: \"注册\",\n en: \"Create new account\"\n },\n loginViewSignupHasAccount: {\n zh: \"已有账号?\",\n en: \"Already have an account?\"\n },\n loginViewForgetPassword: {\n zh: \"忘记密码\",\n en: \"Forget password\"\n },\n loginViewOAuthLogin: {\n zh: \"其他方式登录\",\n en: \"Other Login\"\n },\n registerCaptchaLabel: {\n zh: \"验证码\",\n en: \"Verification code\"\n },\n loginViewCaptchaEmpty: {\n zh: \"验证码不能为空\",\n en: \"Verification code can not be empty\"\n },\n headerMenuLogout: {\n zh: \"登出\",\n en: \"Logout\"\n },\n headerMenuProfile: {\n zh: \"个人信息\",\n en: \"Profile\"\n },\n headerMenuSettings: {\n zh: \"设置\",\n en: \"Settings\"\n },\n oauthPageHeading: {\n zh: \"账号正在验证中...\",\n en: \"Verifying your account...\"\n },\n msgBoxComformButton: {\n zh: \"确定\",\n en: \"OK\"\n },\n msgBoxCancelButton: {\n zh: \"取消\",\n en: \"Cancel\"\n },\n errorBoxTitle: {\n zh: \"错误\",\n en: \"Error\"\n },\n infoBoxTitle: {\n zh: \"提示\",\n en: \"Info\"\n },\n conformBoxTitle: {\n zh: \"请确认\",\n en: \"Please confirm\"\n },\n modificationSuccessful: {\n zh: \"修改成功\",\n en: \"Modification successful\"\n },\n appRethinkH1: {\n zh: \"Rethink\",\n en: \"Rethink\"\n },\n appTrashH1: {\n zh: \"回收站\",\n en: \"Trash\"\n },\n appSearchH1: {\n zh: \"搜索\",\n en: \"Search\"\n },\n cancel: {\n zh: \"取消\",\n en: \"Cancel\"\n },\n recentSearchedTitle: {\n zh: \"最近搜索\",\n en: \"Recent Queries\"\n },\n editorContentPlaceholder: {\n zh: \"记录我的新想法...\",\n en: \"Record my new thought...\"\n },\n quickPostPanelPlaceholder: {\n zh: \"想法速记...\",\n en: \"Quick thought...\"\n },\n quickPostBtn: {\n zh: \"记下\",\n en: \"Send\"\n },\n quickPostTooLong: {\n zh: \"用编辑器记长想法 >\",\n en: \"Use editor for long thought >\"\n },\n quickPostEditInNodePage: {\n zh: \"在新页面编辑\",\n en: \"Edit in new page\"\n },\n quickPostBtnTitle: {\n zh: \"快速记录\",\n en: \"Quick post\"\n },\n tryRestoreFromTrash: {\n zh: \"此想法被放在回收站中,是否要从回收站恢复?\",\n en: \"This thought is in trash, do you want to restore it?\"\n },\n nodeIsDeleted: {\n zh: \"此想法已被您删除\",\n en: \"This thought is deleted\"\n },\n noLinkedNode: {\n zh: \"还没有链接到任何想法,尝试 @ 一些吧\",\n en: \"No linked thought yet, try @ some\"\n },\n batchFileOpsShare: {\n zh: \"分享\",\n en: \"Share\"\n },\n batchFileOpsDelete: {\n zh: \"删除\",\n en: \"Delete\"\n },\n batchFileOpsTrash: {\n zh: \"回收\",\n en: \"To Trash\"\n },\n batchFileOpsCancel: {\n zh: \"取消\",\n en: \"Cancel\"\n },\n batchFileOpsDownload: {\n zh: \"下载\",\n en: \"Download\"\n },\n batchFileOpsRestore: {\n zh: \"恢复\",\n en: \"Restore\"\n },\n deleteConfirm: {\n zh: \"确认删除?\",\n en: \"Confirm delete?\"\n },\n nodeNeedRestoreToView: {\n zh: \"需要恢复后才能查看,确认恢复并查看?\",\n en: \"Need restore to be viewed, confirm restore?\"\n },\n uploadFilesLabel: {\n zh: \"上传文件\",\n en: \"Upload files\"\n },\n fileDropIsDragging: {\n zh: \"放入文件\",\n en: \"Release to drop files here.\"\n },\n fileDropNotDraggingPre: {\n zh: \"拖拽文件到此处或\",\n en: \"Drag and drop files here, or \"\n },\n fileDropNotDraggingClick: {\n zh: \"点此\",\n en: \"click here\"\n },\n fileDropNotDraggingPost: {\n zh: \" 上传\",\n en: \" to upload\"\n },\n fileDropInvalidFile: {\n zh: \"文件格式错误\",\n en: \"Invalid file format\"\n },\n fileDropTooLarge: {\n zh: \"文件过大\",\n en: \"File too large\"\n },\n fileDropTooManyPre: {\n zh: \"文件个数超过上限: \",\n en: \"File count exceeds limit: \"\n },\n fileDropTooManyPost: {\n zh: \",请分批上传\",\n en: \", please upload in batches\"\n },\n filesSubmitBtn: {\n zh: \"上传\",\n en: \"Upload\"\n },\n fileDropUploadSuccess: {\n zh: \"上传成功\",\n en: \"Upload success\"\n },\n importDataStopped: {\n zh: \"超时,停止进程\",\n en: \"Timeout, stopped\"\n },\n newJobProgress: {\n zh: \"最新任务进度\",\n en: \"The latest job progress\"\n }\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (mLang);\n\n//# sourceURL=webpack://rethink/./src/utils/multiLang.ts?");
/***/
}),
@@ -1981,6 +2077,18 @@
/***/
}),
+ /***/
+ "./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css":
+ /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css ***!
+ \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use%5B0%5D!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
/***/
"./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/dataImport/ObsidianImport.vue?vue&type=style&index=0&id=1f422cd2&scoped=true&lang=css":
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
@@ -2389,6 +2497,30 @@
/***/
}),
+ /***/
+ "./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css":
+ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css ***!
+ \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use%5B0%5D!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
+ /***/
+ "./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css":
+ /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
+ !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css ***!
+ \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use%5B0%5D!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D");
+
+ /***/
+ }),
+
/***/
"./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ShowNotice.vue?vue&type=style&index=0&id=7385bbc7&scoped=true&lang=css":
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
@@ -2581,6 +2713,18 @@
/***/
}),
+ /***/
+ "./src/assets/css/vditor/vditor.css":
+ /*!******************************************!*\
+ !*** ./src/assets/css/vditor/vditor.css ***!
+ \******************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://rethink/./src/assets/css/vditor/vditor.css?");
+
+ /***/
+ }),
+
/***/
"./src/App.vue":
/*!*********************!*\
@@ -2653,6 +2797,18 @@
/***/
}),
+ /***/
+ "./src/components/WaitLoading.vue":
+ /*!****************************************!*\
+ !*** ./src/components/WaitLoading.vue ***!
+ \****************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _WaitLoading_vue_vue_type_template_id_1bc9a6f2_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true */ \"./src/components/WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true\");\n/* harmony import */ var _WaitLoading_vue_vue_type_script_lang_ts_setup_true__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./WaitLoading.vue?vue&type=script&lang=ts&setup=true */ \"./src/components/WaitLoading.vue?vue&type=script&lang=ts&setup=true\");\n/* harmony import */ var _WaitLoading_vue_vue_type_style_index_0_id_1bc9a6f2_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css */ \"./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css\");\n/* harmony import */ var _node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../node_modules/vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n\n\n\nconst __exports__ = /*#__PURE__*/(0,_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_WaitLoading_vue_vue_type_script_lang_ts_setup_true__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_WaitLoading_vue_vue_type_template_id_1bc9a6f2_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render],['__scopeId',\"data-v-1bc9a6f2\"],['__file',\"src/components/WaitLoading.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/dataImport/ObsidianImport.vue":
/*!**********************************************************!*\
@@ -3085,6 +3241,30 @@
/***/
}),
+ /***/
+ "./src/components/app/tools/ResultTab.vue":
+ /*!************************************************!*\
+ !*** ./src/components/app/tools/ResultTab.vue ***!
+ \************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ResultTab_vue_vue_type_template_id_4f42ee16_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true */ \"./src/components/app/tools/ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true\");\n/* harmony import */ var _ResultTab_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ResultTab.vue?vue&type=script&setup=true&lang=ts */ \"./src/components/app/tools/ResultTab.vue?vue&type=script&setup=true&lang=ts\");\n/* harmony import */ var _ResultTab_vue_vue_type_style_index_0_id_4f42ee16_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css */ \"./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css\");\n/* harmony import */ var _node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n\n\n\nconst __exports__ = /*#__PURE__*/(0,_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_ResultTab_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_ResultTab_vue_vue_type_template_id_4f42ee16_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render],['__scopeId',\"data-v-4f42ee16\"],['__file',\"src/components/app/tools/ResultTab.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?");
+
+ /***/
+ }),
+
+ /***/
+ "./src/components/app/tools/ResultTitleHeader.vue":
+ /*!********************************************************!*\
+ !*** ./src/components/app/tools/ResultTitleHeader.vue ***!
+ \********************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ResultTitleHeader_vue_vue_type_template_id_3f3f66f4_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true */ \"./src/components/app/tools/ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true\");\n/* harmony import */ var _ResultTitleHeader_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts */ \"./src/components/app/tools/ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts\");\n/* harmony import */ var _ResultTitleHeader_vue_vue_type_style_index_0_id_3f3f66f4_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css */ \"./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css\");\n/* harmony import */ var _node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n\n\n\nconst __exports__ = /*#__PURE__*/(0,_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_ResultTitleHeader_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_ResultTitleHeader_vue_vue_type_template_id_3f3f66f4_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render],['__scopeId',\"data-v-3f3f66f4\"],['__file',\"src/components/app/tools/ResultTitleHeader.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/tools/ShowNotice.vue":
/*!*************************************************!*\
@@ -3409,6 +3589,18 @@
/***/
}),
+ /***/
+ "./src/components/WaitLoading.vue?vue&type=script&lang=ts&setup=true":
+ /*!***************************************************************************!*\
+ !*** ./src/components/WaitLoading.vue?vue&type=script&lang=ts&setup=true ***!
+ \***************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_WaitLoading_vue_vue_type_script_lang_ts_setup_true__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_WaitLoading_vue_vue_type_script_lang_ts_setup_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./WaitLoading.vue?vue&type=script&lang=ts&setup=true */ \"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=script&lang=ts&setup=true\");\n \n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/dataImport/ObsidianImport.vue?vue&type=script&lang=ts&setup=true":
/*!*********************************************************************************************!*\
@@ -3841,6 +4033,30 @@
/***/
}),
+ /***/
+ "./src/components/app/tools/ResultTab.vue?vue&type=script&setup=true&lang=ts":
+ /*!***********************************************************************************!*\
+ !*** ./src/components/app/tools/ResultTab.vue?vue&type=script&setup=true&lang=ts ***!
+ \***********************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTab_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTab_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./ResultTab.vue?vue&type=script&setup=true&lang=ts */ \"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=script&setup=true&lang=ts\");\n \n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?");
+
+ /***/
+ }),
+
+ /***/
+ "./src/components/app/tools/ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts":
+ /*!*******************************************************************************************!*\
+ !*** ./src/components/app/tools/ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts ***!
+ \*******************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTitleHeader_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTitleHeader_vue_vue_type_script_setup_true_lang_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts */ \"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=script&setup=true&lang=ts\");\n \n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/tools/ShowNotice.vue?vue&type=script&lang=ts&setup=true":
/*!************************************************************************************!*\
@@ -4165,6 +4381,18 @@
/***/
}),
+ /***/
+ "./src/components/WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true":
+ /*!******************************************************************************************!*\
+ !*** ./src/components/WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true ***!
+ \******************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_4_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_WaitLoading_vue_vue_type_template_id_1bc9a6f2_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_4_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_WaitLoading_vue_vue_type_template_id_1bc9a6f2_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true */ \"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=template&id=1bc9a6f2&scoped=true&ts=true\");\n\n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/dataImport/ObsidianImport.vue?vue&type=template&id=1f422cd2&scoped=true&ts=true":
/*!************************************************************************************************************!*\
@@ -4597,6 +4825,30 @@
/***/
}),
+ /***/
+ "./src/components/app/tools/ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true":
+ /*!**************************************************************************************************!*\
+ !*** ./src/components/app/tools/ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true ***!
+ \**************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_4_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTab_vue_vue_type_template_id_4f42ee16_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_4_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTab_vue_vue_type_template_id_4f42ee16_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!../../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true */ \"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=template&id=4f42ee16&scoped=true&ts=true\");\n\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?");
+
+ /***/
+ }),
+
+ /***/
+ "./src/components/app/tools/ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true":
+ /*!**********************************************************************************************************!*\
+ !*** ./src/components/app/tools/ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true ***!
+ \**********************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_4_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTitleHeader_vue_vue_type_template_id_3f3f66f4_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_clonedRuleSet_41_use_1_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_4_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTitleHeader_vue_vue_type_template_id_3f3f66f4_scoped_true_ts_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!../../../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true */ \"./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=template&id=3f3f66f4&scoped=true&ts=true\");\n\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/tools/ShowNotice.vue?vue&type=template&id=7385bbc7&scoped=true&ts=true":
/*!***************************************************************************************************!*\
@@ -4921,6 +5173,18 @@
/***/
}),
+ /***/
+ "./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css":
+ /*!************************************************************************************************!*\
+ !*** ./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css ***!
+ \************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_clonedRuleSet_12_use_0_node_modules_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_node_modules_vue_loader_dist_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_WaitLoading_vue_vue_type_style_index_0_id_1bc9a6f2_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css */ \"./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/WaitLoading.vue?vue&type=style&index=0&id=1bc9a6f2&scoped=true&lang=css\");\n\n\n//# sourceURL=webpack://rethink/./src/components/WaitLoading.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/dataImport/ObsidianImport.vue?vue&type=style&index=0&id=1f422cd2&scoped=true&lang=css":
/*!******************************************************************************************************************!*\
@@ -5329,6 +5593,30 @@
/***/
}),
+ /***/
+ "./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css":
+ /*!********************************************************************************************************!*\
+ !*** ./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css ***!
+ \********************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_clonedRuleSet_12_use_0_node_modules_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_node_modules_vue_loader_dist_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTab_vue_vue_type_style_index_0_id_4f42ee16_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css */ \"./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTab.vue?vue&type=style&index=0&id=4f42ee16&scoped=true&lang=css\");\n\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTab.vue?");
+
+ /***/
+ }),
+
+ /***/
+ "./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css":
+ /*!****************************************************************************************************************!*\
+ !*** ./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css ***!
+ \****************************************************************************************************************/
+ /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_clonedRuleSet_12_use_0_node_modules_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_node_modules_vue_loader_dist_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_node_modules_vue_loader_dist_index_js_ruleSet_0_use_0_ResultTitleHeader_vue_vue_type_style_index_0_id_3f3f66f4_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css */ \"./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/app/tools/ResultTitleHeader.vue?vue&type=style&index=0&id=3f3f66f4&scoped=true&lang=css\");\n\n\n//# sourceURL=webpack://rethink/./src/components/app/tools/ResultTitleHeader.vue?");
+
+ /***/
+ }),
+
/***/
"./src/components/app/tools/ShowNotice.vue?vue&type=style&index=0&id=7385bbc7&scoped=true&lang=css":
/*!*********************************************************************************************************!*\
@@ -5629,6 +5917,18 @@
/***/
}),
+ /***/
+ "./src/assets/images/icons/expand.svg":
+ /*!********************************************!*\
+ !*** ./src/assets/images/icons/expand.svg ***!
+ \********************************************/
+ /***/ (function (module, __unused_webpack_exports, __webpack_require__) {
+
+ eval("module.exports = __webpack_require__.p + \"img/expand.f11ce32d.svg\";\n\n//# sourceURL=webpack://rethink/./src/assets/images/icons/expand.svg?");
+
+ /***/
+ }),
+
/***/
"./src/assets/images/icons/eye-closed.svg":
/*!************************************************!*\
@@ -5857,6 +6157,30 @@
/***/
}),
+ /***/
+ "./src/assets/images/gif/loading-dots.gif":
+ /*!************************************************!*\
+ !*** ./src/assets/images/gif/loading-dots.gif ***!
+ \************************************************/
+ /***/ (function (module, __unused_webpack_exports, __webpack_require__) {
+
+ eval("module.exports = __webpack_require__.p + \"img/loading-dots.4c74f061.gif\";\n\n//# sourceURL=webpack://rethink/./src/assets/images/gif/loading-dots.gif?");
+
+ /***/
+ }),
+
+ /***/
+ "./src/assets/images/gif/loading.gif":
+ /*!*******************************************!*\
+ !*** ./src/assets/images/gif/loading.gif ***!
+ \*******************************************/
+ /***/ (function (module, __unused_webpack_exports, __webpack_require__) {
+
+ eval("module.exports = __webpack_require__.p + \"img/loading.0d152035.gif\";\n\n//# sourceURL=webpack://rethink/./src/assets/images/gif/loading.gif?");
+
+ /***/
+ }),
+
/***/
"./src/assets/images/morvanQR.png":
/*!****************************************!*\
diff --git a/src/rethink/dist-local/js/chunk-vendors.js b/src/rethink/dist-local/js/chunk-vendors.js
index af2ac26..aef02b2 100644
--- a/src/rethink/dist-local/js/chunk-vendors.js
+++ b/src/rethink/dist-local/js/chunk-vendors.js
@@ -1339,18 +1339,6 @@
/***/
}),
- /***/ "./node_modules/vditor/dist/index.css":
- /*!********************************************!*\
- !*** ./node_modules/vditor/dist/index.css ***!
- \********************************************/
- /***/ (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
- "use strict";
- eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://rethink/./node_modules/vditor/dist/index.css?");
-
- /***/
- }),
-
/***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js":
/*!*******************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
diff --git a/src/rethink/models/node.py b/src/rethink/models/node.py
index dbfb4d6..0927979 100644
--- a/src/rethink/models/node.py
+++ b/src/rethink/models/node.py
@@ -183,8 +183,8 @@ def update(
from_nodes = COLL.nodes.find({"id": {"$in": n["fromNodeIds"]}})
for from_node in from_nodes:
new_md = utils.change_link_title(md=from_node["md"], nid=nid, new_title=title)
- res = COLL.nodes.update_one({"id": from_node["id"]}, {"$set": {"md": new_md}})
- if res.modified_count != 1:
+ n, code = update(uid=uid, nid=from_node["id"], md=new_md)
+ if code != const.Code.OK:
logger.info(f"update fromNode {from_node['id']} failed")
new_data = {
diff --git a/src/rethink/models/utils.py b/src/rethink/models/utils.py
index fdcf095..96fc3ce 100644
--- a/src/rethink/models/utils.py
+++ b/src/rethink/models/utils.py
@@ -146,9 +146,8 @@ def replace_inner_link(md: str, filename2nid: Dict[str, str]) -> str:
def change_link_title(md: str, nid: str, new_title: str) -> str:
new_md = re.sub(
- r"\[@(.*?)]\(/n/{}/?\)".format(nid),
+ r"\[@[^].]*?]\(/n/{}/?\)".format(nid),
f"[@{new_title}](/n/{nid})",
md,
- flags=re.MULTILINE | re.DOTALL
)
return new_md
diff --git a/tests/test_models_utils.py b/tests/test_models_utils.py
index 7d7d235..7e6800c 100644
--- a/tests/test_models_utils.py
+++ b/tests/test_models_utils.py
@@ -70,6 +70,13 @@ def test_change_link_title(self):
[@ssw](/n/weee)
"""), new_md)
+ new_md = utils.change_link_title(md, nid="weee", new_title="哇塞")
+ self.assertEqual(dedent(f"""\
+ # 123
+ ddd qwd [@我是谁](/n/sqaaq) 345
+ [@哇塞](/n/weee)
+ """), new_md)
+
md = dedent("""\
# 123
ddd qwd [@我是谁](/n/sqaaq) 345
@@ -81,3 +88,15 @@ def test_change_link_title(self):
ddd qwd [@哇塞](/n/sqaaq) 345
[@哇塞](/n/sqaaq)
"""), new_md)
+
+ md = dedent("""\
+ # 123
+ ddd qwd 345
+ [@我](/n/1) [@我](/n/2)
+ """)
+ new_md = utils.change_link_title(md, nid="2", new_title="哇塞")
+ self.assertEqual(dedent(f"""\
+ # 123
+ ddd qwd 345
+ [@我](/n/1) [@哇塞](/n/2)
+ """), new_md)
diff --git a/tests/test_run.py b/tests/test_run.py
index 76c23b7..7e91648 100644
--- a/tests/test_run.py
+++ b/tests/test_run.py
@@ -5,6 +5,8 @@
import unittest
from pathlib import Path
+import requests
+
from rethink import run
@@ -34,6 +36,21 @@ def test_run(self):
break
time.sleep(0.1)
+ for url in [
+ "",
+ "/login",
+ "/about",
+ "/r",
+ "/r/settings",
+ "/r/user",
+ "/r/import",
+ "/n/123",
+ ]:
+ resp = requests.get(f"http://127.0.0.1:{port}{url}")
+ self.assertEqual(200, resp.status_code, msg=f"failed to get {url}")
+ self.assertEqual("text/html; charset=utf-8", resp.headers["content-type"])
+ self.assertIn("Rethink", resp.text)
+
p.kill()
self.assertTrue(self.path.exists())
self.assertTrue(self.path.is_dir())