@datawhale/prosemirror-render 0.0.2 → 0.0.3
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/{AttachmentBlock-BTIBSu4p.js → AttachmentBlock-BU56Jral.js} +100 -107
- package/dist/AttachmentBlock-D4287MIh.cjs +1 -0
- package/dist/{AttachmentInline-CgV-t0WF.cjs → AttachmentInline-DjENK-yS.cjs} +1 -1
- package/dist/{AttachmentInline-BF7QTLxZ.js → AttachmentInline-Dpuxwof6.js} +2 -2
- package/dist/{AttachmentMenu-BjM7LAlw.js → AttachmentMenu-CGVTP1Yv.js} +1 -1
- package/dist/{AttachmentMenu-vc18PNLc.cjs → AttachmentMenu-DbbJfEmt.cjs} +1 -1
- package/dist/{Callout-BH6_xPHP.js → Callout-BXchNfJk.js} +1 -1
- package/dist/{Callout-BgG8-zJn.cjs → Callout-DaFC0yQ4.cjs} +1 -1
- package/dist/{CellOutput-CXb77W7X.cjs → CellOutput-B7Lb-RKC.cjs} +1 -1
- package/dist/{CellOutput-DJqn5MJH.js → CellOutput-DvijyrkS.js} +1 -1
- package/dist/{CodeBlock-D9lrTXj3.js → CodeBlock-B2ZZtPly.js} +1 -1
- package/dist/{CodeBlock-BejcPvxj.cjs → CodeBlock-CdWT5lK0.cjs} +1 -1
- package/dist/{FoldBlock-CZwxKsSG.js → FoldBlock-DndxoDsF.js} +1 -1
- package/dist/{FoldBlock-CMDkkdoU.cjs → FoldBlock-HGN28wvI.cjs} +1 -1
- package/dist/{Grid-B53O57Vv.js → Grid-253iqCMF.js} +1 -1
- package/dist/{Grid-Cw9joyDF.cjs → Grid-xOWRvjRR.cjs} +1 -1
- package/dist/{IFrame-DRvqa1hl.js → IFrame-CY4qkGFL.js} +1 -1
- package/dist/{IFrame-CP2oHuDb.cjs → IFrame-k7fk5enb.cjs} +1 -1
- package/dist/{Image-B9Rer9RA.cjs → Image-DkfpQMVQ.cjs} +1 -1
- package/dist/{Image-BjIZuyk1.js → Image-R6iVek-9.js} +1 -1
- package/dist/{MathDisplay-D5rx_pee.cjs → MathDisplay-Bimaa4Y6.cjs} +1 -1
- package/dist/{MathDisplay-BficZWEq.js → MathDisplay-CEY2k2fV.js} +1 -1
- package/dist/{MathInline-Ca8s53fu.js → MathInline-Bz9Baz68.js} +1 -1
- package/dist/{MathInline-DZ86cc6g.cjs → MathInline-C3GWYu2n.cjs} +1 -1
- package/dist/{McChoices-CW1gsp_V.cjs → McChoices-Cq68UY4X.cjs} +1 -1
- package/dist/{McChoices-B8W03KdG.js → McChoices-D3HhRraE.js} +1 -1
- package/dist/{McQuestion-WyxeDFjM.js → McQuestion-BtWjhEnd.js} +1 -1
- package/dist/{McQuestion-DwBWk5S2.cjs → McQuestion-D7skHE3m.cjs} +1 -1
- package/dist/{McSolution-CRahjdmW.js → McSolution-DiMXYCQt.js} +1 -1
- package/dist/{McSolution-BtY7RBEb.cjs → McSolution-ytOHw96W.cjs} +1 -1
- package/dist/{MultipleChoice-mFFm3sQv.cjs → MultipleChoice-Byg7IpwO.cjs} +1 -1
- package/dist/{MultipleChoice-BgGHy-NW.js → MultipleChoice-Cl8wfstN.js} +4 -4
- package/dist/{Paragraph-CU-CMQz2.cjs → Paragraph-Bc08aEUA.cjs} +1 -1
- package/dist/{Paragraph-C3uQVRMm.js → Paragraph-BipTa7mo.js} +1 -1
- package/dist/{SlotNode-ivBAGFTX.cjs → SlotNode-BBgyADP6.cjs} +1 -1
- package/dist/{SlotNode-BThSEhpr.js → SlotNode-Dy-7S7b1.js} +1 -1
- package/dist/{Text-cG9dlJgd.js → Text-CRiw47FV.js} +1 -1
- package/dist/{Text-3RT27QJn.cjs → Text-DmgJshdk.cjs} +1 -1
- package/dist/{index-DuVSDVpW.cjs → index-CEnrh8_5.cjs} +1 -1
- package/dist/{index-C97tUvOp.js → index-CnHgx6Xd.js} +18 -18
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/prosemirror-render.css +1 -1
- package/package.json +3 -2
- package/dist/AttachmentBlock-W05YY8zN.cjs +0 -1
|
@@ -26,11 +26,11 @@ const K = /* @__PURE__ */ u(q, [["render", D]]), e = (t, o = {
|
|
|
26
26
|
loader: t,
|
|
27
27
|
...o
|
|
28
28
|
}), V = {
|
|
29
|
-
"attachment-inline": e(() => import("./AttachmentInline-
|
|
30
|
-
"attachment-block": e(() => import("./AttachmentBlock-
|
|
29
|
+
"attachment-inline": e(() => import("./AttachmentInline-Dpuxwof6.js")),
|
|
30
|
+
"attachment-block": e(() => import("./AttachmentBlock-BU56Jral.js"))
|
|
31
31
|
}, z = {
|
|
32
|
-
text: e(() => import("./Text-
|
|
33
|
-
paragraph: e(() => import("./Paragraph-
|
|
32
|
+
text: e(() => import("./Text-CRiw47FV.js")),
|
|
33
|
+
paragraph: e(() => import("./Paragraph-BipTa7mo.js")),
|
|
34
34
|
heading: e(() => import("./Heading-BElRvhGn.js")),
|
|
35
35
|
orderedList: e(() => import("./OrderedList-B8v1gchv.js")),
|
|
36
36
|
bulletList: e(() => import("./BulletList-BQTUD69X.js")),
|
|
@@ -39,26 +39,26 @@ const K = /* @__PURE__ */ u(q, [["render", D]]), e = (t, o = {
|
|
|
39
39
|
blockquote: e(() => import("./Blockquote-BamWUQND.js")),
|
|
40
40
|
hardBreak: e(() => import("./HardBreak-B2tFO31P.js"))
|
|
41
41
|
}, F = {
|
|
42
|
-
callout: e(() => import("./Callout-
|
|
42
|
+
callout: e(() => import("./Callout-BXchNfJk.js"))
|
|
43
43
|
}, H = {
|
|
44
|
-
codeBlock: e(() => import("./CodeBlock-
|
|
45
|
-
cellOutput: e(() => import("./CellOutput-
|
|
44
|
+
codeBlock: e(() => import("./CodeBlock-B2ZZtPly.js")),
|
|
45
|
+
cellOutput: e(() => import("./CellOutput-DvijyrkS.js"))
|
|
46
46
|
}, P = {
|
|
47
|
-
foldBlock: e(() => import("./FoldBlock-
|
|
47
|
+
foldBlock: e(() => import("./FoldBlock-DndxoDsF.js"))
|
|
48
48
|
}, Q = {
|
|
49
|
-
grid: e(() => import("./Grid-
|
|
49
|
+
grid: e(() => import("./Grid-253iqCMF.js"))
|
|
50
50
|
}, j = {
|
|
51
|
-
iframe: e(() => import("./IFrame-
|
|
51
|
+
iframe: e(() => import("./IFrame-CY4qkGFL.js"))
|
|
52
52
|
}, G = {
|
|
53
|
-
image: e(() => import("./Image-
|
|
53
|
+
image: e(() => import("./Image-R6iVek-9.js"))
|
|
54
54
|
}, J = {
|
|
55
|
-
math_inline: e(() => import("./MathInline-
|
|
56
|
-
math_display: e(() => import("./MathDisplay-
|
|
55
|
+
math_inline: e(() => import("./MathInline-Bz9Baz68.js")),
|
|
56
|
+
math_display: e(() => import("./MathDisplay-CEY2k2fV.js"))
|
|
57
57
|
}, U = {
|
|
58
|
-
multipleChoice: e(() => import("./MultipleChoice-
|
|
59
|
-
mcQuestion: e(() => import("./McQuestion-
|
|
60
|
-
mcChoices: e(() => import("./McChoices-
|
|
61
|
-
mcSolution: e(() => import("./McSolution-
|
|
58
|
+
multipleChoice: e(() => import("./MultipleChoice-Cl8wfstN.js")),
|
|
59
|
+
mcQuestion: e(() => import("./McQuestion-BtWjhEnd.js")),
|
|
60
|
+
mcChoices: e(() => import("./McChoices-D3HhRraE.js")),
|
|
61
|
+
mcSolution: e(() => import("./McSolution-DiMXYCQt.js"))
|
|
62
62
|
}, W = {
|
|
63
63
|
table: e(() => import("./TableContainer-C9PhNGlz.js")),
|
|
64
64
|
tableHeader: e(() => import("./TableHeader-C7KKz3e1.js")),
|
|
@@ -66,7 +66,7 @@ const K = /* @__PURE__ */ u(q, [["render", D]]), e = (t, o = {
|
|
|
66
66
|
tableCell: e(() => import("./TableCell-Bp52L368.js"))
|
|
67
67
|
}, X = {
|
|
68
68
|
doc: e(() => import("./Doc-6s4VMDsx.js")),
|
|
69
|
-
slotNode: e(() => import("./SlotNode-
|
|
69
|
+
slotNode: e(() => import("./SlotNode-Dy-7S7b1.js"))
|
|
70
70
|
}, Y = {
|
|
71
71
|
...V,
|
|
72
72
|
// 附件和视频类型
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CEnrh8_5.cjs");exports.TreeRender=e._sfc_main$1;
|
package/dist/index.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.error-wrapper[data-v-4fa940a8]{width:160px;height:90px;display:flex;align-items:center;justify-content:center;color:#882e2e;font-size:12px;border:1px solid #888;border-radius:8px}.tree-render mark{color:inherit;background-color:inherit}.tree-render{min-height:calc(100vh - 232.25px);outline:none;width:100%;box-sizing:border-box}.tree-render ::selection{background-color:#1456f02e}.tree-render{color:#1f2329;letter-spacing:.28px;word-wrap:break-word;font-family:LarkHackSafariFont,LarkEmojiFont,LarkChineseQuote,-apple-system,BlinkMacSystemFont,Helvetica Neue,Tahoma,PingFang SC,Microsoft Yahei,Arial,Hiragino Sans GB,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tree-render code{font-family:Source Code Pro,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Microsoft Yahei}.tree-render h1,.tree-render h2,.tree-render h3,.tree-render h4,.tree-render h5,.tree-render h6{font-weight:600;letter-spacing:-.52px}.tree-render h1 code,.tree-render h2 code,.tree-render h3 code,.tree-render h4 code,.tree-render h5 code,.tree-render h6 code{box-sizing:border-box;margin:0 3px;padding:1px 2px;background-color:#f5f6f7;border-radius:4px;border:1px solid rgb(222,224,227)}.tree-render .doc>h1:first-child{margin-top:22px}.tree-render h1{margin-top:26px;margin-bottom:10px;font-size:26px;line-height:36.4px}.tree-render h2{margin-top:22px;margin-bottom:8px;font-size:22px;line-height:30.8px}.tree-render h3{margin-top:20px;margin-bottom:8px;font-size:20px;line-height:28px}.tree-render h4{margin-top:18px;margin-bottom:8px;font-size:18px;line-height:25.2px}.tree-render h5{margin-top:18px;margin-bottom:8px;font-size:16px;line-height:22.4px}.tree-render h6{margin-top:16px;margin-bottom:8px;font-size:16px;line-height:22.4px}.tree-render hr{border:none;margin:8px 0;height:26px;position:relative}.tree-render hr:after{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background-color:#1f232926;transform:translateY(-50%)}.tree-render blockquote{border-left:2px solid rgb(187,191,196);padding-left:12px}.tree-render blockquote p{color:#646a73}.tree-render span.math-src div[contenteditable=true]{outline:none}.tree-render p{margin:8px 0;line-height:26px;font-size:16px;font-weight:400;white-space-collapse:break-spaces;text-wrap-mode:wrap}.tree-render p a{color:#336df4;text-decoration:none;cursor:pointer}.tree-render p a:hover{text-decoration:underline;text-decoration-color:#336df4}.tree-render p strong{font-weight:700}.tree-render p em{font-style:italic}.tree-render p del{text-decoration:line-through}.tree-render p u{text-decoration:underline}.tree-render p code{box-sizing:border-box;margin:0 3px;padding:1px 2px;background-color:#f5f6f7;border-radius:4px;border:1px solid rgb(222,224,227)}.tree-render ul{margin-left:22px;margin-top:8px;margin-bottom:8px}.tree-render ul>li::marker{content:"• ";color:#1456f0;font-size:16px}.tree-render ul ul>li::marker{content:"◦ ";color:#1456f0;font-size:16px}.tree-render ul ul ul>li::marker{content:"▪ ";color:#1456f0;font-size:16px}.tree-render ul ul ul ul>li::marker{content:"• ";color:#1456f0;font-size:16px}.tree-render ul ul ul ul ul>li::marker{content:"◦ ";color:#1456f0;font-size:16px}.tree-render li{margin:8px 0}.tree-render ol{margin-left:29px;list-style-type:decimal}.tree-render ol li::marker{color:#1456f0;font-family:Helvetica Neue,Consolas}.tree-render ol ol{list-style-type:lower-alpha}.tree-render ol ol ol{list-style-type:lower-roman}.tree-render ol ol ol ol{list-style-type:decimal}.tree-render ol ol ol ol ol{list-style-type:lower-alpha}.tree-render .tiptap .shiki{border-radius:4px;padding:8px}.tree-render .tiptap .shiki:focus-visible{outline:2px solid transparent;outline-offset:2px}.tree-render pre{padding:24px;border-radius:6px;margin:16px 0;outline:none;box-shadow:#00000029 0 1px 4px;overflow-x:auto;background-color:#f5f6f7}.tree-render pre code{width:100%;outline:none;line-height:22px;font-size:14px}.tree-render pre code span{text-wrap-mode:nowrap}.tree-render .tableWrapper{margin:24px 0;max-width:100%;overflow-x:auto}.tree-render table th,.tree-render table td{min-width:39px;border:1px solid rgb(222,224,227);padding:12px;position:relative}.tree-render table th :not(a.grip-column):not(a.grip-row):nth-child(1),.tree-render table th a.grip-column+:not(a.grip-row):nth-child(2),.tree-render table th a.grip-row+:not(a.grip-column):nth-child(2),.tree-render table th a.grip-column+*:nth-child(3),.tree-render table th a.grip-row+*:nth-child(3),.tree-render table td :not(a.grip-column):not(a.grip-row):nth-child(1),.tree-render table td a.grip-column+:not(a.grip-row):nth-child(2),.tree-render table td a.grip-row+:not(a.grip-column):nth-child(2),.tree-render table td a.grip-column+*:nth-child(3),.tree-render table td a.grip-row+*:nth-child(3){margin-top:0}.tree-render table th :not(a.grip-column):not(a.grip-row):nth-last-child(1),.tree-render table th :not(a.grip-column):not(a.grip-row):nth-last-child(2),.tree-render table td :not(a.grip-column):not(a.grip-row):nth-last-child(1),.tree-render table td :not(a.grip-column):not(a.grip-row):nth-last-child(2){margin-bottom:0}.tree-render table .column-resize-handle{background-color:#1456f0;bottom:0;pointer-events:none;position:absolute;right:-1px;top:0;width:2px}.tree-render table .selectedCell{background-color:#1456f02e!important}.tree-render table .grip-column,.tree-render table .grip-row{display:flex;align-items:center;justify-content:center;position:absolute;z-index:10;background-color:#eff0f1;cursor:pointer}.tree-render table .grip-column{width:100%;height:8px;left:0;top:-8px;margin-left:-1px;margin-top:-1px;border-left:1px solid rgb(239,240,241);border-right:1px solid rgb(239,240,241)}.tree-render table .grip-column:hover,.tree-render table .grip-column.selected{z-index:15}.tree-render table .grip-column:hover:before,.tree-render table .grip-column.selected:before{content:"";width:10px}.tree-render table .grip-column:hover{border-left:1px solid rgb(227,227,227);border-right:1px solid rgb(227,227,227);background-color:#e3e3e3}.tree-render table .grip-column:hover:before{border-bottom:2px dotted rgb(95,95,95)}.tree-render table .grip-column.selected{border-left:1px solid rgb(20,86,240);border-right:1px solid rgb(20,86,240);background-color:#1456f0}.tree-render table .grip-column.selected:before{border-bottom:2px dotted rgb(251,251,251)}.tree-render table .grip-column.first{border-top-left-radius:4px}.tree-render table .grip-column.last{border-top-right-radius:4px}.tree-render table .grip-row{width:8px;height:100%;top:0;left:-8px;margin-top:-1px;margin-left:-1px;border-top:1px solid rgb(239,240,241);border-bottom:1px solid rgb(239,240,241)}.tree-render table .grip-row:hover,.tree-render table .grip-row.selected{z-index:15}.tree-render table .grip-row:hover:before,.tree-render table .grip-row.selected:before{content:"";height:10px}.tree-render table .grip-row:hover{border-top:1px solid rgb(227,227,227);border-bottom:1px solid rgb(227,227,227);background-color:#e3e3e3}.tree-render table .grip-row:hover:before{border-left:2px dotted rgb(95,95,95)}.tree-render table .grip-row.selected{border-top:1px solid rgb(20,86,240);border-bottom:1px solid rgb(20,86,240);background-color:#1456f0}.tree-render table .grip-row.selected:before{border-left:2px dotted rgb(251,251,251)}.tree-render table .grip-row.first{border-top-left-radius:4px}.tree-render table .grip-row.last{border-bottom-left-radius:4px}[data-v-583c080e]{outline:none!important}.attachment-menu[data-v-583c080e]{height:40px;box-sizing:border-box;box-shadow:#1f23291a 0 4px 8px;background-color:#fff;border:1px solid rgb(222,224,227);border-radius:6px;display:flex;align-items:center;justify-content:center;padding:8px 0}.attachment-menu-group[data-v-583c080e]{margin:0!important;padding:0 8px;height:24px;display:flex;align-items:center;justify-content:center;border-right:1px solid rgb(222,224,227)}.attachment-menu-group[data-v-583c080e]:last-child{border-right:none}.attachment-menu-group .attachment-menu-item[data-v-583c080e]:first-child{margin-left:0!important}.attachment-menu-item[data-v-583c080e]{cursor:pointer;width:24px;height:24px;border-radius:4px;margin-left:8px!important;color:#2b2f36;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.attachment-menu-item[data-v-583c080e]:hover{background-color:#1f232914}.attachment-menu-item[data-v-583c080e]:active{background-color:#10101029}.attachment-menu-item[data-v-583c080e]:first-child{margin-left:0}.attachment-menu-item-icon[data-v-583c080e]{width:18px;height:18px}.attachment-fullscreen-dialog-header[data-v-583c080e]{width:100%;height:64px;padding:0;border-bottom:1px solid rgb(222,224,227);box-sizing:border-box;background-color:#fff;display:flex;align-items:center}.attachment-fullscreen-dialog-header-close[data-v-583c080e]{display:flex;align-items:center;border:none;outline:none;background-color:#fff;width:72px;height:30px;margin:0 0 0 12px;padding:4px 8px;border-radius:6px;font-size:16px;color:#1f2329;cursor:pointer}.attachment-fullscreen-dialog-header-close[data-v-583c080e]:hover{background-color:#1f23291a}.attachment-fullscreen-dialog-header-close[data-v-583c080e]:active{background-color:#1f232933}.attachment-fullscreen-dialog-header-close-icon[data-v-583c080e]{margin-right:4px}.attachment-fullscreen-dialog-header-close-text[data-v-583c080e]{margin-left:4px}.attachment-fullscreen-dialog-header-line[data-v-583c080e]{margin-left:8px;margin-right:16px;height:36px;border-right:1px solid rgb(222,224,227)}.attachment-fullscreen-dialog-header-title[data-v-583c080e]{display:flex;align-items:center;max-height:48px;overflow:hidden;max-width:calc(100% - 120px);-webkit-box-flex:1;-ms-flex:1;flex:1}.attachment-fullscreen-dialog-header-title-icon[data-v-583c080e]{margin:6px 14px 6px 0;width:36px;height:36px}.attachment-fullscreen-dialog-header-title-info[data-v-583c080e]{display:flex;flex-direction:column;justify-content:center;line-height:1.7}.attachment-fullscreen-dialog-header-title-info-filename[data-v-583c080e]{color:#1f2329;overflow:hidden;font-size:16px!important;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-align:left;white-space:nowrap}.attachment-fullscreen-dialog-header-title-info-filesize[data-v-583c080e]{color:#646a73;font-size:12px}.attachment-fullscreen-dialog-header-download[data-v-583c080e]{display:flex;justify-content:center;align-items:center;padding:0;border:none;outline:none;margin:0 28px 0 4px;box-sizing:border-box;height:32px;width:80px;border-radius:6px;background-color:#fff;border:1px solid rgb(208,211,214);cursor:pointer;font-size:14px}.attachment-fullscreen-dialog-header-download[data-v-583c080e]:hover{background-color:#f2f3f5}.attachment-fullscreen-dialog-header-download[data-v-583c080e]:active{background-color:#eff0f1}.attachment-fullscreen-dialog-header-download-icon[data-v-583c080e]{margin-right:4px;width:14px;height:14px}.attachment-fullscreen-dialog .attachment-fullscreen-preview-iframe-wrapper[data-v-583c080e]{width:100%;height:calc(100vh - 64px);margin-top:-16px}.attachment-fullscreen-dialog .attachment-fullscreen-preview-iframe-wrapper iframe[data-v-583c080e]{width:100%;height:calc(100% - 2px)}.attachment-fullscreen-dialog .attachment-fullscreen-preview-unable[data-v-583c080e]{width:100%;height:calc(100vh - 64px);margin-top:-16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.attachment-fullscreen-dialog .attachment-fullscreen-preview-unable .attachment-fullscreen-preview-unable-img[data-v-583c080e]{width:120px;height:120px;display:block;margin-bottom:16px}.attachment-fullscreen-dialog .attachment-fullscreen-preview-unable .attachment-fullscreen-preview-unable-text[data-v-583c080e]{font-size:14px;color:#646a73;margin-top:4px;line-height:1.8}.attachment-inline-container[data-v-7c608a16]{display:inline-block;height:100%;box-sizing:border-box;line-height:1.15em;padding:3px 2px;position:relative;cursor:pointer}.attachment-inline-container[data-v-7c608a16]:hover{background-color:#336df41a;border-radius:4px}.attachment-inline-container .attachment-inline-icon[data-v-7c608a16]{width:1.15em;height:1.15em;-webkit-transform:translateY(2px);transform:translateY(2px)}.attachment-inline-container .attachment-inline-text[data-v-7c608a16]{margin-left:2px;color:#1456f0}.attachment-inline-container .attachment-inline-loading[data-v-7c608a16]{color:#77a4e2}.attachment-inline-container .attachment-inline-menu[data-v-7c608a16]{position:absolute;top:-46px;left:var(--v4668c5a8);transform:translate(-50%)}.ai-panel[data-v-a1e65f27]{background:#fff;border-radius:8px;border:1px solid #e5e7eb;height:100%;max-height:500px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a}.panel-header[data-v-a1e65f27]{padding:12px 16px;background-color:#eff6ff;border-bottom:1px solid #bfdbfe;display:flex;justify-content:space-between;align-items:center}.panel-header .header-title[data-v-a1e65f27]{font-size:14px;font-weight:600;color:#1e40af;display:flex;align-items:center;gap:8px}.panel-header .close-btn[data-v-a1e65f27]{background:transparent;border:none;cursor:pointer;color:#60a5fa;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s;width:24px;height:24px}.panel-header .close-btn svg[data-v-a1e65f27]{width:18px;height:18px}.panel-header .close-btn[data-v-a1e65f27]:hover{background-color:#ffffff80;color:#1e40af}.panel-loading[data-v-a1e65f27],.panel-error[data-v-a1e65f27]{padding:32px;text-align:center;color:#6b7280;font-size:13px}.panel-loading .spinner[data-v-a1e65f27],.panel-error .spinner[data-v-a1e65f27]{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;margin:0 auto 12px;animation:spin-a1e65f27 1s linear infinite}.panel-content[data-v-a1e65f27]{flex:1;overflow-y:auto;padding:0}.panel-content[data-v-a1e65f27]::-webkit-scrollbar{width:4px}.panel-content[data-v-a1e65f27]::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.content-card[data-v-a1e65f27]{padding:16px;border-bottom:1px solid #e5e7eb}.content-card[data-v-a1e65f27]:last-child{border-bottom:none}.content-card .card-header[data-v-a1e65f27]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.content-card .card-header .card-title[data-v-a1e65f27]{font-size:13px;font-weight:700;color:#6b7280;text-transform:uppercase}.content-card .card-header .badge[data-v-a1e65f27]{font-size:12px;background:#f3f4f6;padding:2px 6px;border-radius:4px;color:#6b7280}.summary-card .summary-text[data-v-a1e65f27]{font-size:14px;line-height:1.6;color:#374151;text-align:justify;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.summary-card .summary-text.expanded[data-v-a1e65f27]{-webkit-line-clamp:unset;overflow:visible}.summary-card .expand-btn[data-v-a1e65f27]{margin-top:8px;font-size:12px;color:#2563eb;cursor:pointer}.summary-card .expand-btn[data-v-a1e65f27]:hover{text-decoration:underline}.chapter-list[data-v-a1e65f27]{display:flex;flex-direction:column;gap:8px}.chapter-item[data-v-a1e65f27]{display:flex;gap:12px;padding:8px;border-radius:6px;cursor:pointer;border:1px solid transparent;transition:all .2s}.chapter-item[data-v-a1e65f27]:hover{background-color:#f3f4f6;border-color:#e5e7eb}.chapter-item:hover .chapter-index[data-v-a1e65f27]{background-color:#fff;color:#2563eb}.chapter-item:hover .chapter-title[data-v-a1e65f27]{color:#2563eb}.chapter-item .chapter-index[data-v-a1e65f27]{width:20px;height:20px;background-color:#dbeafe;color:#2563eb;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border-radius:4px;flex-shrink:0;margin-top:2px}.chapter-item .chapter-info[data-v-a1e65f27]{flex:1;min-width:0}.chapter-item .chapter-info .chapter-title[data-v-a1e65f27]{font-size:14px;font-weight:500;color:#374151;margin-bottom:4px}.chapter-item .chapter-info .chapter-time[data-v-a1e65f27]{font-size:12px;color:#9ca3af;display:flex;align-items:center;gap:4px}.empty-state[data-v-a1e65f27]{text-align:center;color:#9ca3af;font-size:13px;padding:12px 0}@keyframes spin-a1e65f27{to{transform:rotate(360deg)}}.attachment-block-container[data-v-6ebf6463]{margin:16px 0}.attachment-block-card-container[data-v-6ebf6463]{display:flex;position:relative;align-items:center;justify-content:center;width:100%;max-width:400px;height:65.14px;box-sizing:border-box;background-color:#fff;border-radius:8px;border:1px solid rgb(222,224,227);cursor:pointer}.attachment-block-card-container[data-v-6ebf6463]:hover{border-color:#c2d4ff;box-shadow:#c2d4ff 0 0 0 1px}.attachment-block-card-container .attachment-block-card-icon[data-v-6ebf6463]{width:48px;height:48px;margin:8px 12px 8px 8px;box-sizing:border-box}.attachment-block-card-container .attachment-block-card-icon .attachment-block-card-icon-svg[data-v-6ebf6463]{width:48px;height:48px}.attachment-block-card-container .attachment-block-card-info[data-v-6ebf6463]{flex:1;display:flex;flex-direction:column;justify-content:center}.attachment-block-card-container .attachment-block-card-info .attachment-block-card-info-name[data-v-6ebf6463]{-webkit-user-select:none;user-select:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;text-align:left;overflow:hidden;color:#1f2329;max-height:44px;max-width:260px;line-height:22px}.attachment-block-card-container .attachment-block-card-info .attachment-block-card-info-size[data-v-6ebf6463]{height:17px;white-space:nowrap;font-size:12px;color:#646a73;-webkit-user-select:none;user-select:none;line-height:1.8}.attachment-block-card-container .attachment-block-card-preview[data-v-6ebf6463]{padding-right:4px;margin:auto;height:48px;display:flex;align-items:center;box-sizing:border-box}.attachment-block-card-container .attachment-block-card-preview .attachment-block-card-preview-wrapper[data-v-6ebf6463]{text-decoration:none;text-overflow:ellipsis;white-space:nowrap;height:34px;width:34px;text-align:center;position:relative;overflow:unset;margin:0 16px;cursor:pointer;padding:4px;line-height:24px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.attachment-block-card-container .attachment-block-card-preview .attachment-block-card-preview-wrapper[data-v-6ebf6463]:hover{background-color:#1f232914;border-radius:6px}.attachment-block-card-container .attachment-block-card-preview .attachment-block-card-preview-wrapper .attachment-block-card-preview-btn[data-v-6ebf6463]{height:20px;width:20px}.attachment-block-card-container .attachment-block-card-menu[data-v-6ebf6463]{position:absolute;top:-46px;left:200px;z-index:86;transform:translate(-50%)}.attachment-block-preview-container[data-v-6ebf6463]{position:relative}.attachment-block-preview-container .attachment-block-preview-menu[data-v-6ebf6463]{position:absolute;top:-46px;left:410px;z-index:86;transform:translate(-50%)}.attachment-block-preview-container .video-block-preview-container[data-v-6ebf6463]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:16px}.attachment-block-preview-container .video-block-preview-container .video-block-container[data-v-6ebf6463]{position:relative;display:flex;flex-direction:column;gap:16px;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:16px 0;transition:all .3s ease;overflow:visible}.attachment-block-preview-container .video-block-preview-container .video-main-section[data-v-6ebf6463]{flex:1;width:100%;min-width:0;display:flex;flex-direction:column;gap:12px}.attachment-block-preview-container .video-block-preview-container .video-player-wrapper[data-v-6ebf6463]{width:100%;aspect-ratio:16/9;background-color:#000;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.attachment-block-preview-container .video-block-preview-container .video-player-wrapper .video-element[data-v-6ebf6463]{width:100%;height:100%;object-fit:contain}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper[data-v-6ebf6463]{width:100%;aspect-ratio:16/9;background-color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;border:1px dashed #e5e7eb}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .uploading-content[data-v-6ebf6463],.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .error-content[data-v-6ebf6463]{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:14px;color:#6b7280}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .error-content[data-v-6ebf6463]{color:#ef4444}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .spinner[data-v-6ebf6463]{width:24px;height:24px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin-6ebf6463 1s linear infinite}.attachment-block-preview-container .video-block-preview-container .video-toolbar[data-v-6ebf6463]{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:12px;border-radius:8px;border:1px solid #e5e7eb}.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info[data-v-6ebf6463]{display:flex;flex-direction:column}.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info .toolbar-title[data-v-6ebf6463]{font-weight:500;color:#111827;font-size:14px}.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info .toolbar-desc[data-v-6ebf6463]{font-size:12px;color:#6b7280}@media(max-width:380px){.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info .toolbar-desc[data-v-6ebf6463]{display:none}}.attachment-block-preview-container .video-block-preview-container .video-toolbar .ai-toggle-btn[data-v-6ebf6463]{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;border:none;background-color:#2563eb;color:#fff;-webkit-tap-highlight-color:transparent}.attachment-block-preview-container .video-block-preview-container .video-toolbar .ai-toggle-btn[data-v-6ebf6463]:active{opacity:.9}.attachment-block-preview-container .video-block-preview-container .video-toolbar .ai-toggle-btn.active[data-v-6ebf6463]{background-color:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.attachment-block-preview-container .video-block-preview-container .video-sidebar-section[data-v-6ebf6463]{width:100%}@media(min-width:768px){.attachment-block-preview-container .video-block-preview-container .video-sidebar-section[data-v-6ebf6463]{position:absolute;top:0;left:100%;margin-left:16px;width:320px;height:auto;background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 12px #00000014;padding:0;z-index:1;animation:fadeInRight-6ebf6463 .3s ease-out}}@keyframes spin-6ebf6463{to{transform:rotate(360deg)}}@keyframes fadeInRight-6ebf6463{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.attachment-block-preview-container .notVideo-block-preview-container[data-v-6ebf6463]{max-width:820px;border-radius:8px;border:1px solid #dee0e3}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content[data-v-6ebf6463]{height:409px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-iframe[data-v-6ebf6463]{width:100%;height:100%;border-top-left-radius:8px;border-top-right-radius:8px}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-unable[data-v-6ebf6463]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-unable .attachment-block-preview-unable-img[data-v-6ebf6463]{width:120px;height:120px;display:block;margin-bottom:16px}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-unable .attachment-block-preview-unable-text[data-v-6ebf6463]{font-size:14px;color:#646a73;margin-top:4px;line-height:1.8}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-footer[data-v-6ebf6463]{height:42px;box-sizing:border-box;padding:0 12px;display:flex;align-items:center;border-top:1px solid #dee0e3;background-color:#fff}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-footer .attachment-block-preview-icon-svg[data-v-6ebf6463]{width:18px;height:18px;margin-right:8px}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-dark-bg[data-v-6ebf6463]{background-color:#f2f3f5}p[data-v-550653ec]:empty:before{content:" "}.callout-wrapper[data-v-3695cd3a]{position:relative;margin:16px 0;padding:16px;border-radius:6px;display:flex;flex-direction:row;border-width:1.5px;border-style:solid}.callout-wrapper .callout-icon[data-v-3695cd3a]{font-size:22px;width:26px;height:26px;display:flex;justify-content:center;align-items:center;cursor:default}.callout-wrapper .callout-icon[data-v-3695cd3a]:hover{background-color:#0000001a;border-radius:4px}.callout-wrapper .callout-content[data-v-3695cd3a]{padding-left:12px;display:flex;justify-content:flex-start;flex-direction:column;flex:1;min-width:0;overflow-x:auto}.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]{width:100%}.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>*:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:first-child>p:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:first-child>p:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>div:first-child>pre{margin-top:0}.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>*:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:last-child>p:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:last-child>p:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>div:last-child>pre{margin-bottom:0}.code-block-wrapper[data-v-3b4ccf2f]{position:relative}.code-block-wrapper .copy-btn[data-v-3b4ccf2f]{position:absolute;top:8px;right:8px;cursor:pointer;border:none;background-color:transparent;padding:0;outline:none;height:20px;width:20px;display:flex;align-items:center;justify-content:center;color:#909090}pre[data-v-6fb1f0d1]{margin:0;padding:0 10px;box-shadow:none;background-color:transparent}.cell-ouput-container[data-v-6fb1f0d1]{margin:20px 0 20px 10px}.jp-error[data-v-6fb1f0d1]{line-height:14px;font-size:14px;overflow-x:auto;overflow-y:hidden}.jp-img[data-v-6fb1f0d1]{max-width:50%;height:auto}.monospace-text[data-v-6fb1f0d1]{font-family:monospace;overflow-y:hidden}.foldBlock-wrapper[data-v-c2512d4e]{position:relative;margin:16px 0;padding:16px;border-radius:6px;display:flex;flex-direction:row;border-width:1.5px;border-style:solid}.foldBlock-wrapper .collapse-icon[data-v-c2512d4e]{cursor:pointer;font-size:22px;position:absolute;top:20.5px;right:2.5px;padding:4px 12px;border-radius:0 6px 0 0;z-index:1;display:flex;align-items:center}.foldBlock-wrapper .foldBlock-icon[data-v-c2512d4e]{font-size:22px;width:26px;height:26px;display:flex;justify-content:center;align-items:center;cursor:default}.foldBlock-wrapper .foldBlock-icon[data-v-c2512d4e]:hover{background-color:#0000001a;border-radius:4px}.foldBlock-wrapper .foldBlock-inner[data-v-c2512d4e]{display:flex;flex-direction:column;flex:1;min-width:0}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]{padding-left:12px;padding-right:14px;padding-bottom:16px}.foldBlock-wrapper .foldBlock-inner .foldBlock-header p[data-v-c2512d4e]{font-size:20px;font-weight:600}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]{justify-content:flex-start;align-items:center}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]>*:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li[data-v-c2512d4e]:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li:first-child>p[data-v-c2512d4e]:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li[data-v-c2512d4e]:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li:first-child>p[data-v-c2512d4e]:first-child{margin-top:0}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]>*:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li[data-v-c2512d4e]:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li:last-child>p[data-v-c2512d4e]:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li[data-v-c2512d4e]:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li:last-child>p[data-v-c2512d4e]:last-child{margin-bottom:0}.foldBlock-wrapper .foldBlock-inner.is-folded .foldBlock-header[data-v-c2512d4e]{padding-bottom:0}.foldBlock-wrapper .foldBlock-inner.is-folded .foldBlock-content[data-v-c2512d4e]{display:none}.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]{padding-left:12px;overflow-x:auto}.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>*:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:first-child>p:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:first-child>p:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>div:first-child>pre{margin-top:0}.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>*:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:last-child>p:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:last-child>p:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>div:last-child>pre{margin-bottom:0}.dipwap-grid[data-v-c3a47d6f]{display:flex;flex-direction:row;width:calc(100% - 8px);gap:12px;margin:16px 0}.dipwap-grid:hover .dipwap-column[data-v-c3a47d6f]{background-color:#646a730d}.dipwap-grid .dipwap-column[data-v-c3a47d6f]{position:relative;border-radius:8px;min-width:50px;padding:12px;background-color:transparent;transition:background-color .2s ease}.dipwap-grid .dipwap-column[data-v-c3a47d6f]>:nth-child(1){margin-top:0}.dipwap-grid .dipwap-column[data-v-c3a47d6f]>:nth-last-child(1){margin-bottom:0}@media screen and (max-width:768px){.dipwap-grid[data-v-c3a47d6f]{flex-direction:column!important;width:100%}.dipwap-column[data-v-c3a47d6f]{flex:none!important}}iframe.iframe-wrapper[data-v-3e85ed1c]{width:100%;margin:16px 0;aspect-ratio:16/9}.image-container[data-v-6f968d5a]{display:flex;flex-direction:column;margin-bottom:16px}.image-container .image-wrapper[data-v-6f968d5a]{position:relative;box-sizing:border-box;border:1px solid transparent;margin-bottom:8px;max-width:100%}.image-container .image-wrapper[data-v-6f968d5a]:before{content:"";position:absolute;inset:0;border:1px solid;border-color:inherit;pointer-events:none}.image-container .image-wrapper[data-v-6f968d5a]:hover{cursor:zoom-in}.image-container .image-wrapper[data-v-6f968d5a]:hover:before{border:2px solid #c2d4ff}.image-container .image-wrapper img[data-v-6f968d5a]{width:100%;height:100%;-webkit-touch-callout:none}.image-container .image-caption[data-v-6f968d5a]{all:unset;display:inline;text-align:center;font-size:16px;margin:0 auto;background-color:transparent;width:100%;transition:border-color .3s ease;color:#646a73}.modal-mask[data-v-6f968d5a]{position:fixed;z-index:100000;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:opacity .3s ease}.modal-mask .modal-close[data-v-6f968d5a]{position:absolute;top:2rem;right:2rem;width:3rem;height:3rem;line-height:2.8rem;text-align:center;color:#fff;font-size:2rem;font-weight:700;border-radius:50%;z-index:9999;background-color:#00000080;cursor:pointer;-webkit-user-select:none;user-select:none}.modal-mask .modal-body[data-v-6f968d5a]{display:block;transition:all .3s ease}.modal-mask .modal-footer[data-v-6f968d5a]{position:absolute;bottom:20px;left:calc(50vw - 80px);display:flex;justify-content:center;align-items:center;width:160px;height:40px;background-color:#00000080;cursor:default;-webkit-user-select:none;user-select:none}.modal-mask .modal-footer .zoom-in[data-v-6f968d5a],.modal-mask .modal-footer .zoom-out[data-v-6f968d5a]{width:39px;height:100%;line-height:37px;text-align:center;color:#fff;font-size:30px}.modal-mask .modal-footer .zoom-in[data-v-6f968d5a]{border-left:1px solid #fff}.modal-mask .modal-footer .zoom-out[data-v-6f968d5a]{border-right:1px solid #fff}.modal-mask .modal-footer .percentage[data-v-6f968d5a]{width:80px;height:100%;display:flex;justify-content:center;align-items:center;color:#fff}.modal-mask .modal-footer .prev-image[data-v-6f968d5a],.modal-mask .modal-footer .next-image[data-v-6f968d5a]{width:39px;height:100%;line-height:37px;text-align:center;color:#fff;font-size:30px;cursor:pointer;-webkit-user-select:none;user-select:none}.modal-mask .modal-footer .prev-image[data-v-6f968d5a]{border-right:1px solid #fff}.modal-mask .modal-footer .next-image[data-v-6f968d5a]{border-left:1px solid #fff}.modal-mask .modal-footer .disabled[data-v-6f968d5a]{color:#646464;cursor:not-allowed}.modal-enter-from[data-v-6f968d5a],.modal-leave-to[data-v-6f968d5a]{opacity:0}.modal-enter-from .modal-body[data-v-6f968d5a],.modal-leave-to .modal-body[data-v-6f968d5a]{-webkit-transform:scale(1.1);transform:scale(1.1)}.math-inline[data-v-5812f609]{min-width:1em;min-height:1em;font-size:.95em;font-family:Consolas,Ubuntu Mono,monospace}.math-inline .math-render[data-v-5812f609]{display:inline-block;font-size:.85em}.math-display[data-v-1d66d1b3]{min-width:.95em;min-height:.95em;font-size:.95em;font-family:Consolas,Ubuntu Mono,monospace}.math-display .math-render[data-v-1d66d1b3] .katex-display{margin:0}.mc-choices-header .choices-header-bar[data-v-1b935e83]{display:flex;align-items:center;padding:10px 15px;border-radius:5px;background-color:#e1e1e8}.mc-choices-header .choices-header-bar .header-icon[data-v-1b935e83]{height:24px;width:24px;margin-right:8px}.mc-choices-header .choices-header-bar .header-text[data-v-1b935e83]{font-size:18px;font-weight:700;font-family:Arial,sans-serif}.mc-choices-header .choice-list[data-v-1b935e83]{display:flex;flex-direction:column;background-color:#fff;padding:8px 0}.mc-choices-header .choice-list .choice-item[data-v-1b935e83]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding:0 12px}.mc-choices-header .choice-list .choice-item input[type=radio][data-v-1b935e83]{cursor:pointer}.mc-choices-header .choice-list .choice-item .prefix[data-v-1b935e83]{font-weight:700;width:1.5em;margin-left:12px}.mc-question-header[data-v-d7042536]{display:flex;flex-direction:column;border-radius:12px}.mc-question-header .question-header[data-v-d7042536]{display:flex;align-items:center;padding:10px 15px;background-color:#e1e1e8;border-radius:12px}.mc-question-header .question-header .icon[data-v-d7042536]{height:24px;width:24px;margin-right:8px}.mc-question-header .question-header .header-text[data-v-d7042536]{font-size:18px;font-weight:700;font-family:Arial,sans-serif}.mc-question-header .question-content[data-v-d7042536]{padding:12px 16px;background-color:#fff}.mc-question-header .question-content[data-v-d7042536] p:first-child{margin-top:0}.mc-question-header .question-content[data-v-d7042536] p:last-child{margin-bottom:0}.mc-solution[data-v-cb592ef8]{margin:12px}.mc-solution .solution-content[data-v-cb592ef8]{border-radius:4px;padding:12px 16px;font-size:14px;color:#333}.mc-solution .solution-content[data-v-cb592ef8] p:first-child{margin-top:0}.mc-solution .solution-content[data-v-cb592ef8] p:last-child{margin-bottom:0}.mc-solution .solution-content.correct[data-v-cb592ef8]{background-color:#eef8ea;border:1.5px solid #83c17e}.mc-solution .solution-content.wrong[data-v-cb592ef8]{background-color:#fdecea;border:1.5px solid #f08b83}.multiple-choice[data-v-7715f66b]{border:2px solid rgb(128,124,124);border-radius:8px;margin:20px 0;background-color:#e1e1e8}.multiple-choice .submit-area[data-v-7715f66b]{padding:12px}.multiple-choice .submit-button[data-v-7715f66b]{padding:6px 12px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;font-weight:700;cursor:pointer}.multiple-choice .submit-button[data-v-7715f66b]:disabled{background-color:#929292;cursor:not-allowed}
|
|
1
|
+
@charset "UTF-8";.error-wrapper[data-v-4fa940a8]{width:160px;height:90px;display:flex;align-items:center;justify-content:center;color:#882e2e;font-size:12px;border:1px solid #888;border-radius:8px}.tree-render mark{color:inherit;background-color:inherit}.tree-render{min-height:calc(100vh - 232.25px);outline:none;width:100%;box-sizing:border-box}.tree-render ::selection{background-color:#1456f02e}.tree-render{color:#1f2329;letter-spacing:.28px;word-wrap:break-word;font-family:LarkHackSafariFont,LarkEmojiFont,LarkChineseQuote,-apple-system,BlinkMacSystemFont,Helvetica Neue,Tahoma,PingFang SC,Microsoft Yahei,Arial,Hiragino Sans GB,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tree-render code{font-family:Source Code Pro,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Microsoft Yahei}.tree-render h1,.tree-render h2,.tree-render h3,.tree-render h4,.tree-render h5,.tree-render h6{font-weight:600;letter-spacing:-.52px}.tree-render h1 code,.tree-render h2 code,.tree-render h3 code,.tree-render h4 code,.tree-render h5 code,.tree-render h6 code{box-sizing:border-box;margin:0 3px;padding:1px 2px;background-color:#f5f6f7;border-radius:4px;border:1px solid rgb(222,224,227)}.tree-render .doc>h1:first-child{margin-top:22px}.tree-render h1{margin-top:26px;margin-bottom:10px;font-size:26px;line-height:36.4px}.tree-render h2{margin-top:22px;margin-bottom:8px;font-size:22px;line-height:30.8px}.tree-render h3{margin-top:20px;margin-bottom:8px;font-size:20px;line-height:28px}.tree-render h4{margin-top:18px;margin-bottom:8px;font-size:18px;line-height:25.2px}.tree-render h5{margin-top:18px;margin-bottom:8px;font-size:16px;line-height:22.4px}.tree-render h6{margin-top:16px;margin-bottom:8px;font-size:16px;line-height:22.4px}.tree-render hr{border:none;margin:8px 0;height:26px;position:relative}.tree-render hr:after{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background-color:#1f232926;transform:translateY(-50%)}.tree-render blockquote{border-left:2px solid rgb(187,191,196);padding-left:12px}.tree-render blockquote p{color:#646a73}.tree-render span.math-src div[contenteditable=true]{outline:none}.tree-render p{margin:8px 0;line-height:26px;font-size:16px;font-weight:400;white-space-collapse:break-spaces;text-wrap-mode:wrap}.tree-render p a{color:#336df4;text-decoration:none;cursor:pointer}.tree-render p a:hover{text-decoration:underline;text-decoration-color:#336df4}.tree-render p strong{font-weight:700}.tree-render p em{font-style:italic}.tree-render p del{text-decoration:line-through}.tree-render p u{text-decoration:underline}.tree-render p code{box-sizing:border-box;margin:0 3px;padding:1px 2px;background-color:#f5f6f7;border-radius:4px;border:1px solid rgb(222,224,227)}.tree-render ul{margin-left:22px;margin-top:8px;margin-bottom:8px}.tree-render ul>li::marker{content:"• ";color:#1456f0;font-size:16px}.tree-render ul ul>li::marker{content:"◦ ";color:#1456f0;font-size:16px}.tree-render ul ul ul>li::marker{content:"▪ ";color:#1456f0;font-size:16px}.tree-render ul ul ul ul>li::marker{content:"• ";color:#1456f0;font-size:16px}.tree-render ul ul ul ul ul>li::marker{content:"◦ ";color:#1456f0;font-size:16px}.tree-render li{margin:8px 0}.tree-render ol{margin-left:29px;list-style-type:decimal}.tree-render ol li::marker{color:#1456f0;font-family:Helvetica Neue,Consolas}.tree-render ol ol{list-style-type:lower-alpha}.tree-render ol ol ol{list-style-type:lower-roman}.tree-render ol ol ol ol{list-style-type:decimal}.tree-render ol ol ol ol ol{list-style-type:lower-alpha}.tree-render .tiptap .shiki{border-radius:4px;padding:8px}.tree-render .tiptap .shiki:focus-visible{outline:2px solid transparent;outline-offset:2px}.tree-render pre{padding:24px;border-radius:6px;margin:16px 0;outline:none;box-shadow:#00000029 0 1px 4px;overflow-x:auto;background-color:#f5f6f7}.tree-render pre code{width:100%;outline:none;line-height:22px;font-size:14px}.tree-render pre code span{text-wrap-mode:nowrap}.tree-render .tableWrapper{margin:24px 0;max-width:100%;overflow-x:auto}.tree-render table th,.tree-render table td{min-width:39px;border:1px solid rgb(222,224,227);padding:12px;position:relative}.tree-render table th :not(a.grip-column):not(a.grip-row):nth-child(1),.tree-render table th a.grip-column+:not(a.grip-row):nth-child(2),.tree-render table th a.grip-row+:not(a.grip-column):nth-child(2),.tree-render table th a.grip-column+*:nth-child(3),.tree-render table th a.grip-row+*:nth-child(3),.tree-render table td :not(a.grip-column):not(a.grip-row):nth-child(1),.tree-render table td a.grip-column+:not(a.grip-row):nth-child(2),.tree-render table td a.grip-row+:not(a.grip-column):nth-child(2),.tree-render table td a.grip-column+*:nth-child(3),.tree-render table td a.grip-row+*:nth-child(3){margin-top:0}.tree-render table th :not(a.grip-column):not(a.grip-row):nth-last-child(1),.tree-render table th :not(a.grip-column):not(a.grip-row):nth-last-child(2),.tree-render table td :not(a.grip-column):not(a.grip-row):nth-last-child(1),.tree-render table td :not(a.grip-column):not(a.grip-row):nth-last-child(2){margin-bottom:0}.tree-render table .column-resize-handle{background-color:#1456f0;bottom:0;pointer-events:none;position:absolute;right:-1px;top:0;width:2px}.tree-render table .selectedCell{background-color:#1456f02e!important}.tree-render table .grip-column,.tree-render table .grip-row{display:flex;align-items:center;justify-content:center;position:absolute;z-index:10;background-color:#eff0f1;cursor:pointer}.tree-render table .grip-column{width:100%;height:8px;left:0;top:-8px;margin-left:-1px;margin-top:-1px;border-left:1px solid rgb(239,240,241);border-right:1px solid rgb(239,240,241)}.tree-render table .grip-column:hover,.tree-render table .grip-column.selected{z-index:15}.tree-render table .grip-column:hover:before,.tree-render table .grip-column.selected:before{content:"";width:10px}.tree-render table .grip-column:hover{border-left:1px solid rgb(227,227,227);border-right:1px solid rgb(227,227,227);background-color:#e3e3e3}.tree-render table .grip-column:hover:before{border-bottom:2px dotted rgb(95,95,95)}.tree-render table .grip-column.selected{border-left:1px solid rgb(20,86,240);border-right:1px solid rgb(20,86,240);background-color:#1456f0}.tree-render table .grip-column.selected:before{border-bottom:2px dotted rgb(251,251,251)}.tree-render table .grip-column.first{border-top-left-radius:4px}.tree-render table .grip-column.last{border-top-right-radius:4px}.tree-render table .grip-row{width:8px;height:100%;top:0;left:-8px;margin-top:-1px;margin-left:-1px;border-top:1px solid rgb(239,240,241);border-bottom:1px solid rgb(239,240,241)}.tree-render table .grip-row:hover,.tree-render table .grip-row.selected{z-index:15}.tree-render table .grip-row:hover:before,.tree-render table .grip-row.selected:before{content:"";height:10px}.tree-render table .grip-row:hover{border-top:1px solid rgb(227,227,227);border-bottom:1px solid rgb(227,227,227);background-color:#e3e3e3}.tree-render table .grip-row:hover:before{border-left:2px dotted rgb(95,95,95)}.tree-render table .grip-row.selected{border-top:1px solid rgb(20,86,240);border-bottom:1px solid rgb(20,86,240);background-color:#1456f0}.tree-render table .grip-row.selected:before{border-left:2px dotted rgb(251,251,251)}.tree-render table .grip-row.first{border-top-left-radius:4px}.tree-render table .grip-row.last{border-bottom-left-radius:4px}[data-v-583c080e]{outline:none!important}.attachment-menu[data-v-583c080e]{height:40px;box-sizing:border-box;box-shadow:#1f23291a 0 4px 8px;background-color:#fff;border:1px solid rgb(222,224,227);border-radius:6px;display:flex;align-items:center;justify-content:center;padding:8px 0}.attachment-menu-group[data-v-583c080e]{margin:0!important;padding:0 8px;height:24px;display:flex;align-items:center;justify-content:center;border-right:1px solid rgb(222,224,227)}.attachment-menu-group[data-v-583c080e]:last-child{border-right:none}.attachment-menu-group .attachment-menu-item[data-v-583c080e]:first-child{margin-left:0!important}.attachment-menu-item[data-v-583c080e]{cursor:pointer;width:24px;height:24px;border-radius:4px;margin-left:8px!important;color:#2b2f36;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.attachment-menu-item[data-v-583c080e]:hover{background-color:#1f232914}.attachment-menu-item[data-v-583c080e]:active{background-color:#10101029}.attachment-menu-item[data-v-583c080e]:first-child{margin-left:0}.attachment-menu-item-icon[data-v-583c080e]{width:18px;height:18px}.attachment-fullscreen-dialog-header[data-v-583c080e]{width:100%;height:64px;padding:0;border-bottom:1px solid rgb(222,224,227);box-sizing:border-box;background-color:#fff;display:flex;align-items:center}.attachment-fullscreen-dialog-header-close[data-v-583c080e]{display:flex;align-items:center;border:none;outline:none;background-color:#fff;width:72px;height:30px;margin:0 0 0 12px;padding:4px 8px;border-radius:6px;font-size:16px;color:#1f2329;cursor:pointer}.attachment-fullscreen-dialog-header-close[data-v-583c080e]:hover{background-color:#1f23291a}.attachment-fullscreen-dialog-header-close[data-v-583c080e]:active{background-color:#1f232933}.attachment-fullscreen-dialog-header-close-icon[data-v-583c080e]{margin-right:4px}.attachment-fullscreen-dialog-header-close-text[data-v-583c080e]{margin-left:4px}.attachment-fullscreen-dialog-header-line[data-v-583c080e]{margin-left:8px;margin-right:16px;height:36px;border-right:1px solid rgb(222,224,227)}.attachment-fullscreen-dialog-header-title[data-v-583c080e]{display:flex;align-items:center;max-height:48px;overflow:hidden;max-width:calc(100% - 120px);-webkit-box-flex:1;-ms-flex:1;flex:1}.attachment-fullscreen-dialog-header-title-icon[data-v-583c080e]{margin:6px 14px 6px 0;width:36px;height:36px}.attachment-fullscreen-dialog-header-title-info[data-v-583c080e]{display:flex;flex-direction:column;justify-content:center;line-height:1.7}.attachment-fullscreen-dialog-header-title-info-filename[data-v-583c080e]{color:#1f2329;overflow:hidden;font-size:16px!important;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-align:left;white-space:nowrap}.attachment-fullscreen-dialog-header-title-info-filesize[data-v-583c080e]{color:#646a73;font-size:12px}.attachment-fullscreen-dialog-header-download[data-v-583c080e]{display:flex;justify-content:center;align-items:center;padding:0;border:none;outline:none;margin:0 28px 0 4px;box-sizing:border-box;height:32px;width:80px;border-radius:6px;background-color:#fff;border:1px solid rgb(208,211,214);cursor:pointer;font-size:14px}.attachment-fullscreen-dialog-header-download[data-v-583c080e]:hover{background-color:#f2f3f5}.attachment-fullscreen-dialog-header-download[data-v-583c080e]:active{background-color:#eff0f1}.attachment-fullscreen-dialog-header-download-icon[data-v-583c080e]{margin-right:4px;width:14px;height:14px}.attachment-fullscreen-dialog .attachment-fullscreen-preview-iframe-wrapper[data-v-583c080e]{width:100%;height:calc(100vh - 64px);margin-top:-16px}.attachment-fullscreen-dialog .attachment-fullscreen-preview-iframe-wrapper iframe[data-v-583c080e]{width:100%;height:calc(100% - 2px)}.attachment-fullscreen-dialog .attachment-fullscreen-preview-unable[data-v-583c080e]{width:100%;height:calc(100vh - 64px);margin-top:-16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.attachment-fullscreen-dialog .attachment-fullscreen-preview-unable .attachment-fullscreen-preview-unable-img[data-v-583c080e]{width:120px;height:120px;display:block;margin-bottom:16px}.attachment-fullscreen-dialog .attachment-fullscreen-preview-unable .attachment-fullscreen-preview-unable-text[data-v-583c080e]{font-size:14px;color:#646a73;margin-top:4px;line-height:1.8}.attachment-inline-container[data-v-7c608a16]{display:inline-block;height:100%;box-sizing:border-box;line-height:1.15em;padding:3px 2px;position:relative;cursor:pointer}.attachment-inline-container[data-v-7c608a16]:hover{background-color:#336df41a;border-radius:4px}.attachment-inline-container .attachment-inline-icon[data-v-7c608a16]{width:1.15em;height:1.15em;-webkit-transform:translateY(2px);transform:translateY(2px)}.attachment-inline-container .attachment-inline-text[data-v-7c608a16]{margin-left:2px;color:#1456f0}.attachment-inline-container .attachment-inline-loading[data-v-7c608a16]{color:#77a4e2}.attachment-inline-container .attachment-inline-menu[data-v-7c608a16]{position:absolute;top:-46px;left:var(--v4668c5a8);transform:translate(-50%)}.ai-panel[data-v-487a56a5]{background:#fff;border-radius:8px;border:1px solid #e5e7eb;height:100%;max-height:500px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a}.panel-header[data-v-487a56a5]{padding:12px 16px;background-color:#eff6ff;border-bottom:1px solid #bfdbfe;display:flex;justify-content:space-between;align-items:center}.panel-header .header-title[data-v-487a56a5]{font-size:14px;font-weight:600;color:#1e40af;display:flex;align-items:center;gap:8px}.panel-header .close-btn[data-v-487a56a5]{background:transparent;border:none;cursor:pointer;color:#60a5fa;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .2s;width:24px;height:24px}.panel-header .close-btn svg[data-v-487a56a5]{width:18px;height:18px}.panel-header .close-btn[data-v-487a56a5]:hover{background-color:#ffffff80;color:#1e40af}.panel-loading[data-v-487a56a5],.panel-error[data-v-487a56a5]{padding:32px;text-align:center;color:#6b7280;font-size:13px}.panel-loading .spinner[data-v-487a56a5],.panel-error .spinner[data-v-487a56a5]{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;margin:0 auto 12px;animation:spin-487a56a5 1s linear infinite}.panel-content[data-v-487a56a5]{flex:1;overflow-y:auto;padding:0}.panel-content[data-v-487a56a5]::-webkit-scrollbar{width:4px}.panel-content[data-v-487a56a5]::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.content-card[data-v-487a56a5]{padding:16px;border-bottom:1px solid #e5e7eb}.content-card[data-v-487a56a5]:last-child{border-bottom:none}.content-card .card-header[data-v-487a56a5]{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.content-card .card-header .card-title[data-v-487a56a5]{font-size:13px;font-weight:700;color:#6b7280;text-transform:uppercase}.content-card .card-header .badge[data-v-487a56a5]{font-size:12px;background:#f3f4f6;padding:2px 6px;border-radius:4px;color:#6b7280}.summary-card .summary-text[data-v-487a56a5]{font-size:14px;line-height:1.6;color:#374151;text-align:justify;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.summary-card .summary-text.expanded[data-v-487a56a5]{-webkit-line-clamp:unset;overflow:visible}.summary-card .expand-btn[data-v-487a56a5]{margin-top:8px;font-size:12px;color:#2563eb;cursor:pointer}.summary-card .expand-btn[data-v-487a56a5]:hover{text-decoration:underline}.chapter-list[data-v-487a56a5]{display:flex;flex-direction:column;gap:8px}.chapter-item[data-v-487a56a5]{display:flex;gap:12px;padding:8px;border-radius:6px;cursor:pointer;border:1px solid transparent;transition:all .2s}.chapter-item[data-v-487a56a5]:hover{background-color:#f3f4f6;border-color:#e5e7eb}.chapter-item:hover .chapter-index[data-v-487a56a5]{background-color:#fff;color:#2563eb}.chapter-item:hover .chapter-title[data-v-487a56a5]{color:#2563eb}.chapter-item .chapter-index[data-v-487a56a5]{width:20px;height:20px;background-color:#dbeafe;color:#2563eb;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border-radius:4px;flex-shrink:0;margin-top:2px}.chapter-item .chapter-info[data-v-487a56a5]{flex:1;min-width:0}.chapter-item .chapter-info .chapter-title[data-v-487a56a5]{font-size:14px;font-weight:500;color:#374151;margin-bottom:4px}.chapter-item .chapter-info .chapter-time[data-v-487a56a5]{font-size:12px;color:#9ca3af;display:flex;align-items:center;gap:4px}.empty-state[data-v-487a56a5]{text-align:center;color:#9ca3af;font-size:13px;padding:12px 0}@keyframes spin-487a56a5{to{transform:rotate(360deg)}}.attachment-block-container[data-v-6ebf6463]{margin:16px 0}.attachment-block-card-container[data-v-6ebf6463]{display:flex;position:relative;align-items:center;justify-content:center;width:100%;max-width:400px;height:65.14px;box-sizing:border-box;background-color:#fff;border-radius:8px;border:1px solid rgb(222,224,227);cursor:pointer}.attachment-block-card-container[data-v-6ebf6463]:hover{border-color:#c2d4ff;box-shadow:#c2d4ff 0 0 0 1px}.attachment-block-card-container .attachment-block-card-icon[data-v-6ebf6463]{width:48px;height:48px;margin:8px 12px 8px 8px;box-sizing:border-box}.attachment-block-card-container .attachment-block-card-icon .attachment-block-card-icon-svg[data-v-6ebf6463]{width:48px;height:48px}.attachment-block-card-container .attachment-block-card-info[data-v-6ebf6463]{flex:1;display:flex;flex-direction:column;justify-content:center}.attachment-block-card-container .attachment-block-card-info .attachment-block-card-info-name[data-v-6ebf6463]{-webkit-user-select:none;user-select:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;text-align:left;overflow:hidden;color:#1f2329;max-height:44px;max-width:260px;line-height:22px}.attachment-block-card-container .attachment-block-card-info .attachment-block-card-info-size[data-v-6ebf6463]{height:17px;white-space:nowrap;font-size:12px;color:#646a73;-webkit-user-select:none;user-select:none;line-height:1.8}.attachment-block-card-container .attachment-block-card-preview[data-v-6ebf6463]{padding-right:4px;margin:auto;height:48px;display:flex;align-items:center;box-sizing:border-box}.attachment-block-card-container .attachment-block-card-preview .attachment-block-card-preview-wrapper[data-v-6ebf6463]{text-decoration:none;text-overflow:ellipsis;white-space:nowrap;height:34px;width:34px;text-align:center;position:relative;overflow:unset;margin:0 16px;cursor:pointer;padding:4px;line-height:24px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.attachment-block-card-container .attachment-block-card-preview .attachment-block-card-preview-wrapper[data-v-6ebf6463]:hover{background-color:#1f232914;border-radius:6px}.attachment-block-card-container .attachment-block-card-preview .attachment-block-card-preview-wrapper .attachment-block-card-preview-btn[data-v-6ebf6463]{height:20px;width:20px}.attachment-block-card-container .attachment-block-card-menu[data-v-6ebf6463]{position:absolute;top:-46px;left:200px;z-index:86;transform:translate(-50%)}.attachment-block-preview-container[data-v-6ebf6463]{position:relative}.attachment-block-preview-container .attachment-block-preview-menu[data-v-6ebf6463]{position:absolute;top:-46px;left:410px;z-index:86;transform:translate(-50%)}.attachment-block-preview-container .video-block-preview-container[data-v-6ebf6463]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:16px}.attachment-block-preview-container .video-block-preview-container .video-block-container[data-v-6ebf6463]{position:relative;display:flex;flex-direction:column;gap:16px;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:16px 0;transition:all .3s ease;overflow:visible}.attachment-block-preview-container .video-block-preview-container .video-main-section[data-v-6ebf6463]{flex:1;width:100%;min-width:0;display:flex;flex-direction:column;gap:12px}.attachment-block-preview-container .video-block-preview-container .video-player-wrapper[data-v-6ebf6463]{width:100%;aspect-ratio:16/9;background-color:#000;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.attachment-block-preview-container .video-block-preview-container .video-player-wrapper .video-element[data-v-6ebf6463]{width:100%;height:100%;object-fit:contain}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper[data-v-6ebf6463]{width:100%;aspect-ratio:16/9;background-color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;border:1px dashed #e5e7eb}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .uploading-content[data-v-6ebf6463],.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .error-content[data-v-6ebf6463]{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:14px;color:#6b7280}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .error-content[data-v-6ebf6463]{color:#ef4444}.attachment-block-preview-container .video-block-preview-container .video-uploading-wrapper .spinner[data-v-6ebf6463]{width:24px;height:24px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin-6ebf6463 1s linear infinite}.attachment-block-preview-container .video-block-preview-container .video-toolbar[data-v-6ebf6463]{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:12px;border-radius:8px;border:1px solid #e5e7eb}.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info[data-v-6ebf6463]{display:flex;flex-direction:column}.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info .toolbar-title[data-v-6ebf6463]{font-weight:500;color:#111827;font-size:14px}.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info .toolbar-desc[data-v-6ebf6463]{font-size:12px;color:#6b7280}@media(max-width:380px){.attachment-block-preview-container .video-block-preview-container .video-toolbar .toolbar-info .toolbar-desc[data-v-6ebf6463]{display:none}}.attachment-block-preview-container .video-block-preview-container .video-toolbar .ai-toggle-btn[data-v-6ebf6463]{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;border:none;background-color:#2563eb;color:#fff;-webkit-tap-highlight-color:transparent}.attachment-block-preview-container .video-block-preview-container .video-toolbar .ai-toggle-btn[data-v-6ebf6463]:active{opacity:.9}.attachment-block-preview-container .video-block-preview-container .video-toolbar .ai-toggle-btn.active[data-v-6ebf6463]{background-color:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.attachment-block-preview-container .video-block-preview-container .video-sidebar-section[data-v-6ebf6463]{width:100%}@media(min-width:768px){.attachment-block-preview-container .video-block-preview-container .video-sidebar-section[data-v-6ebf6463]{position:absolute;top:0;left:100%;margin-left:16px;width:320px;height:auto;background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 12px #00000014;padding:0;z-index:1;animation:fadeInRight-6ebf6463 .3s ease-out}}@keyframes spin-6ebf6463{to{transform:rotate(360deg)}}@keyframes fadeInRight-6ebf6463{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.attachment-block-preview-container .notVideo-block-preview-container[data-v-6ebf6463]{max-width:820px;border-radius:8px;border:1px solid #dee0e3}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content[data-v-6ebf6463]{height:409px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-iframe[data-v-6ebf6463]{width:100%;height:100%;border-top-left-radius:8px;border-top-right-radius:8px}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-unable[data-v-6ebf6463]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-unable .attachment-block-preview-unable-img[data-v-6ebf6463]{width:120px;height:120px;display:block;margin-bottom:16px}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-content .attachment-block-preview-unable .attachment-block-preview-unable-text[data-v-6ebf6463]{font-size:14px;color:#646a73;margin-top:4px;line-height:1.8}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-footer[data-v-6ebf6463]{height:42px;box-sizing:border-box;padding:0 12px;display:flex;align-items:center;border-top:1px solid #dee0e3;background-color:#fff}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-footer .attachment-block-preview-icon-svg[data-v-6ebf6463]{width:18px;height:18px;margin-right:8px}.attachment-block-preview-container .notVideo-block-preview-container .attachment-block-preview-dark-bg[data-v-6ebf6463]{background-color:#f2f3f5}p[data-v-550653ec]:empty:before{content:" "}.callout-wrapper[data-v-3695cd3a]{position:relative;margin:16px 0;padding:16px;border-radius:6px;display:flex;flex-direction:row;border-width:1.5px;border-style:solid}.callout-wrapper .callout-icon[data-v-3695cd3a]{font-size:22px;width:26px;height:26px;display:flex;justify-content:center;align-items:center;cursor:default}.callout-wrapper .callout-icon[data-v-3695cd3a]:hover{background-color:#0000001a;border-radius:4px}.callout-wrapper .callout-content[data-v-3695cd3a]{padding-left:12px;display:flex;justify-content:flex-start;flex-direction:column;flex:1;min-width:0;overflow-x:auto}.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]{width:100%}.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>*:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:first-child>p:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:first-child>p:first-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>div:first-child>pre{margin-top:0}.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>*:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ul>li:last-child>p:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>ol>li:last-child>p:last-child,.callout-wrapper .callout-content .node-view-content[data-v-3695cd3a]>div:last-child>pre{margin-bottom:0}.code-block-wrapper[data-v-3b4ccf2f]{position:relative}.code-block-wrapper .copy-btn[data-v-3b4ccf2f]{position:absolute;top:8px;right:8px;cursor:pointer;border:none;background-color:transparent;padding:0;outline:none;height:20px;width:20px;display:flex;align-items:center;justify-content:center;color:#909090}pre[data-v-6fb1f0d1]{margin:0;padding:0 10px;box-shadow:none;background-color:transparent}.cell-ouput-container[data-v-6fb1f0d1]{margin:20px 0 20px 10px}.jp-error[data-v-6fb1f0d1]{line-height:14px;font-size:14px;overflow-x:auto;overflow-y:hidden}.jp-img[data-v-6fb1f0d1]{max-width:50%;height:auto}.monospace-text[data-v-6fb1f0d1]{font-family:monospace;overflow-y:hidden}.foldBlock-wrapper[data-v-c2512d4e]{position:relative;margin:16px 0;padding:16px;border-radius:6px;display:flex;flex-direction:row;border-width:1.5px;border-style:solid}.foldBlock-wrapper .collapse-icon[data-v-c2512d4e]{cursor:pointer;font-size:22px;position:absolute;top:20.5px;right:2.5px;padding:4px 12px;border-radius:0 6px 0 0;z-index:1;display:flex;align-items:center}.foldBlock-wrapper .foldBlock-icon[data-v-c2512d4e]{font-size:22px;width:26px;height:26px;display:flex;justify-content:center;align-items:center;cursor:default}.foldBlock-wrapper .foldBlock-icon[data-v-c2512d4e]:hover{background-color:#0000001a;border-radius:4px}.foldBlock-wrapper .foldBlock-inner[data-v-c2512d4e]{display:flex;flex-direction:column;flex:1;min-width:0}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]{padding-left:12px;padding-right:14px;padding-bottom:16px}.foldBlock-wrapper .foldBlock-inner .foldBlock-header p[data-v-c2512d4e]{font-size:20px;font-weight:600}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]{justify-content:flex-start;align-items:center}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]>*:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li[data-v-c2512d4e]:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li:first-child>p[data-v-c2512d4e]:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li[data-v-c2512d4e]:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li:first-child>p[data-v-c2512d4e]:first-child{margin-top:0}.foldBlock-wrapper .foldBlock-inner .foldBlock-header[data-v-c2512d4e]>*:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li[data-v-c2512d4e]:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ul>li:last-child>p[data-v-c2512d4e]:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li[data-v-c2512d4e]:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-header>ol>li:last-child>p[data-v-c2512d4e]:last-child{margin-bottom:0}.foldBlock-wrapper .foldBlock-inner.is-folded .foldBlock-header[data-v-c2512d4e]{padding-bottom:0}.foldBlock-wrapper .foldBlock-inner.is-folded .foldBlock-content[data-v-c2512d4e]{display:none}.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]{padding-left:12px;overflow-x:auto}.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>*:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:first-child>p:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:first-child>p:first-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>div:first-child>pre{margin-top:0}.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>*:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ul>li:last-child>p:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>ol>li:last-child>p:last-child,.foldBlock-wrapper .foldBlock-inner .foldBlock-content[data-v-c2512d4e]>div:last-child>pre{margin-bottom:0}.dipwap-grid[data-v-c3a47d6f]{display:flex;flex-direction:row;width:calc(100% - 8px);gap:12px;margin:16px 0}.dipwap-grid:hover .dipwap-column[data-v-c3a47d6f]{background-color:#646a730d}.dipwap-grid .dipwap-column[data-v-c3a47d6f]{position:relative;border-radius:8px;min-width:50px;padding:12px;background-color:transparent;transition:background-color .2s ease}.dipwap-grid .dipwap-column[data-v-c3a47d6f]>:nth-child(1){margin-top:0}.dipwap-grid .dipwap-column[data-v-c3a47d6f]>:nth-last-child(1){margin-bottom:0}@media screen and (max-width:768px){.dipwap-grid[data-v-c3a47d6f]{flex-direction:column!important;width:100%}.dipwap-column[data-v-c3a47d6f]{flex:none!important}}iframe.iframe-wrapper[data-v-3e85ed1c]{width:100%;margin:16px 0;aspect-ratio:16/9}.image-container[data-v-6f968d5a]{display:flex;flex-direction:column;margin-bottom:16px}.image-container .image-wrapper[data-v-6f968d5a]{position:relative;box-sizing:border-box;border:1px solid transparent;margin-bottom:8px;max-width:100%}.image-container .image-wrapper[data-v-6f968d5a]:before{content:"";position:absolute;inset:0;border:1px solid;border-color:inherit;pointer-events:none}.image-container .image-wrapper[data-v-6f968d5a]:hover{cursor:zoom-in}.image-container .image-wrapper[data-v-6f968d5a]:hover:before{border:2px solid #c2d4ff}.image-container .image-wrapper img[data-v-6f968d5a]{width:100%;height:100%;-webkit-touch-callout:none}.image-container .image-caption[data-v-6f968d5a]{all:unset;display:inline;text-align:center;font-size:16px;margin:0 auto;background-color:transparent;width:100%;transition:border-color .3s ease;color:#646a73}.modal-mask[data-v-6f968d5a]{position:fixed;z-index:100000;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:opacity .3s ease}.modal-mask .modal-close[data-v-6f968d5a]{position:absolute;top:2rem;right:2rem;width:3rem;height:3rem;line-height:2.8rem;text-align:center;color:#fff;font-size:2rem;font-weight:700;border-radius:50%;z-index:9999;background-color:#00000080;cursor:pointer;-webkit-user-select:none;user-select:none}.modal-mask .modal-body[data-v-6f968d5a]{display:block;transition:all .3s ease}.modal-mask .modal-footer[data-v-6f968d5a]{position:absolute;bottom:20px;left:calc(50vw - 80px);display:flex;justify-content:center;align-items:center;width:160px;height:40px;background-color:#00000080;cursor:default;-webkit-user-select:none;user-select:none}.modal-mask .modal-footer .zoom-in[data-v-6f968d5a],.modal-mask .modal-footer .zoom-out[data-v-6f968d5a]{width:39px;height:100%;line-height:37px;text-align:center;color:#fff;font-size:30px}.modal-mask .modal-footer .zoom-in[data-v-6f968d5a]{border-left:1px solid #fff}.modal-mask .modal-footer .zoom-out[data-v-6f968d5a]{border-right:1px solid #fff}.modal-mask .modal-footer .percentage[data-v-6f968d5a]{width:80px;height:100%;display:flex;justify-content:center;align-items:center;color:#fff}.modal-mask .modal-footer .prev-image[data-v-6f968d5a],.modal-mask .modal-footer .next-image[data-v-6f968d5a]{width:39px;height:100%;line-height:37px;text-align:center;color:#fff;font-size:30px;cursor:pointer;-webkit-user-select:none;user-select:none}.modal-mask .modal-footer .prev-image[data-v-6f968d5a]{border-right:1px solid #fff}.modal-mask .modal-footer .next-image[data-v-6f968d5a]{border-left:1px solid #fff}.modal-mask .modal-footer .disabled[data-v-6f968d5a]{color:#646464;cursor:not-allowed}.modal-enter-from[data-v-6f968d5a],.modal-leave-to[data-v-6f968d5a]{opacity:0}.modal-enter-from .modal-body[data-v-6f968d5a],.modal-leave-to .modal-body[data-v-6f968d5a]{-webkit-transform:scale(1.1);transform:scale(1.1)}.math-inline[data-v-5812f609]{min-width:1em;min-height:1em;font-size:.95em;font-family:Consolas,Ubuntu Mono,monospace}.math-inline .math-render[data-v-5812f609]{display:inline-block;font-size:.85em}.math-display[data-v-1d66d1b3]{min-width:.95em;min-height:.95em;font-size:.95em;font-family:Consolas,Ubuntu Mono,monospace}.math-display .math-render[data-v-1d66d1b3] .katex-display{margin:0}.mc-choices-header .choices-header-bar[data-v-1b935e83]{display:flex;align-items:center;padding:10px 15px;border-radius:5px;background-color:#e1e1e8}.mc-choices-header .choices-header-bar .header-icon[data-v-1b935e83]{height:24px;width:24px;margin-right:8px}.mc-choices-header .choices-header-bar .header-text[data-v-1b935e83]{font-size:18px;font-weight:700;font-family:Arial,sans-serif}.mc-choices-header .choice-list[data-v-1b935e83]{display:flex;flex-direction:column;background-color:#fff;padding:8px 0}.mc-choices-header .choice-list .choice-item[data-v-1b935e83]{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding:0 12px}.mc-choices-header .choice-list .choice-item input[type=radio][data-v-1b935e83]{cursor:pointer}.mc-choices-header .choice-list .choice-item .prefix[data-v-1b935e83]{font-weight:700;width:1.5em;margin-left:12px}.mc-question-header[data-v-d7042536]{display:flex;flex-direction:column;border-radius:12px}.mc-question-header .question-header[data-v-d7042536]{display:flex;align-items:center;padding:10px 15px;background-color:#e1e1e8;border-radius:12px}.mc-question-header .question-header .icon[data-v-d7042536]{height:24px;width:24px;margin-right:8px}.mc-question-header .question-header .header-text[data-v-d7042536]{font-size:18px;font-weight:700;font-family:Arial,sans-serif}.mc-question-header .question-content[data-v-d7042536]{padding:12px 16px;background-color:#fff}.mc-question-header .question-content[data-v-d7042536] p:first-child{margin-top:0}.mc-question-header .question-content[data-v-d7042536] p:last-child{margin-bottom:0}.mc-solution[data-v-cb592ef8]{margin:12px}.mc-solution .solution-content[data-v-cb592ef8]{border-radius:4px;padding:12px 16px;font-size:14px;color:#333}.mc-solution .solution-content[data-v-cb592ef8] p:first-child{margin-top:0}.mc-solution .solution-content[data-v-cb592ef8] p:last-child{margin-bottom:0}.mc-solution .solution-content.correct[data-v-cb592ef8]{background-color:#eef8ea;border:1.5px solid #83c17e}.mc-solution .solution-content.wrong[data-v-cb592ef8]{background-color:#fdecea;border:1.5px solid #f08b83}.multiple-choice[data-v-7715f66b]{border:2px solid rgb(128,124,124);border-radius:8px;margin:20px 0;background-color:#e1e1e8}.multiple-choice .submit-area[data-v-7715f66b]{padding:12px}.multiple-choice .submit-button[data-v-7715f66b]{padding:6px 12px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;font-weight:700;cursor:pointer}.multiple-choice .submit-button[data-v-7715f66b]:disabled{background-color:#929292;cursor:not-allowed}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datawhale/prosemirror-render",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "vite build && vue-tsc -p tsconfig.build.json"
|
|
12
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
13
|
+
"bump": "npm version patch --no-git-tag-version"
|
|
13
14
|
},
|
|
14
15
|
"keywords": [],
|
|
15
16
|
"author": "",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-DuVSDVpW.cjs"),f=require("./AttachmentMenu-vc18PNLc.cjs");async function N(t,a){return await t.post("/api/monitor",{data:a})}const b={},S={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-icon":"VisibleOutlined"};function T(t,a){return e.openBlock(),e.createElementBlock("svg",S,[...a[0]||(a[0]=[e.createElementVNode("path",{d:"M11.985 18.5c3.238 0 6.236-2.06 9.015-6.513C18.292 7.55 15.3 5.5 11.985 5.5 8.67 5.5 5.689 7.549 3 11.987c2.76 4.454 5.748 6.513 8.985 6.513ZM1.502 12.89a1.782 1.782 0 0 1 .023-1.838C4.428 6.017 7.915 3.5 11.984 3.5c4.086 0 7.594 2.538 10.523 7.614l.028.048c.296.519.294 1.16-.01 1.675-3.006 5.108-6.52 7.663-10.541 7.663-4.007 0-7.501-2.537-10.482-7.61ZM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"rgb(100, 106, 115)"},null,-1)])])}const D=v._export_sfc(b,[["render",T]]),$={},C={width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-icon":"PlayFilled"};function _(t,a){return e.openBlock(),e.createElementBlock("svg",C,[...a[0]||(a[0]=[e.createElementVNode("path",{d:"M21.073 13.698a2.018 2.018 0 0 0 0-3.396L7.116 1.325C5.771.459 4 1.425 4 3.023v17.954c0 1.599 1.771 2.564 3.116 1.698l13.957-8.977Z",fill:"rgb(100, 106, 115)"},null,-1)])])}const x=v._export_sfc($,[["render",_]]);async function P(t,a){return(await t.get("/admin/editor/v2/videoProgressDetail",{params:a})).data}const M={class:"ai-panel"},I={class:"panel-header"},A={key:0,class:"panel-loading"},z={key:1,class:"panel-error"},R={key:2,class:"panel-content"},F={key:0,class:"content-card summary-card"},U={class:"content-card chapters-card"},O={class:"card-header"},Z={class:"badge"},j={class:"chapter-list"},L=["onClick"],q={class:"chapter-index"},J={class:"chapter-info"},K={class:"chapter-title"},H={class:"chapter-time"},G={key:0,class:"empty-state"},Q=e.defineComponent({__name:"VideoDetail",props:{taskId:{},videoRef:{}},setup(t){const a=t,i=e.ref(!1),r=e.ref(""),c=e.ref(null),d=e.ref(!1),m=e.inject(v.axiosKey),u=async()=>{if(a.taskId&&m){i.value=!0;try{const o=await P(m,{taskId:a.taskId});c.value={summary:o.summary,chapters:JSON.parse(o.chapters)},i.value=!1}catch(o){r.value="加载失败",i.value=!1,console.error(o)}}},E=async o=>{a.videoRef&&(a.videoRef.currentTime=o.startTime,a.videoRef.play()),m&&await N(m,{log:JSON.stringify({name:"toggleVideoAiPanelSidebar",chapterTitle:o.title,tingwuTaskId:a.taskId,videoPageUrl:window.location.href})})},k=o=>{const n=Math.floor(o/60),s=Math.floor(o%60);return`${n}:${s.toString().padStart(2,"0")}`};return e.onMounted(async()=>{await u()}),(o,n)=>(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("div",I,[n[3]||(n[3]=e.createElementVNode("div",{class:"header-title"},[e.createElementVNode("span",{class:"icon"},"🤖"),e.createElementVNode("span",null,"智能分析结果")],-1)),e.createElementVNode("button",{class:"close-btn",onClick:n[0]||(n[0]=s=>o.$emit("close")),title:"关闭助手"},[...n[2]||(n[2]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])])]),i.value?(e.openBlock(),e.createElementBlock("div",A,[...n[4]||(n[4]=[e.createElementVNode("div",{class:"spinner"},null,-1),e.createElementVNode("p",null,"正在生成分析结果...",-1)])])):r.value?(e.openBlock(),e.createElementBlock("div",z,e.toDisplayString(r.value),1)):(e.openBlock(),e.createElementBlock("div",R,[c.value?.summary?(e.openBlock(),e.createElementBlock("div",F,[n[5]||(n[5]=e.createElementVNode("div",{class:"card-header"},[e.createElementVNode("span",{class:"card-title"},"全文摘要")],-1)),e.createElementVNode("div",{class:e.normalizeClass(["summary-text",{expanded:d.value}])},e.toDisplayString(c.value.summary),3),c.value.summary.length>100?(e.openBlock(),e.createElementBlock("div",{key:0,class:"expand-btn",onClick:n[1]||(n[1]=s=>d.value=!d.value)},e.toDisplayString(d.value?"收起":"展开全文"),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",U,[e.createElementVNode("div",O,[n[6]||(n[6]=e.createElementVNode("span",{class:"card-title"},"章节速览",-1)),e.createElementVNode("span",Z,e.toDisplayString(c.value?.chapters?.length||0),1)]),e.createElementVNode("div",j,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value?.chapters||[],(s,h)=>(e.openBlock(),e.createElementBlock("div",{key:h,class:"chapter-item",onClick:p=>E(s)},[e.createElementVNode("div",q,e.toDisplayString(h+1),1),e.createElementVNode("div",J,[e.createElementVNode("div",K,e.toDisplayString(s.title),1),e.createElementVNode("div",H,[n[7]||(n[7]=e.createElementVNode("i",{class:"icon-time"},"🕒",-1)),e.createTextVNode(" "+e.toDisplayString(k(s.startTime))+" - "+e.toDisplayString(k(s.endTime)),1)])])],8,L))),128)),!c.value?.chapters||c.value.chapters.length===0?(e.openBlock(),e.createElementBlock("div",G,"暂无章节信息")):e.createCommentVNode("",!0)])])]))]))}}),W=v._export_sfc(Q,[["__scopeId","data-v-a1e65f27"]]),X={key:0,class:"attachment-block-card-container"},Y={class:"attachment-block-card-icon"},ee={class:"attachment-block-card-info"},te={class:"attachment-block-card-info-name"},oe={key:0,class:"attachment-block-card-info-size"},ne={key:1,class:"attachment-block-card-info-size"},ae={key:2,class:"attachment-block-card-info-size",style:{color:"rgb(247, 78, 0)"}},le={class:"attachment-block-card-preview"},se={key:1,class:"attachment-block-preview-container"},ce={key:0,class:"video-block-preview-container"},re={class:"video-main-section"},ie={key:0,class:"video-player-wrapper"},de=["src"],me={key:1,class:"video-uploading-wrapper"},ve={key:0,class:"uploading-content"},ue={key:1,class:"error-content"},ke={key:2,class:"video-toolbar"},pe={key:0,class:"video-sidebar-section"},fe={key:1,class:"notVideo-block-preview-container"},he={key:1,class:"attachment-block-preview-unable"},ye=["src"],Ee={class:"attachment-block-preview-unable-text"},ge={style:{"font-weight":"bold"}},we={class:"attachment-block-preview-unable-text"},Ve={class:"attachment-block-preview-info"},Ne=e.defineComponent({__name:"AttachmentBlock",props:{node:{}},setup(t){const a=e.inject(v.axiosKey),i=e.useTemplateRef("videoPreviewRef"),r=e.computed(()=>t.node.attrs.uploadProgress===void 0||t.node.attrs.uploadProgress<1),{icon:c,calculatedFileSize:d,cannotPreviewImgDataUrl:m,canPreview:u,genPreviewSrc:E}=f.useAttachment(t.node.attrs.fileType,t.node.attrs.fileSize),k=V=>["mp4","avi","mkv","mov"].includes(V),o=e.ref(!1),n=async()=>{o.value=!o.value,a&&o.value&&t.node.attrs.tingwuTaskId&&await N(a,{log:JSON.stringify({name:"toggleVideoAiPanel",tingwuTaskId:t.node.attrs.tingwuTaskId,videoPageUrl:window.location.href})})},s=e.ref(!1),h=()=>{s.value=!0,alert("全屏预览功能将在后续版本中开放")},p=e.ref(!1),y=e.ref(null),B=()=>{y.value=setTimeout(()=>{p.value=!1},200)},w=()=>{y.value&&(clearTimeout(y.value),y.value=null)};return(V,l)=>(e.openBlock(),e.createElementBlock("div",{onMouseenter:l[2]||(l[2]=g=>p.value=!0),onMouseleave:B,class:"attachment-block-container"},[t.node.attrs.dispType==="card"?(e.openBlock(),e.createElementBlock("div",X,[e.createElementVNode("div",Y,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(c)),{class:"attachment-block-card-icon-svg"}))]),e.createElementVNode("div",ee,[e.createElementVNode("div",te,e.toDisplayString(t.node.attrs.fileName)+"."+e.toDisplayString(t.node.attrs.fileType),1),!r.value&&!t.node.attrs.uploadError?(e.openBlock(),e.createElementBlock("div",oe,e.toDisplayString(e.unref(d)),1)):r.value&&!t.node.attrs.uploadError?(e.openBlock(),e.createElementBlock("div",ne," 附件正在上传中,请等待... ")):(e.openBlock(),e.createElementBlock("div",ae," 附件出错,请等待管理员处理 "))]),e.createElementVNode("div",le,[e.createElementVNode("div",{class:"attachment-block-card-preview-wrapper",onClick:h},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k(t.node.attrs.fileType)?x:D),{class:"attachment-block-card-preview-btn"}))])]),e.withDirectives(e.createElementVNode("div",{class:"attachment-block-card-menu",onMouseenter:w},[e.createVNode(f.AttachmentMenu,{node:t.node,"show-full-screen-dialog":s.value,"onUpdate:showFullScreenDialog":l[0]||(l[0]=g=>s.value=g)},null,8,["node","show-full-screen-dialog"])],544),[[e.vShow,p.value&&!r.value&&!t.node.attrs.uploadError]])])):t.node.attrs.dispType==="preview"?(e.openBlock(),e.createElementBlock("div",se,[k(t.node.attrs.fileType)?(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",{class:e.normalizeClass(["video-block-container",{"has-sidebar":o.value}])},[e.createElementVNode("div",re,[!r.value&&!t.node.attrs.uploadError?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("video",{ref_key:"videoPreviewRef",ref:i,src:e.unref(f.resolvedFileUrl)(t.node.attrs.src),controls:"",class:"video-element"},null,8,de)])):(e.openBlock(),e.createElementBlock("div",me,[t.node.attrs.uploadError?(e.openBlock(),e.createElementBlock("div",ue,[...l[4]||(l[4]=[e.createElementVNode("span",null,"⚠️ 视频出错,请等待管理员处理",-1)])])):(e.openBlock(),e.createElementBlock("div",ve,[...l[3]||(l[3]=[e.createElementVNode("div",{class:"spinner"},null,-1),e.createElementVNode("span",null,"视频正在上传中,请等待...",-1)])]))])),!r.value&&t.node.attrs.tingwuTaskId?(e.openBlock(),e.createElementBlock("div",ke,[l[6]||(l[6]=e.createElementVNode("div",{class:"toolbar-info"},[e.createElementVNode("span",{class:"toolbar-title"},"分析"),e.createElementVNode("span",{class:"toolbar-desc"},"摘要与章节")],-1)),e.createElementVNode("button",{class:e.normalizeClass(["ai-toggle-btn",{active:o.value}]),onClick:n},[l[5]||(l[5]=e.createElementVNode("i",{class:"icon-ai"},"✨",-1)),e.createTextVNode(" "+e.toDisplayString(o.value?"收起助手":"AI 助手"),1)],2)])):e.createCommentVNode("",!0)]),o.value?(e.openBlock(),e.createElementBlock("div",pe,[e.createVNode(W,{taskId:t.node.attrs.tingwuTaskId,videoRef:i.value,onClose:l[1]||(l[1]=g=>o.value=!1)},null,8,["taskId","videoRef"])])):e.createCommentVNode("",!0)],2)])):(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",{class:e.normalizeClass(["attachment-block-preview-content",{"attachment-block-preview-dark-bg":!e.unref(u)}])},[e.unref(u)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.node.attrs.fileType==="pdf"?"embed":"iframe"),{key:0,class:"attachment-block-preview-iframe",src:e.unref(f.resolvedFileUrl)(e.unref(E)(t.node.attrs.src))},null,8,["src"])):(e.openBlock(),e.createElementBlock("div",he,[e.createElementVNode("img",{class:"attachment-block-preview-unable-img",src:e.unref(m),alt:"该文件类型无法预览"},null,8,ye),e.createElementVNode("div",Ee,[e.createElementVNode("strong",ge,"."+e.toDisplayString(t.node.attrs.fileType),1),l[7]||(l[7]=e.createTextVNode("文件类型无法预览 ",-1))]),e.createElementVNode("div",we,e.toDisplayString(t.node.attrs.fileName)+"."+e.toDisplayString(t.node.attrs.fileType)+" · "+e.toDisplayString(e.unref(d)),1)]))],2),e.createElementVNode("div",{class:e.normalizeClass(["attachment-block-preview-footer",{"attachment-block-preview-dark-bg":!e.unref(u)}])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(c)),{class:"attachment-block-preview-icon-svg"})),e.createElementVNode("span",Ve,e.toDisplayString(t.node.attrs.fileName)+"."+e.toDisplayString(t.node.attrs.fileType),1)],2)])),e.withDirectives(e.createElementVNode("div",{class:"attachment-block-preview-menu",onMouseenter:w},[e.createVNode(f.AttachmentMenu,{node:t.node},null,8,["node"])],544),[[e.vShow,p.value&&!r.value&&!t.node.attrs.uploadError]])])):e.createCommentVNode("",!0)],32))}}),Be=v._export_sfc(Ne,[["__scopeId","data-v-6ebf6463"]]);exports.default=Be;
|