edu360-web-ui 1.0.116 → 1.0.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.css CHANGED
@@ -1,4 +1,4 @@
1
- @charset "UTF-8";[data-v-c3d234e9]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-c3d234e9]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-c3d234e9]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-c3d234e9]{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:4px 8px;font-size:12px;background:#f8fafe;border-bottom:1px solid #ddd;height:36px;border-radius:6px 6px 0 0}.code-toolbar .code-toolbar-right[data-v-c3d234e9]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-c3d234e9]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-c3d234e9]{border-radius:0 0 6px 6px}.hljs.no-toolbar[data-v-c3d234e9]{border-radius:6px}.dark .code-toolbar[data-v-c3d234e9]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-c3d234e9]{color:#ddd}pre[data-v-c3d234e9]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-c3d234e9]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-885bddd6]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-popup[data-v-885bddd6]{margin:8px 30px;background:#fff;font-size:14px;box-shadow:0 0 0 .5px #6b729447,0 2px 4px #565b760a,0 4px 24px -2px #565b7614;border-radius:12px;position:relative;z-index:2}.ai-input[data-v-885bddd6]{border-radius:12px 12px 0 0;padding:16px 16px 12px;width:100%;box-sizing:border-box}.ai-input[data-v-885bddd6] .el-textarea__inner{box-shadow:none;resize:none;padding:0}.ai-btns[data-v-885bddd6]{display:flex;justify-content:flex-end;align-items:center;padding:0 16px 16px;border-radius:0 0 12px 12px}.ai-btns .ai-btns-send[data-v-885bddd6]{width:32px;height:32px;background-color:var(--el-color-primary);border-radius:50%;color:#fff;display:flex;justify-content:center;align-items:center;font-size:18px;cursor:pointer}.ai-btns .ai-btns-send.is-disabled[data-v-885bddd6]{background-color:#6b729452;cursor:not-allowed}.ai-quick-actions[data-v-885bddd6]{padding:20px;top:calc(100% + 6px);left:0;position:absolute!important;width:160px;max-height:46vh;overflow-y:auto;background:#fff;border-radius:12px;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:#565b7647 0 0 0 .5px,#00000014 0 2px 4px,#00000014 0 4px 12px -4px,#00000029 0 16px 24px -4px;gap:10px}.ai-quick-actions .ai-quick-actions-item[data-v-885bddd6]{height:32px;display:flex;justify-content:space-between;align-items:center;font-size:14px;cursor:pointer}.ai-quick-actions .ai-quick-actions-item>div[data-v-885bddd6]{display:flex;align-items:center;gap:4px}.tone-list[data-v-885bddd6]{display:flex;flex-direction:column;font-size:14px;gap:10px}.tone-list>p[data-v-885bddd6]{cursor:pointer}.ai-result .result-answer[data-v-885bddd6]{padding:0 18px;height:45px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #EEEEEE;font-size:14px;border-radius:12px 12px 0 0}.ai-result .result-text[data-v-885bddd6]{padding:20px 18px 0;font-size:14px;white-space:pre-wrap;max-height:300px;overflow-y:auto}.ai-result .result-image[data-v-885bddd6]{padding:10px;display:flex;justify-content:flex-start;gap:10px}.ai-result .result-image>div[data-v-885bddd6]{flex:1;width:0;position:relative}.ai-result .result-image>div>img[data-v-885bddd6]{object-fit:cover;width:100%}.ai-result .result-image>div .result-image-checkbox[data-v-885bddd6]{position:absolute;top:10px;right:10px}.ai-result .result-actions[data-v-885bddd6]{display:flex;align-items:center;gap:8px;padding:10px 20px 20px;border-radius:0 0 12px 12px}.result-text[data-v-885bddd6]{margin-bottom:8px;white-space:pre-wrap}.result-actions[data-v-885bddd6]{display:flex;gap:8px}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
1
+ @charset "UTF-8";[data-v-e8932521]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-e8932521]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-e8932521]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-e8932521]{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:4px 8px;font-size:12px;background:#f8fafe;border-bottom:1px solid #ddd;height:36px;border-radius:6px 6px 0 0}.code-toolbar .code-toolbar-right[data-v-e8932521]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-e8932521]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-e8932521]{border-radius:0 0 6px 6px}.hljs.no-toolbar[data-v-e8932521]{border-radius:6px}.dark .code-toolbar[data-v-e8932521]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-e8932521]{color:#ddd}pre[data-v-e8932521]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-e8932521]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-885bddd6]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-popup[data-v-885bddd6]{margin:8px 30px;background:#fff;font-size:14px;box-shadow:0 0 0 .5px #6b729447,0 2px 4px #565b760a,0 4px 24px -2px #565b7614;border-radius:12px;position:relative;z-index:2}.ai-input[data-v-885bddd6]{border-radius:12px 12px 0 0;padding:16px 16px 12px;width:100%;box-sizing:border-box}.ai-input[data-v-885bddd6] .el-textarea__inner{box-shadow:none;resize:none;padding:0}.ai-btns[data-v-885bddd6]{display:flex;justify-content:flex-end;align-items:center;padding:0 16px 16px;border-radius:0 0 12px 12px}.ai-btns .ai-btns-send[data-v-885bddd6]{width:32px;height:32px;background-color:var(--el-color-primary);border-radius:50%;color:#fff;display:flex;justify-content:center;align-items:center;font-size:18px;cursor:pointer}.ai-btns .ai-btns-send.is-disabled[data-v-885bddd6]{background-color:#6b729452;cursor:not-allowed}.ai-quick-actions[data-v-885bddd6]{padding:20px;top:calc(100% + 6px);left:0;position:absolute!important;width:160px;max-height:46vh;overflow-y:auto;background:#fff;border-radius:12px;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:#565b7647 0 0 0 .5px,#00000014 0 2px 4px,#00000014 0 4px 12px -4px,#00000029 0 16px 24px -4px;gap:10px}.ai-quick-actions .ai-quick-actions-item[data-v-885bddd6]{height:32px;display:flex;justify-content:space-between;align-items:center;font-size:14px;cursor:pointer}.ai-quick-actions .ai-quick-actions-item>div[data-v-885bddd6]{display:flex;align-items:center;gap:4px}.tone-list[data-v-885bddd6]{display:flex;flex-direction:column;font-size:14px;gap:10px}.tone-list>p[data-v-885bddd6]{cursor:pointer}.ai-result .result-answer[data-v-885bddd6]{padding:0 18px;height:45px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #EEEEEE;font-size:14px;border-radius:12px 12px 0 0}.ai-result .result-text[data-v-885bddd6]{padding:20px 18px 0;font-size:14px;white-space:pre-wrap;max-height:300px;overflow-y:auto}.ai-result .result-image[data-v-885bddd6]{padding:10px;display:flex;justify-content:flex-start;gap:10px}.ai-result .result-image>div[data-v-885bddd6]{flex:1;width:0;position:relative}.ai-result .result-image>div>img[data-v-885bddd6]{object-fit:cover;width:100%}.ai-result .result-image>div .result-image-checkbox[data-v-885bddd6]{position:absolute;top:10px;right:10px}.ai-result .result-actions[data-v-885bddd6]{display:flex;align-items:center;gap:8px;padding:10px 20px 20px;border-radius:0 0 12px 12px}.result-text[data-v-885bddd6]{margin-bottom:8px;white-space:pre-wrap}.result-actions[data-v-885bddd6]{display:flex;gap:8px}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
2
2
  Theme: GitHub
3
3
  Description: Light theme as seen on github.com
4
4
  Author: github.com
@@ -7,4 +7,4 @@
7
7
 
8
8
  Outdated base version: https://github.com/primer/github-syntax-light
9
9
  Current colors taken from GitHub's CSS
10
- */.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.link-bubble[data-v-547694a0]{position:absolute;width:300px}.unlink-btn[data-v-547694a0]{color:#f56c6c;border-color:#f56c6c;display:flex;align-items:center;transition:all .2s}.unlink-btn[data-v-547694a0]:hover{background-color:#f56c6c;color:#fff;border-color:#f56c6c}.unlink-btn svg[data-v-547694a0]{flex-shrink:0}.flex[data-v-547694a0]{display:flex}.justify-between[data-v-547694a0]{justify-content:space-between}.items-center[data-v-547694a0]{align-items:center}.ml-1[data-v-547694a0]{margin-left:4px}.mt-2[data-v-547694a0]{margin-top:8px}.text-right[data-v-547694a0]{text-align:right}[data-v-c0c6a2ad]:root{--clnpmel-color-primary: #fc5b08 !important}.jupyter-icon[data-v-c0c6a2ad]{display:inline-block;vertical-align:middle;fill:#333}.sudoku-div[data-v-d94a94d9]{background-color:#fff;display:inline-block}.sudoku-row[data-v-d94a94d9]{height:20px;display:flex;gap:2px}.sudoku-col[data-v-d94a94d9]{display:inline-block;width:16px;height:16px;margin-right:2px;background-color:#171a1d1a;cursor:pointer}.sudoku-col.active[data-v-d94a94d9]{background-color:#256cfb!important}[data-v-6eb1e6f8]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-6eb1e6f8]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-6eb1e6f8]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-6eb1e6f8]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-6eb1e6f8]{display:flex;flex-direction:column;gap:4px;position:absolute;border-radius:4px;border:1px solid #eee;background-color:#fff;padding:0 20px 20px;width:220px;box-sizing:border-box}.floating-menu-cont .floating-menu-tit[data-v-6eb1e6f8]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-6eb1e6f8]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-6eb1e6f8]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-6eb1e6f8]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-6eb1e6f8]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-6eb1e6f8]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-6eb1e6f8]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-6eb1e6f8]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-6eb1e6f8]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r>p[data-v-6eb1e6f8]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-6eb1e6f8]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-6eb1e6f8]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-6eb1e6f8]{color:#999!important;cursor:not-allowed!important}.icon-gray .floating-menu-common-item-r[data-v-6eb1e6f8]{color:#999!important}.block-menu-item[data-v-6eb1e6f8]{padding:.25rem;display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:#4b5563}.block-menu-item .block-menu-item-icon[data-v-6eb1e6f8]{background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;height:24px;width:24px;border-radius:4px;--tw-bg-opacity: 1;padding:4px;font-size:20px}.block-menu-item[data-v-6eb1e6f8]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-6eb1e6f8]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-28ce6f0a]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-28ce6f0a]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-28ce6f0a]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-28ce6f0a]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-b4262d96]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-b4262d96]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-b4262d96]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-b4262d96],.toolbar .flex-center .upload-demo[data-v-b4262d96]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-b4262d96]{color:#333}.toolbar .el-dropdown[data-v-b4262d96]{height:22px}.is-active[data-v-b4262d96]{color:#256cfb}.icon-gray[data-v-b4262d96]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-b4262d96]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-b4262d96]{display:flex;align-items:center;gap:4px}.table-content[data-v-b4262d96]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-b4262d96]{margin:0!important}.el-dropdown-link.disabled[data-v-b4262d96]{opacity:.5;cursor:not-allowed!important;pointer-events:none}.tiptap-drop-down .el-dropdown-menu__item:not(.is-disabled):hover{background-color:#171a1d0f!important;color:inherit!important}.tiptap-drop-down .el-button--primary.is-link,.tiptap-drop-down .el-button--primary.is-plain,.tiptap-drop-down .el-button--primary.is-text{color:#256cfb!important}.tiptap-drop-down .el-button--primary.is-link svg,.tiptap-drop-down .el-button--primary.is-plain svg,.tiptap-drop-down .el-button--primary.is-text svg{color:#256cfb!important}.bubble-menu[data-v-dc69236f]{background:#fff;border-radius:12px;box-shadow:0 0 0 .5px #565b7647,0 2px 4px #00000014,0 4px 12px -4px #00000014,0 16px 24px -4px #00000029;z-index:999;display:flex}[data-v-01df93dd]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-01df93dd]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-01df93dd]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-01df93dd]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-01df93dd]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-01df93dd]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-01df93dd]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-01df93dd]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-01df93dd]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-01df93dd]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-01df93dd]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-01df93dd]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-01df93dd]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-01df93dd]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-3bf9a61b]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-3bf9a61b]{position:relative}.table-side-icon[data-v-3bf9a61b]{width:24px;height:24px;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0000001f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;transition:transform .12s ease,background .12s ease}.table-side-icon[data-v-3bf9a61b]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-3bf9a61b]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-3bf9a61b]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-3bf9a61b]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-3bf9a61b]{color:#f56c6c}.merge-control-panel[data-v-3bf9a61b]{position:absolute;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px;min-width:160px;z-index:1001}.merge-control-panel .merge-panel-header[data-v-3bf9a61b]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ebeef5;font-size:12px;color:#606266}.merge-control-panel .merge-panel-header svg[data-v-3bf9a61b]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-3bf9a61b]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-3bf9a61b]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-3bf9a61b]{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.merge-control-panel .merge-option[data-v-3bf9a61b]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]:hover{background-color:transparent}[data-v-39837116]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-content[data-v-39837116]{position:absolute;width:calc(100% - 40px)}[data-v-0b13036c]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-0b13036c]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-0b13036c] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-0b13036c]{border:1px solid #eeeeee;border-radius:6px;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.editor-wrapper .editor-wrapper-toolbar[data-v-0b13036c]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-0b13036c]{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:40px;border-top:1px solid #eeeeee}.editor-wrapper .editor-bottom .editor-bottom-r[data-v-0b13036c]{color:#999;font-size:12px}.editor-content-container[data-v-0b13036c]{flex:1;height:0;position:relative}.editor-content[data-v-0b13036c]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-0b13036c]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-0b13036c]{display:flex;align-items:center}.bubble-menu[data-v-0b13036c]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-0b13036c]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-0b13036c]{display:flex;flex-direction:column}.table-toolbar[data-v-0b13036c]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-0b13036c]{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}:root{--clnpmel-color-primary: #fc5b08 !important}.tiptap-vue .editor-content table{border-collapse:collapse;margin:10px 0;overflow:hidden;table-layout:fixed;width:100%;border:1px solid #ccc}.tiptap-vue .editor-content table td,.tiptap-vue .editor-content table th{border:1px solid #ccc;box-sizing:border-box;min-width:1em;padding:10px;position:relative;vertical-align:top}.tiptap-vue .editor-content table td>*,.tiptap-vue .editor-content table th>*{margin-bottom:0}.tiptap-vue .editor-content table td ul[data-type=taskList],.tiptap-vue .editor-content table th ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .editor-content table td ul.bullet-list,.tiptap-vue .editor-content table th ul.bullet-list,.tiptap-vue .editor-content table td ol.ordered-list,.tiptap-vue .editor-content table th ol.ordered-list{padding-left:18px!important}.tiptap-vue .editor-content table th{background-color:var(--gray-1);font-weight:700;text-align:left}.tiptap-vue .editor-content table .selectedCell:after{background:#b7dcfb4d;content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-vue .editor-content table .column-resize-handle,.tiptap-vue .editor-content table .row-resize-handle{background-color:#000;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-vue .editor-content.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-vue .editor-content ul[data-type=taskList]{list-style:none;padding-left:30px;margin:10px 0}.tiptap-vue .editor-content ul[data-type=taskList] li{display:flex;align-items:baseline;-webkit-box-align:baseline}.tiptap-vue .editor-content ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;margin-top:.15em;-webkit-user-select:none;user-select:none;display:flex;align-items:center;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div{flex:1 1 auto;word-wrap:break-word;word-break:break-word;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div>p{margin:0!important;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] input[type=checkbox]{cursor:pointer;margin:0;flex-shrink:0}.tiptap-vue .editor-content ul[data-type=taskList] ul[data-type=taskList]{margin:0}.tiptap-vue .editor-content img,.tiptap-vue .editor-content p,.tiptap-vue .editor-content ol,.tiptap-vue .editor-content h1,.tiptap-vue .editor-content h2,.tiptap-vue .editor-content h3,.tiptap-vue .editor-content h4,.tiptap-vue .editor-content h5,.tiptap-vue .editor-content h6{margin:10px 0}.tiptap-vue .editor-content .ProseMirror{height:calc(100% - 10px)}.tiptap-vue .editor-content .ProseMirror p.is-empty:before{padding-left:30px;content:attr(data-placeholder);position:absolute;top:0;left:0;color:#999;pointer-events:none;font-size:inherit;font-style:italic;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content .ProseMirror>*{padding:0 30px}.tiptap-vue .editor-content .code-block-view,.tiptap-vue .editor-content .ai-assistant-card{padding:0!important}.tiptap-vue .editor-content ul[data-type=taskList] li>p{margin:0!important}.tiptap-vue .editor-content .bullet-list{padding-left:50px}.tiptap-vue .editor-content .bullet-list li>p{margin:0!important}.tiptap-vue .editor-content .ordered-list li>p{margin:0!important}.tiptap-vue .editor-content h1{font-size:2em!important}.tiptap-vue .editor-content h2{font-size:1.5em!important}.tiptap-vue .editor-content h3{font-size:1.17em!important}.tiptap-vue .editor-content h4{font-size:inherit!important}.tiptap-vue .editor-content h5{font-size:.83em!important}.tiptap-vue .editor-content h6{font-size:.67em!important}.is-inline .bullet-list,.is-inline .ordered-list,.is-inline ol,.is-inline ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .el-form-item{margin-bottom:10px!important}.tiptap-vue .noPadding{padding:0}.tiptap-vue .noPadding .ProseMirror>*{padding:0}.tiptap-vue .noPadding .code-block-view-cont{margin:0!important}:focus{outline:none!important}:focus-visible{outline:none!important}.tiptap ol{padding-left:50px!important;list-style-type:decimal;margin:.5em 0}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap ol ol ol ol{list-style-type:upper-alpha}.tiptap ol ol ol ol ol{list-style-type:upper-roman}.tiptap li{position:relative}.tiptap ol[data-level="2"]{background-color:#00000005}.tiptap ol[data-level="3"]{background-color:#0000000a}.source-dialog-content{width:100%;height:100%}.source-dialog-content :deep(.el-textarea){width:100%}.source-dialog-content :deep(.el-textarea__inner){font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.5;resize:none}.tiptap-vue .editor-content :deep(u),.tiptap-vue .editor-content :deep(.underline){text-decoration:underline!important}.tiptap-vue .editor-content :deep(s),.tiptap-vue .editor-content :deep(del),.tiptap-vue .editor-content :deep(strike){text-decoration:line-through!important}.tiptap-vue .editor-content :deep([style*="text-align"]){text-align:inherit}.tiptap-vue .editor-content :deep(mark){font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important}@font-face{font-family:iconfont;src:url(iconfont.woff2?t=1761630666591) format("woff2"),url(iconfont.woff?t=1761630666591) format("woff"),url(iconfont.ttf?t=1761630666591) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-logos--jupyter:before{content:""}
10
+ */.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.link-bubble[data-v-547694a0]{position:absolute;width:300px}.unlink-btn[data-v-547694a0]{color:#f56c6c;border-color:#f56c6c;display:flex;align-items:center;transition:all .2s}.unlink-btn[data-v-547694a0]:hover{background-color:#f56c6c;color:#fff;border-color:#f56c6c}.unlink-btn svg[data-v-547694a0]{flex-shrink:0}.flex[data-v-547694a0]{display:flex}.justify-between[data-v-547694a0]{justify-content:space-between}.items-center[data-v-547694a0]{align-items:center}.ml-1[data-v-547694a0]{margin-left:4px}.mt-2[data-v-547694a0]{margin-top:8px}.text-right[data-v-547694a0]{text-align:right}[data-v-c0c6a2ad]:root{--clnpmel-color-primary: #fc5b08 !important}.jupyter-icon[data-v-c0c6a2ad]{display:inline-block;vertical-align:middle;fill:#333}.sudoku-div[data-v-d94a94d9]{background-color:#fff;display:inline-block}.sudoku-row[data-v-d94a94d9]{height:20px;display:flex;gap:2px}.sudoku-col[data-v-d94a94d9]{display:inline-block;width:16px;height:16px;margin-right:2px;background-color:#171a1d1a;cursor:pointer}.sudoku-col.active[data-v-d94a94d9]{background-color:#256cfb!important}[data-v-6eb1e6f8]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-6eb1e6f8]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-6eb1e6f8]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-6eb1e6f8]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-6eb1e6f8]{display:flex;flex-direction:column;gap:4px;position:absolute;border-radius:4px;border:1px solid #eee;background-color:#fff;padding:0 20px 20px;width:220px;box-sizing:border-box}.floating-menu-cont .floating-menu-tit[data-v-6eb1e6f8]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-6eb1e6f8]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-6eb1e6f8]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-6eb1e6f8]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-6eb1e6f8]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-6eb1e6f8]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-6eb1e6f8]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-6eb1e6f8]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-6eb1e6f8]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r>p[data-v-6eb1e6f8]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-6eb1e6f8]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-6eb1e6f8]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-6eb1e6f8]{color:#999!important;cursor:not-allowed!important}.icon-gray .floating-menu-common-item-r[data-v-6eb1e6f8]{color:#999!important}.block-menu-item[data-v-6eb1e6f8]{padding:.25rem;display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:#4b5563}.block-menu-item .block-menu-item-icon[data-v-6eb1e6f8]{background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;height:24px;width:24px;border-radius:4px;--tw-bg-opacity: 1;padding:4px;font-size:20px}.block-menu-item[data-v-6eb1e6f8]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-6eb1e6f8]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-28ce6f0a]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-28ce6f0a]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-28ce6f0a]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-28ce6f0a]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-577cd9c1]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-577cd9c1]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-577cd9c1]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-577cd9c1],.toolbar .flex-center .upload-demo[data-v-577cd9c1]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-577cd9c1]{color:#333}.toolbar .el-dropdown[data-v-577cd9c1]{height:22px}.is-active[data-v-577cd9c1]{color:#256cfb}.icon-gray[data-v-577cd9c1]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-577cd9c1]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-577cd9c1]{display:flex;align-items:center;gap:4px}.table-content[data-v-577cd9c1]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-577cd9c1]{margin:0!important}.el-dropdown-link.disabled[data-v-577cd9c1]{opacity:.5;cursor:not-allowed!important;pointer-events:none}.tiptap-drop-down .el-dropdown-menu__item:not(.is-disabled):hover{background-color:#171a1d0f!important;color:inherit!important}.tiptap-drop-down .el-button--primary.is-link,.tiptap-drop-down .el-button--primary.is-plain,.tiptap-drop-down .el-button--primary.is-text{color:#256cfb!important}.tiptap-drop-down .el-button--primary.is-link svg,.tiptap-drop-down .el-button--primary.is-plain svg,.tiptap-drop-down .el-button--primary.is-text svg{color:#256cfb!important}.bubble-menu[data-v-dc69236f]{background:#fff;border-radius:12px;box-shadow:0 0 0 .5px #565b7647,0 2px 4px #00000014,0 4px 12px -4px #00000014,0 16px 24px -4px #00000029;z-index:999;display:flex}[data-v-01df93dd]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-01df93dd]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-01df93dd]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-01df93dd]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-01df93dd]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-01df93dd]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-01df93dd]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-01df93dd]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-01df93dd]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-01df93dd]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-01df93dd]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-01df93dd]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-01df93dd]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-01df93dd]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-3bf9a61b]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-3bf9a61b]{position:relative}.table-side-icon[data-v-3bf9a61b]{width:24px;height:24px;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0000001f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;transition:transform .12s ease,background .12s ease}.table-side-icon[data-v-3bf9a61b]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-3bf9a61b]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-3bf9a61b]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-3bf9a61b]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-3bf9a61b]{color:#f56c6c}.merge-control-panel[data-v-3bf9a61b]{position:absolute;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px;min-width:160px;z-index:1001}.merge-control-panel .merge-panel-header[data-v-3bf9a61b]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ebeef5;font-size:12px;color:#606266}.merge-control-panel .merge-panel-header svg[data-v-3bf9a61b]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-3bf9a61b]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-3bf9a61b]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-3bf9a61b]{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.merge-control-panel .merge-option[data-v-3bf9a61b]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]:hover{background-color:transparent}[data-v-39837116]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-content[data-v-39837116]{position:absolute;width:calc(100% - 40px)}[data-v-0b13036c]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-0b13036c]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-0b13036c] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-0b13036c]{border:1px solid #eeeeee;border-radius:6px;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.editor-wrapper .editor-wrapper-toolbar[data-v-0b13036c]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-0b13036c]{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:40px;border-top:1px solid #eeeeee}.editor-wrapper .editor-bottom .editor-bottom-r[data-v-0b13036c]{color:#999;font-size:12px}.editor-content-container[data-v-0b13036c]{flex:1;height:0;position:relative}.editor-content[data-v-0b13036c]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-0b13036c]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-0b13036c]{display:flex;align-items:center}.bubble-menu[data-v-0b13036c]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-0b13036c]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-0b13036c]{display:flex;flex-direction:column}.table-toolbar[data-v-0b13036c]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-0b13036c]{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}:root{--clnpmel-color-primary: #fc5b08 !important}.tiptap-vue .editor-content table{border-collapse:collapse;margin:10px 0;overflow:hidden;table-layout:fixed;width:100%;border:1px solid #ccc}.tiptap-vue .editor-content table td,.tiptap-vue .editor-content table th{border:1px solid #ccc;box-sizing:border-box;min-width:1em;padding:10px;position:relative;vertical-align:top}.tiptap-vue .editor-content table td>*,.tiptap-vue .editor-content table th>*{margin-bottom:0}.tiptap-vue .editor-content table td ul[data-type=taskList],.tiptap-vue .editor-content table th ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .editor-content table td ul.bullet-list,.tiptap-vue .editor-content table th ul.bullet-list,.tiptap-vue .editor-content table td ol.ordered-list,.tiptap-vue .editor-content table th ol.ordered-list{padding-left:18px!important}.tiptap-vue .editor-content table th{background-color:var(--gray-1);font-weight:700;text-align:left}.tiptap-vue .editor-content table .selectedCell:after{background:#b7dcfb4d;content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-vue .editor-content table .column-resize-handle,.tiptap-vue .editor-content table .row-resize-handle{background-color:#000;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-vue .editor-content.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-vue .editor-content ul[data-type=taskList]{list-style:none;padding-left:30px;margin:10px 0}.tiptap-vue .editor-content ul[data-type=taskList] li{display:flex;align-items:baseline;-webkit-box-align:baseline}.tiptap-vue .editor-content ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;margin-top:.15em;-webkit-user-select:none;user-select:none;display:flex;align-items:center;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div{flex:1 1 auto;word-wrap:break-word;word-break:break-word;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div>p{margin:0!important;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] input[type=checkbox]{cursor:pointer;margin:0;flex-shrink:0}.tiptap-vue .editor-content ul[data-type=taskList] ul[data-type=taskList]{margin:0}.tiptap-vue .editor-content img,.tiptap-vue .editor-content p,.tiptap-vue .editor-content ol,.tiptap-vue .editor-content h1,.tiptap-vue .editor-content h2,.tiptap-vue .editor-content h3,.tiptap-vue .editor-content h4,.tiptap-vue .editor-content h5,.tiptap-vue .editor-content h6{margin:10px 0}.tiptap-vue .editor-content .ProseMirror{height:calc(100% - 10px)}.tiptap-vue .editor-content .ProseMirror p.is-empty:before{padding-left:30px;content:attr(data-placeholder);position:absolute;top:0;left:0;color:#999;pointer-events:none;font-size:inherit;font-style:italic;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content .ProseMirror>*{padding:0 30px}.tiptap-vue .editor-content .code-block-view,.tiptap-vue .editor-content .ai-assistant-card{padding:0!important}.tiptap-vue .editor-content ul[data-type=taskList] li>p{margin:0!important}.tiptap-vue .editor-content .bullet-list{padding-left:50px}.tiptap-vue .editor-content .bullet-list li>p{margin:0!important}.tiptap-vue .editor-content .ordered-list li>p{margin:0!important}.tiptap-vue .editor-content h1{font-size:2em!important}.tiptap-vue .editor-content h2{font-size:1.5em!important}.tiptap-vue .editor-content h3{font-size:1.17em!important}.tiptap-vue .editor-content h4{font-size:inherit!important}.tiptap-vue .editor-content h5{font-size:.83em!important}.tiptap-vue .editor-content h6{font-size:.67em!important}.is-inline .bullet-list,.is-inline .ordered-list,.is-inline ol,.is-inline ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .el-form-item{margin-bottom:10px!important}.tiptap-vue .noPadding{padding:0}.tiptap-vue .noPadding .ProseMirror>*{padding:0}.tiptap-vue .noPadding .code-block-view-cont{margin:0!important}:focus{outline:none!important}:focus-visible{outline:none!important}.tiptap ol{padding-left:50px!important;list-style-type:decimal;margin:.5em 0}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap ol ol ol ol{list-style-type:upper-alpha}.tiptap ol ol ol ol ol{list-style-type:upper-roman}.tiptap li{position:relative}.tiptap ol[data-level="2"]{background-color:#00000005}.tiptap ol[data-level="3"]{background-color:#0000000a}.source-dialog-content{width:100%;height:100%}.source-dialog-content :deep(.el-textarea){width:100%}.source-dialog-content :deep(.el-textarea__inner){font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.5;resize:none}.tiptap-vue .editor-content :deep(u),.tiptap-vue .editor-content :deep(.underline){text-decoration:underline!important}.tiptap-vue .editor-content :deep(s),.tiptap-vue .editor-content :deep(del),.tiptap-vue .editor-content :deep(strike){text-decoration:line-through!important}.tiptap-vue .editor-content :deep([style*="text-align"]){text-align:inherit}.tiptap-vue .editor-content :deep(mark){font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important}@font-face{font-family:iconfont;src:url(iconfont.woff2?t=1761630666591) format("woff2"),url(iconfont.woff?t=1761630666591) format("woff"),url(iconfont.ttf?t=1761630666591) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-logos--jupyter:before{content:""}
@@ -81479,12 +81479,31 @@ const _sfc_main$c = {
81479
81479
  return str.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
81480
81480
  };
81481
81481
  const preBlock = ref(null);
81482
+ let isHighlighting = false;
81483
+ let highlightTimer = null;
81482
81484
  const highlight2 = () => {
81483
- nextTick(() => {
81484
- var _a3;
81485
- const codeEl = (_a3 = preBlock.value) == null ? void 0 : _a3.querySelector(".code-content");
81486
- if (codeEl) {
81487
- codeEl.innerHTML = escapeHtml2(codeEl.innerText);
81485
+ if (isHighlighting) return;
81486
+ if (highlightTimer) {
81487
+ clearTimeout(highlightTimer);
81488
+ }
81489
+ highlightTimer = setTimeout(() => {
81490
+ nextTick(() => {
81491
+ var _a3;
81492
+ const codeEl = (_a3 = preBlock.value) == null ? void 0 : _a3.querySelector(".code-content");
81493
+ if (!codeEl) return;
81494
+ const selection = window.getSelection();
81495
+ let savedRange = null;
81496
+ let hadFocus = false;
81497
+ try {
81498
+ if (selection && selection.rangeCount > 0 && codeEl.contains(selection.anchorNode)) {
81499
+ hadFocus = true;
81500
+ savedRange = selection.getRangeAt(0).cloneRange();
81501
+ }
81502
+ } catch (e) {
81503
+ }
81504
+ isHighlighting = true;
81505
+ const textContent = codeEl.innerText || codeEl.textContent || "";
81506
+ codeEl.innerHTML = escapeHtml2(textContent);
81488
81507
  const language = lang.value || props.node.attrs.language || "plaintext";
81489
81508
  codeEl.className = `language-${language}`;
81490
81509
  try {
@@ -81492,11 +81511,27 @@ const _sfc_main$c = {
81492
81511
  } catch (e) {
81493
81512
  console.warn("Highlight failed:", e);
81494
81513
  }
81495
- }
81496
- });
81514
+ if (hadFocus && savedRange) {
81515
+ try {
81516
+ selection.removeAllRanges();
81517
+ selection.addRange(savedRange);
81518
+ } catch (e) {
81519
+ }
81520
+ }
81521
+ isHighlighting = false;
81522
+ });
81523
+ }, 300);
81497
81524
  };
81498
81525
  highlight2();
81499
- watch(() => props.node.content, highlight2, { deep: true });
81526
+ let contentChangeTimer = null;
81527
+ watch(() => props.node.content, () => {
81528
+ if (contentChangeTimer) {
81529
+ clearTimeout(contentChangeTimer);
81530
+ }
81531
+ contentChangeTimer = setTimeout(() => {
81532
+ highlight2();
81533
+ }, 500);
81534
+ }, { deep: true });
81500
81535
  const codeContHeme = {
81501
81536
  github: "light",
81502
81537
  monokai: "dark",
@@ -81581,7 +81616,7 @@ const _sfc_main$c = {
81581
81616
  };
81582
81617
  }
81583
81618
  };
81584
- const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-c3d234e9"]]);
81619
+ const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-e8932521"]]);
81585
81620
  function _1c(hljs2) {
81586
81621
  const UNDERSCORE_IDENT_RE2 = "[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+";
81587
81622
  const v7_keywords = "далее ";
@@ -153847,38 +153882,95 @@ const _sfc_main$4 = {
153847
153882
  };
153848
153883
  const removeEmptyLines = () => {
153849
153884
  if (!props.editor) return;
153850
- const { state } = props.editor;
153851
- const { doc: doc2 } = state;
153852
- let { tr: tr2 } = state;
153853
- let removedCount = 0;
153854
- const emptyNodes = [];
153855
- doc2.descendants((node, pos) => {
153856
- if (node.type.name === "paragraph") {
153857
- const isEmpty3 = node.content.size === 0 || node.textContent.trim() === "";
153858
- if (isEmpty3) {
153859
- emptyNodes.push({ pos, size: node.nodeSize, type: "paragraph" });
153885
+ const loadingInstance = ElMessage({
153886
+ message: "正在处理,请稍候...",
153887
+ type: "info",
153888
+ duration: 0,
153889
+ iconClass: "el-icon-loading"
153890
+ });
153891
+ setTimeout(() => {
153892
+ try {
153893
+ const { state } = props.editor;
153894
+ const { doc: doc2 } = state;
153895
+ let { tr: tr2 } = state;
153896
+ let removedCount = 0;
153897
+ const nodesToDelete = [];
153898
+ const codeBlocksToUpdate = [];
153899
+ let paragraphCount = 0;
153900
+ doc2.descendants((node) => {
153901
+ if (node.type.name === "paragraph") {
153902
+ paragraphCount++;
153903
+ }
153904
+ });
153905
+ doc2.descendants((node, pos) => {
153906
+ if (node.type.name === "paragraph") {
153907
+ const text2 = node.textContent.trim();
153908
+ const isEmpty3 = node.content.size === 0 || text2 === "";
153909
+ const isJupyterPrompt = /^(In|Out)\s*\[\s*\d*\s*\]\s*:?\s*$/.test(text2) || /^In\s*\[.*?\]\s*:?$/.test(text2) || /^Out\s*\[.*?\]\s*:?$/.test(text2);
153910
+ if (text2.includes("In [") || text2.includes("In[")) {
153911
+ console.log("检测到 Jupyter 行:", JSON.stringify(text2), "isJupyterPrompt:", isJupyterPrompt);
153912
+ }
153913
+ if (isEmpty3 || isJupyterPrompt) {
153914
+ const isOnlyParagraph = paragraphCount === 1 && isEmpty3 && !isJupyterPrompt;
153915
+ if (!isOnlyParagraph) {
153916
+ nodesToDelete.push({ pos, size: node.nodeSize });
153917
+ }
153918
+ }
153919
+ } else if (node.type.name === "codeBlock" || node.type.name === "codeBlockCustom") {
153920
+ const text2 = node.textContent;
153921
+ if (!text2 || text2.trim() === "") {
153922
+ nodesToDelete.push({ pos, size: node.nodeSize });
153923
+ } else if (text2.includes("\n")) {
153924
+ const lines = text2.split("\n");
153925
+ let hasEmptyLine = false;
153926
+ const nonEmptyLines = [];
153927
+ for (let i = 0; i < lines.length; i++) {
153928
+ const trimmed = lines[i].trim();
153929
+ if (trimmed !== "") {
153930
+ nonEmptyLines.push(lines[i]);
153931
+ } else {
153932
+ hasEmptyLine = true;
153933
+ }
153934
+ }
153935
+ if (hasEmptyLine && nonEmptyLines.length > 0) {
153936
+ codeBlocksToUpdate.push({
153937
+ pos,
153938
+ nodeSize: node.nodeSize,
153939
+ newContent: nonEmptyLines.join("\n"),
153940
+ emptyCount: lines.length - nonEmptyLines.length
153941
+ });
153942
+ }
153943
+ }
153944
+ }
153945
+ });
153946
+ for (let i = codeBlocksToUpdate.length - 1; i >= 0; i--) {
153947
+ const item = codeBlocksToUpdate[i];
153948
+ const from2 = item.pos + 1;
153949
+ const to = item.pos + item.nodeSize - 1;
153950
+ tr2 = tr2.replaceWith(from2, to, state.schema.text(item.newContent));
153951
+ removedCount += item.emptyCount;
153860
153952
  }
153861
- } else if (node.type.name === "codeBlock" || node.type.name === "codeBlockCustom") {
153862
- const isEmpty3 = node.content.size === 0 || node.textContent.trim() === "";
153863
- if (isEmpty3) {
153864
- emptyNodes.push({ pos, size: node.nodeSize, type: "codeBlock" });
153953
+ for (let i = nodesToDelete.length - 1; i >= 0; i--) {
153954
+ const { pos, size: size2 } = nodesToDelete[i];
153955
+ tr2 = tr2.delete(pos, pos + size2);
153956
+ removedCount++;
153865
153957
  }
153958
+ loadingInstance.close();
153959
+ if (removedCount > 0) {
153960
+ if (tr2.doc.content.size === 0) {
153961
+ tr2 = tr2.insert(0, state.schema.nodes.paragraph.create());
153962
+ }
153963
+ props.editor.view.dispatch(tr2);
153964
+ ElMessage.success(`已删除 ${removedCount} 个空行、空代码块和Jupyter提示符`);
153965
+ } else {
153966
+ ElMessage.info("文档已经很干净了,没有需要删除的内容");
153967
+ }
153968
+ } catch (error2) {
153969
+ loadingInstance.close();
153970
+ ElMessage.error("处理失败: " + error2.message);
153971
+ console.error("去除空行失败:", error2);
153866
153972
  }
153867
- });
153868
- for (let i = emptyNodes.length - 1; i >= 0; i--) {
153869
- const { pos, size: size2 } = emptyNodes[i];
153870
- tr2 = tr2.delete(pos, pos + size2);
153871
- removedCount++;
153872
- }
153873
- if (removedCount > 0) {
153874
- if (tr2.doc.content.size === 0) {
153875
- tr2 = tr2.insert(0, state.schema.nodes.paragraph.create());
153876
- }
153877
- props.editor.view.dispatch(tr2);
153878
- ElMessage.success(`已删除 ${removedCount} 个空行和空代码块`);
153879
- } else {
153880
- ElMessage.info("没有找到空行或空代码块");
153881
- }
153973
+ }, 100);
153882
153974
  };
153883
153975
  const commonExpressionVisible = ref(false);
153884
153976
  const showExpression = () => {
@@ -153944,6 +154036,9 @@ const _sfc_main$4 = {
153944
154036
  if (p > 0) {
153945
154037
  emit("toggleLoading", false);
153946
154038
  }
154039
+ },
154040
+ onComplete: () => {
154041
+ props.editor.commands.focus("end");
153947
154042
  }
153948
154043
  });
153949
154044
  });
@@ -153964,12 +154059,17 @@ const _sfc_main$4 = {
153964
154059
  };
153965
154060
  uploadApi(params).then((res2) => {
153966
154061
  const html2 = crypto.decrypt(res2.data.content || "");
154062
+ console.log("原始 HTML:", html2.substring(0, 500));
153967
154063
  const parser = new DOMParser();
153968
154064
  const doc2 = parser.parseFromString(html2, "text/html");
153969
- const bodyInnerHTML = doc2.body.innerHTML;
154065
+ const body = doc2.body;
154066
+ body.querySelectorAll("script").forEach((el) => el.remove());
154067
+ body.querySelectorAll("style").forEach((el) => el.remove());
154068
+ const cleanHTML = body.innerHTML.replace(/<!--[\s\S]*?-->/g, "").replace(/\n\s*\n\s*\n/g, "\n\n").trim();
154069
+ console.log("清理后 HTML:", cleanHTML.substring(0, 500));
153970
154070
  loadContentInChunks({
153971
154071
  editor: props.editor,
153972
- content: bodyInnerHTML,
154072
+ content: cleanHTML,
153973
154073
  type: "html",
153974
154074
  extensions: commonExtensions(),
153975
154075
  chunkSize: 5,
@@ -153977,8 +154077,18 @@ const _sfc_main$4 = {
153977
154077
  if (p > 0) {
153978
154078
  emit("toggleLoading", false);
153979
154079
  }
154080
+ },
154081
+ onComplete: () => {
154082
+ const { doc: doc3 } = props.editor.state;
154083
+ const endPos = doc3.content.size;
154084
+ props.editor.commands.focus("end");
154085
+ console.log("Jupyter 文件加载完成,共", doc3.nodeSize, "个节点");
153980
154086
  }
153981
154087
  });
154088
+ }).catch((error2) => {
154089
+ emit("toggleLoading", false);
154090
+ ElMessage.error("Jupyter 文件解析失败: " + error2.message);
154091
+ console.error("Jupyter 上传错误:", error2);
153982
154092
  });
153983
154093
  };
153984
154094
  watchEffect(() => {
@@ -154858,7 +154968,7 @@ const _sfc_main$4 = {
154858
154968
  };
154859
154969
  }
154860
154970
  };
154861
- const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-b4262d96"]]);
154971
+ const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-577cd9c1"]]);
154862
154972
  const _hoisted_1$2 = { class: "bubble-menu" };
154863
154973
  const _sfc_main$3 = {
154864
154974
  __name: "BubbleMenu",