@datawhale/prosemirror-render 0.0.1
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-ChMNTUOo.mjs +351 -0
- package/dist/AttachmentBlock-DsmJP3Kw.js +1 -0
- package/dist/AttachmentInline-Dc3dp0g-.js +1 -0
- package/dist/AttachmentInline-tbC8BJBy.mjs +52 -0
- package/dist/AttachmentMenu-B5x8P9_n.mjs +541 -0
- package/dist/AttachmentMenu-ExoCOe4B.js +1 -0
- package/dist/Blockquote-BamWUQND.mjs +15 -0
- package/dist/Blockquote-CQSBFnsu.js +1 -0
- package/dist/BulletList-BQTUD69X.mjs +15 -0
- package/dist/BulletList-CFjF3U-l.js +1 -0
- package/dist/Callout-Cu6HI-xq.mjs +28 -0
- package/dist/Callout-DPdOqTb4.js +1 -0
- package/dist/CellOutput-C33VK0df.mjs +981 -0
- package/dist/CellOutput-DiKZlIFa.js +6 -0
- package/dist/CodeBlock-Cjuxuq7B.mjs +8359 -0
- package/dist/CodeBlock-DWniNUQB.js +148 -0
- package/dist/Doc-6s4VMDsx.mjs +15 -0
- package/dist/Doc-D2yvlSII.js +1 -0
- package/dist/FoldBlock-DRdlU-DX.mjs +75 -0
- package/dist/FoldBlock-ZPMf0QsR.js +1 -0
- package/dist/Grid-GfmJxM93.mjs +31 -0
- package/dist/Grid-QToZdaRT.js +1 -0
- package/dist/HardBreak-B2tFO31P.mjs +13 -0
- package/dist/HardBreak-Dbf5Zg5o.js +1 -0
- package/dist/Heading-BElRvhGn.mjs +21 -0
- package/dist/Heading-BUnffIAz.js +1 -0
- package/dist/HorizontalRule-BRG45oT0.mjs +13 -0
- package/dist/HorizontalRule-CE09LZGf.js +1 -0
- package/dist/IFrame-CaAOVLGN.mjs +17 -0
- package/dist/IFrame-DcCpSoDC.js +1 -0
- package/dist/Image-C8v5dCij.mjs +105 -0
- package/dist/Image-cHL85CXs.js +1 -0
- package/dist/ListItem-BrjxeGxz.js +1 -0
- package/dist/ListItem-X0T7a_z8.mjs +15 -0
- package/dist/MathDisplay-CESKZV46.js +1 -0
- package/dist/MathDisplay-CoGsFzXW.mjs +30 -0
- package/dist/MathInline-0xTZoIIq.mjs +30 -0
- package/dist/MathInline-C_1SJUVz.js +1 -0
- package/dist/McChoices-Aj394G5E.mjs +52 -0
- package/dist/McChoices-B4euzY7M.js +1 -0
- package/dist/McQuestion-Dq0aM5tC.js +1 -0
- package/dist/McQuestion-DvD-J47M.mjs +38 -0
- package/dist/McSolution-C5sTXz3y.mjs +24 -0
- package/dist/McSolution-N79CllH9.js +1 -0
- package/dist/MultipleChoice-DTCF3Q8m.js +1 -0
- package/dist/MultipleChoice-Dv-k1zUU.mjs +47 -0
- package/dist/OrderedList-B8v1gchv.mjs +17 -0
- package/dist/OrderedList-DMl3tvwP.js +1 -0
- package/dist/Paragraph-CzRSCJNr.js +1 -0
- package/dist/Paragraph-DGcZy8t_.mjs +16 -0
- package/dist/SlotNode-6OpoUcOa.mjs +10 -0
- package/dist/SlotNode-DMG0R6Vf.js +1 -0
- package/dist/TableCell-BY9gdldc.js +1 -0
- package/dist/TableCell-Bp52L368.mjs +20 -0
- package/dist/TableContainer-C5KXY6f7.js +1 -0
- package/dist/TableContainer-C9PhNGlz.mjs +29 -0
- package/dist/TableHeader-BTuqvorM.js +1 -0
- package/dist/TableHeader-C7KKz3e1.mjs +17 -0
- package/dist/TableRow-D4F6AKFt.js +1 -0
- package/dist/TableRow-OzpVq1qW.mjs +15 -0
- package/dist/Text-Br_pcGz4.mjs +78 -0
- package/dist/Text-DlUfrsNI.js +1 -0
- package/dist/emoji-Bk6FG72F.js +1 -0
- package/dist/emoji-CmOToDEU.mjs +3711 -0
- package/dist/index-D2CtpNvR.js +1 -0
- package/dist/index-DVmWCrQE.mjs +159 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +4 -0
- package/dist/katex-CS0ZfoxP.js +261 -0
- package/dist/katex-r9TeExgs.mjs +11690 -0
- package/dist/prosemirror-render.css +1 -0
- package/dist/types/apis/monitor.d.ts +9 -0
- package/dist/types/apis/tingwu.d.ts +14 -0
- package/dist/types/apis/types.d.ts +23 -0
- package/dist/types/components/TreeRecursive.vue.d.ts +7 -0
- package/dist/types/components/TreeRender.vue.d.ts +9 -0
- package/dist/types/components/collections/async/AsyncError.vue.d.ts +3 -0
- package/dist/types/components/collections/async/AsyncLoading.vue.d.ts +3 -0
- package/dist/types/components/collections/attachment/AttachmentBlock.vue.d.ts +7 -0
- package/dist/types/components/collections/attachment/AttachmentInline.vue.d.ts +7 -0
- package/dist/types/components/collections/attachment/AttachmentMenu.vue.d.ts +16 -0
- package/dist/types/components/collections/attachment/VideoDetail.vue.d.ts +7 -0
- package/dist/types/components/collections/attachment/index.d.ts +1 -0
- package/dist/types/components/collections/basic/Blockquote.vue.d.ts +17 -0
- package/dist/types/components/collections/basic/BulletList.vue.d.ts +17 -0
- package/dist/types/components/collections/basic/HardBreak.vue.d.ts +7 -0
- package/dist/types/components/collections/basic/Heading.vue.d.ts +17 -0
- package/dist/types/components/collections/basic/HorizontalRule.vue.d.ts +7 -0
- package/dist/types/components/collections/basic/ListItem.vue.d.ts +17 -0
- package/dist/types/components/collections/basic/OrderedList.vue.d.ts +17 -0
- package/dist/types/components/collections/basic/Paragraph.vue.d.ts +17 -0
- package/dist/types/components/collections/basic/Text.vue.d.ts +7 -0
- package/dist/types/components/collections/basic/index.d.ts +1 -0
- package/dist/types/components/collections/callout/Callout.vue.d.ts +7 -0
- package/dist/types/components/collections/callout/index.d.ts +1 -0
- package/dist/types/components/collections/code/CellOutput.vue.d.ts +7 -0
- package/dist/types/components/collections/code/CodeBlock.vue.d.ts +7 -0
- package/dist/types/components/collections/code/index.d.ts +1 -0
- package/dist/types/components/collections/fold/FoldBlock.vue.d.ts +7 -0
- package/dist/types/components/collections/fold/index.d.ts +1 -0
- package/dist/types/components/collections/grid/Grid.vue.d.ts +7 -0
- package/dist/types/components/collections/grid/index.d.ts +1 -0
- package/dist/types/components/collections/iframe/IFrame.vue.d.ts +7 -0
- package/dist/types/components/collections/iframe/index.d.ts +1 -0
- package/dist/types/components/collections/img/Image.vue.d.ts +7 -0
- package/dist/types/components/collections/img/index.d.ts +1 -0
- package/dist/types/components/collections/index.d.ts +1 -0
- package/dist/types/components/collections/math/MathDisplay.vue.d.ts +7 -0
- package/dist/types/components/collections/math/MathInline.vue.d.ts +7 -0
- package/dist/types/components/collections/math/index.d.ts +1 -0
- package/dist/types/components/collections/multipleChoice/McChoices.vue.d.ts +16 -0
- package/dist/types/components/collections/multipleChoice/McQuestion.vue.d.ts +7 -0
- package/dist/types/components/collections/multipleChoice/McSolution.vue.d.ts +8 -0
- package/dist/types/components/collections/multipleChoice/MultipleChoice.vue.d.ts +7 -0
- package/dist/types/components/collections/multipleChoice/index.d.ts +1 -0
- package/dist/types/components/collections/table/TableCell.vue.d.ts +17 -0
- package/dist/types/components/collections/table/TableContainer.vue.d.ts +17 -0
- package/dist/types/components/collections/table/TableHeader.vue.d.ts +17 -0
- package/dist/types/components/collections/table/TableRow.vue.d.ts +17 -0
- package/dist/types/components/collections/table/index.d.ts +1 -0
- package/dist/types/components/collections/utils.d.ts +2 -0
- package/dist/types/components/collections/wrapper/Doc.vue.d.ts +17 -0
- package/dist/types/components/collections/wrapper/SlotNode.vue.d.ts +13 -0
- package/dist/types/components/collections/wrapper/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/icons/Attachment/CardView.vue.d.ts +9 -0
- package/dist/types/icons/Attachment/Code/Bat.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/C.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Cpp.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Css.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Go.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Html.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Java.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Js.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Json.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Jsx.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Md.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Php.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Python.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Rb.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Sh.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Sql.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Swift.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Ts.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Tsx.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Code/Vue.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Excel.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Eye.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/FullScreen.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/InlineView.vue.d.ts +9 -0
- package/dist/types/icons/Attachment/Pdf.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Ppt.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/PreviewView.vue.d.ts +9 -0
- package/dist/types/icons/Attachment/UnknownFile.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/VideoIcon.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/VideoPlay.vue.d.ts +3 -0
- package/dist/types/icons/Attachment/Word.vue.d.ts +3 -0
- package/dist/types/icons/Code/Confirm.vue.d.ts +3 -0
- package/dist/types/icons/Code/Paste.vue.d.ts +3 -0
- package/dist/types/icons/Common/Choice.vue.d.ts +3 -0
- package/dist/types/icons/Common/Close.vue.d.ts +3 -0
- package/dist/types/icons/Common/Comment.vue.d.ts +3 -0
- package/dist/types/icons/Common/CopyAnchorLink.vue.d.ts +3 -0
- package/dist/types/icons/Common/Delete.vue.d.ts +3 -0
- package/dist/types/icons/Common/Download.vue.d.ts +3 -0
- package/dist/types/icons/Common/FoldClose.vue.d.ts +3 -0
- package/dist/types/icons/Common/FoldOpen.vue.d.ts +3 -0
- package/dist/types/icons/Common/Plate.vue.d.ts +3 -0
- package/dist/types/icons/Common/Question.vue.d.ts +3 -0
- package/dist/types/icons/Common/ShareTextLink.vue.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/types.d.ts +269 -0
- package/dist/types/utils/common.d.ts +1 -0
- package/dist/types/utils/emoji.d.ts +10 -0
- package/dist/types/utils/globalStatus.d.ts +16 -0
- package/dist/types/utils/shiki.d.ts +3 -0
- package/dist/types/utils/useAttachment.d.ts +8 -0
- package/package.json +29 -0
- package/src/apis/monitor.ts +8 -0
- package/src/apis/tingwu.ts +22 -0
- package/src/apis/types.ts +45 -0
- package/src/components/TreeRecursive.vue +47 -0
- package/src/components/TreeRender.vue +404 -0
- package/src/components/collections/async/AsyncError.vue +17 -0
- package/src/components/collections/async/AsyncLoading.vue +1 -0
- package/src/components/collections/attachment/AttachmentBlock.vue +561 -0
- package/src/components/collections/attachment/AttachmentInline.vue +90 -0
- package/src/components/collections/attachment/AttachmentMenu.vue +359 -0
- package/src/components/collections/attachment/VideoDetail.vue +375 -0
- package/src/components/collections/attachment/index.ts +6 -0
- package/src/components/collections/basic/Blockquote.vue +15 -0
- package/src/components/collections/basic/BulletList.vue +15 -0
- package/src/components/collections/basic/HardBreak.vue +11 -0
- package/src/components/collections/basic/Heading.vue +15 -0
- package/src/components/collections/basic/HorizontalRule.vue +11 -0
- package/src/components/collections/basic/ListItem.vue +15 -0
- package/src/components/collections/basic/OrderedList.vue +15 -0
- package/src/components/collections/basic/Paragraph.vue +19 -0
- package/src/components/collections/basic/Text.vue +73 -0
- package/src/components/collections/basic/index.ts +13 -0
- package/src/components/collections/callout/Callout.vue +77 -0
- package/src/components/collections/callout/index.ts +5 -0
- package/src/components/collections/code/CellOutput.vue +72 -0
- package/src/components/collections/code/CodeBlock.vue +83 -0
- package/src/components/collections/code/index.ts +6 -0
- package/src/components/collections/fold/FoldBlock.vue +130 -0
- package/src/components/collections/fold/index.ts +5 -0
- package/src/components/collections/grid/Grid.vue +70 -0
- package/src/components/collections/grid/index.ts +5 -0
- package/src/components/collections/iframe/IFrame.vue +19 -0
- package/src/components/collections/iframe/index.ts +5 -0
- package/src/components/collections/img/Image.vue +318 -0
- package/src/components/collections/img/index.ts +5 -0
- package/src/components/collections/index.ts +29 -0
- package/src/components/collections/math/MathDisplay.vue +42 -0
- package/src/components/collections/math/MathInline.vue +42 -0
- package/src/components/collections/math/index.ts +6 -0
- package/src/components/collections/multipleChoice/McChoices.vue +72 -0
- package/src/components/collections/multipleChoice/McQuestion.vue +61 -0
- package/src/components/collections/multipleChoice/McSolution.vue +47 -0
- package/src/components/collections/multipleChoice/MultipleChoice.vue +62 -0
- package/src/components/collections/multipleChoice/index.ts +8 -0
- package/src/components/collections/table/TableCell.vue +20 -0
- package/src/components/collections/table/TableContainer.vue +32 -0
- package/src/components/collections/table/TableHeader.vue +15 -0
- package/src/components/collections/table/TableRow.vue +15 -0
- package/src/components/collections/table/index.ts +8 -0
- package/src/components/collections/utils.ts +17 -0
- package/src/components/collections/wrapper/Doc.vue +15 -0
- package/src/components/collections/wrapper/SlotNode.vue +5 -0
- package/src/components/collections/wrapper/index.ts +6 -0
- package/src/components/index.ts +1 -0
- package/src/icons/Attachment/CardView.vue +21 -0
- package/src/icons/Attachment/Code/Bat.vue +26 -0
- package/src/icons/Attachment/Code/C.vue +26 -0
- package/src/icons/Attachment/Code/Cpp.vue +26 -0
- package/src/icons/Attachment/Code/Css.vue +34 -0
- package/src/icons/Attachment/Code/Go.vue +26 -0
- package/src/icons/Attachment/Code/Html.vue +34 -0
- package/src/icons/Attachment/Code/Java.vue +42 -0
- package/src/icons/Attachment/Code/Js.vue +26 -0
- package/src/icons/Attachment/Code/Json.vue +26 -0
- package/src/icons/Attachment/Code/Jsx.vue +30 -0
- package/src/icons/Attachment/Code/Md.vue +26 -0
- package/src/icons/Attachment/Code/Php.vue +26 -0
- package/src/icons/Attachment/Code/Python.vue +30 -0
- package/src/icons/Attachment/Code/Rb.vue +26 -0
- package/src/icons/Attachment/Code/Sh.vue +30 -0
- package/src/icons/Attachment/Code/Sql.vue +30 -0
- package/src/icons/Attachment/Code/Swift.vue +26 -0
- package/src/icons/Attachment/Code/Ts.vue +26 -0
- package/src/icons/Attachment/Code/Tsx.vue +30 -0
- package/src/icons/Attachment/Code/Vue.vue +24 -0
- package/src/icons/Attachment/Excel.vue +26 -0
- package/src/icons/Attachment/Eye.vue +15 -0
- package/src/icons/Attachment/FullScreen.vue +15 -0
- package/src/icons/Attachment/InlineView.vue +21 -0
- package/src/icons/Attachment/Pdf.vue +25 -0
- package/src/icons/Attachment/Ppt.vue +26 -0
- package/src/icons/Attachment/PreviewView.vue +21 -0
- package/src/icons/Attachment/UnknownFile.vue +26 -0
- package/src/icons/Attachment/VideoIcon.vue +25 -0
- package/src/icons/Attachment/VideoPlay.vue +15 -0
- package/src/icons/Attachment/Word.vue +26 -0
- package/src/icons/Code/Confirm.vue +38 -0
- package/src/icons/Code/Paste.vue +8 -0
- package/src/icons/Common/Choice.vue +28 -0
- package/src/icons/Common/Close.vue +15 -0
- package/src/icons/Common/Comment.vue +16 -0
- package/src/icons/Common/CopyAnchorLink.vue +15 -0
- package/src/icons/Common/Delete.vue +15 -0
- package/src/icons/Common/Download.vue +15 -0
- package/src/icons/Common/FoldClose.vue +9 -0
- package/src/icons/Common/FoldOpen.vue +9 -0
- package/src/icons/Common/Plate.vue +23 -0
- package/src/icons/Common/Question.vue +8 -0
- package/src/icons/Common/ShareTextLink.vue +15 -0
- package/src/index.ts +3 -0
- package/src/types.ts +236 -0
- package/src/utils/common.ts +6 -0
- package/src/utils/emoji.ts +3715 -0
- package/src/utils/globalStatus.ts +19 -0
- package/src/utils/shiki.ts +25 -0
- package/src/utils/useAttachment.ts +215 -0
- package/tsconfig.build.json +10 -0
- package/tsconfig.json +23 -0
- package/vite.config.ts +24 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("vue"),se=require("./index-D2CtpNvR.js");function le(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var R,$;function ue(){if($)return R;$=1;const i=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],r=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class n{static escapeForHtml(e){return new n().escapeForHtml(e)}static linkify(e){return new n().linkify(e)}static ansiToHtml(e,t){return new n().ansiToHtml(e,t)}static ansiToJson(e,t){return new n().ansiToJson(e,t)}static ansiToText(e){return new n().ansiToText(e)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let a=0;a<2;++a)for(let u=0;u<8;++u)this.PALETTE_COLORS.push(i[a][u].color);let e=[0,95,135,175,215,255],t=(a,u,f)=>e[a]+", "+e[u]+", "+e[f];for(let a=0;a<6;++a)for(let u=0;u<6;++u)for(let f=0;f<6;++f)this.PALETTE_COLORS.push(t(a,u,f));let s=8;for(let a=0;a<24;++a,s+=10)this.PALETTE_COLORS.push(s+", "+s+", "+s)}escapeForHtml(e){return e.replace(/[&<>\"]/gm,t=>t=="&"?"&":t=='"'?""":t=="<"?"<":t==">"?">":"")}linkify(e){return e.replace(r,t=>`<a href="${t}">${t}</a>`)}ansiToHtml(e,t){return this.process(e,t,!0)}ansiToJson(e,t){return t=t||{},t.json=!0,t.clearLine=!1,this.process(e,t,!0)}ansiToText(e){return this.process(e,{},!1)}process(e,t,s){let a=this,u=e.split(/\033\[/),f=u.shift();t==null&&(t={}),t.clearLine=/\r/.test(e);let h=u.map(p=>this.processChunk(p,t,s));if(t&&t.json){let p=a.processChunkJson("");return p.content=f,p.clearLine=t.clearLine,h.unshift(p),t.remove_empty&&(h=h.filter(l=>!l.isEmpty())),h}else h.unshift(f);return h.join("")}processChunkJson(e,t,s){t=typeof t>"u"?{}:t;let a=t.use_classes=typeof t.use_classes<"u"&&t.use_classes,u=t.key=a?"class":"color",f={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:t.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!f.content},h=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!h)return f;f.content=h[4];let p=h[2].split(";");if(h[1]!==""||h[3]!=="m"||!s)return f;let l=this;for(;p.length>0;){let d=p.shift(),c=parseInt(d);if(isNaN(c)||c===0)l.fg=l.bg=null,l.decorations=[];else if(c===1)l.decorations.push("bold");else if(c===2)l.decorations.push("dim");else if(c===3)l.decorations.push("italic");else if(c===4)l.decorations.push("underline");else if(c===5)l.decorations.push("blink");else if(c===7)l.decorations.push("reverse");else if(c===8)l.decorations.push("hidden");else if(c===9)l.decorations.push("strikethrough");else if(c===21)l.removeDecoration("bold");else if(c===22)l.removeDecoration("bold"),l.removeDecoration("dim");else if(c===23)l.removeDecoration("italic");else if(c===24)l.removeDecoration("underline");else if(c===25)l.removeDecoration("blink");else if(c===27)l.removeDecoration("reverse");else if(c===28)l.removeDecoration("hidden");else if(c===29)l.removeDecoration("strikethrough");else if(c===39)l.fg=null;else if(c===49)l.bg=null;else if(c>=30&&c<38)l.fg=i[0][c%10][u];else if(c>=90&&c<98)l.fg=i[1][c%10][u];else if(c>=40&&c<48)l.bg=i[0][c%10][u];else if(c>=100&&c<108)l.bg=i[1][c%10][u];else if(c===38||c===48){let y=c===38;if(p.length>=1){let O=p.shift();if(O==="5"&&p.length>=1){let k=parseInt(p.shift());if(k>=0&&k<=255)if(!a)this.PALETTE_COLORS||l.setupPalette(),y?l.fg=this.PALETTE_COLORS[k]:l.bg=this.PALETTE_COLORS[k];else{let _=k>=16?"ansi-palette-"+k:i[k>7?1:0][k%8].class;y?l.fg=_:l.bg=_}}else if(O==="2"&&p.length>=3){let k=parseInt(p.shift()),_=parseInt(p.shift()),w=parseInt(p.shift());if(k>=0&&k<=255&&_>=0&&_<=255&&w>=0&&w<=255){let g=k+", "+_+", "+w;a?y?(l.fg="ansi-truecolor",l.fg_truecolor=g):(l.bg="ansi-truecolor",l.bg_truecolor=g):y?l.fg=g:l.bg=g}}}}}return l.fg===null&&l.bg===null&&l.decorations.length===0||(f.fg=l.fg,f.bg=l.bg,f.fg_truecolor=l.fg_truecolor,f.bg_truecolor=l.bg_truecolor,f.decorations=l.decorations,f.decoration=l.decorations.slice(-1).pop()||null,f.was_processed=!0),f}processChunk(e,t,s){t=t||{};let a=this.processChunkJson(e,t,s),u=t.use_classes;if(a.decorations=a.decorations.filter(c=>{if(c==="reverse"){a.fg||(a.fg=i[0][7][u?"class":"color"]),a.bg||(a.bg=i[0][0][u?"class":"color"]);let y=a.fg;a.fg=a.bg,a.bg=y;let O=a.fg_truecolor;return a.fg_truecolor=a.bg_truecolor,a.bg_truecolor=O,a.isInverted=!0,!1}return!0}),t.json)return a;if(a.isEmpty())return"";if(!a.was_processed)return a.content;let f=[],h=[],p=[],l={},d=c=>{let y=[],O;for(O in c)c.hasOwnProperty(O)&&y.push("data-"+O+'="'+this.escapeForHtml(c[O])+'"');return y.length>0?" "+y.join(" "):""};return a.isInverted&&(l["ansi-is-inverted"]="true"),a.fg&&(u?(f.push(a.fg+"-fg"),a.fg_truecolor!==null&&(l["ansi-truecolor-fg"]=a.fg_truecolor,a.fg_truecolor=null)):f.push("color:rgb("+a.fg+")")),a.bg&&(u?(f.push(a.bg+"-bg"),a.bg_truecolor!==null&&(l["ansi-truecolor-bg"]=a.bg_truecolor,a.bg_truecolor=null)):f.push("background-color:rgb("+a.bg+")")),a.decorations.forEach(c=>{if(u){h.push("ansi-"+c);return}c==="bold"?h.push("font-weight:bold"):c==="dim"?h.push("opacity:0.5"):c==="italic"?h.push("font-style:italic"):c==="hidden"?h.push("visibility:hidden"):c==="strikethrough"?p.push("line-through"):p.push(c)}),p.length&&h.push("text-decoration:"+p.join(" ")),u?'<span class="'+f.concat(h).join(" ")+'"'+d(l)+">"+a.content+"</span>":'<span style="'+f.concat(h).join(";")+'"'+d(l)+">"+a.content+"</span>"}removeDecoration(e){const t=this.decorations.indexOf(e);t>=0&&this.decorations.splice(t,1)}}return R=n,R}var ce=ue();const fe=le(ce);var L={exports:{}},q;function pe(){if(q)return L.exports;q=1;function i(e){if(!e)return"";if(!/\r/.test(e))return e;for(e=e.replace(/\r+\n/gm,`
|
|
2
|
+
`);/\r./.test(e);)e=e.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm,function(t,s,a){return a+s.slice(a.length)});return e}function r(e){for(var t=0,s=0;s<e.length;s++)e[t].length<=e[s].length&&(t=s);return t}function n(e){if(!/\r/.test(e))return e;for(var t=e.split("\r"),s=[];t.length>0;){var a=r(t);s.push(t[a]),t=t.slice(a+1)}return s.join("\r")}function o(e){if(!e)return"";if(!/\r/.test(e))return e;if(!/\n/.test(e))return n(e);e=e.replace(/\r+\n/gm,`
|
|
3
|
+
`);var t=e.lastIndexOf(`
|
|
4
|
+
`);return i(e.slice(0,t))+`
|
|
5
|
+
`+n(e.slice(t+1))}return L.exports=i,L.exports.escapeCarriageReturn=i,L.exports.escapeCarriageReturnSafe=o,L.exports}var ve=pe(),v=(i,r)=>()=>(r||i((r={exports:{}}).exports,r),r.exports),C=v((i,r)=>{r.exports=function(n){try{return!!n()}catch{return!0}}}),j=v((i,r)=>{var n=C();r.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),S=v((i,r)=>{var n=function(o){return o&&o.Math==Math&&o};r.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof global=="object"&&global)||(function(){return this})()||i||Function("return this")()}),ge=v((i,r)=>{r.exports=!1}),he=v((i,r)=>{var n=S(),o=Object.defineProperty;r.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}}),A=v((i,r)=>{var n=S(),o=he(),e="__core-js_shared__",t=n[e]||o(e,{});r.exports=t}),N=v((i,r)=>{var n=ge(),o=A();(r.exports=function(e,t){return o[e]||(o[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.32.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),z=v((i,r)=>{var n=C();r.exports=!n(function(){var o=(function(){}).bind();return typeof o!="function"||o.hasOwnProperty("prototype")})}),E=v((i,r)=>{var n=z(),o=Function.prototype,e=o.call,t=n&&o.bind.bind(e,e);r.exports=n?t:function(s){return function(){return e.apply(s,arguments)}}}),J=v((i,r)=>{r.exports=function(n){return n==null}}),W=v((i,r)=>{var n=J(),o=TypeError;r.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}}),V=v((i,r)=>{var n=W(),o=Object;r.exports=function(e){return o(n(e))}}),P=v((i,r)=>{var n=E(),o=V(),e=n({}.hasOwnProperty);r.exports=Object.hasOwn||function(t,s){return e(o(t),s)}}),U=v((i,r)=>{var n=E(),o=0,e=Math.random(),t=n(1 .toString);r.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+t(++o+e,36)}}),de=v((i,r)=>{r.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}),be=v((i,r)=>{var n=S(),o=de(),e=n.process,t=n.Deno,s=e&&e.versions||t&&t.version,a=s&&s.v8,u,f;a&&(u=a.split("."),f=u[0]>0&&u[0]<4?1:+(u[0]+u[1])),!f&&o&&(u=o.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=o.match(/Chrome\/(\d+)/),u&&(f=+u[1]))),r.exports=f}),X=v((i,r)=>{var n=be(),o=C(),e=S(),t=e.String;r.exports=!!Object.getOwnPropertySymbols&&!o(function(){var s=Symbol();return!t(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&n&&n<41})}),G=v((i,r)=>{var n=X();r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Y=v((i,r)=>{var n=S(),o=N(),e=P(),t=U(),s=X(),a=G(),u=n.Symbol,f=o("wks"),h=a?u.for||u:u&&u.withoutSetter||t;r.exports=function(p){return e(f,p)||(f[p]=s&&e(u,p)?u[p]:h("Symbol."+p)),f[p]}}),Z=v((i,r)=>{var n=typeof document=="object"&&document.all,o=typeof n>"u"&&n!==void 0;r.exports={all:n,IS_HTMLDDA:o}}),T=v((i,r)=>{var n=Z(),o=n.all;r.exports=n.IS_HTMLDDA?function(e){return typeof e=="function"||e===o}:function(e){return typeof e=="function"}}),D=v((i,r)=>{var n=T(),o=Z(),e=o.all;r.exports=o.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:n(t)||t===e}:function(t){return typeof t=="object"?t!==null:n(t)}}),F=v((i,r)=>{var n=D(),o=String,e=TypeError;r.exports=function(t){if(n(t))return t;throw e(o(t)+" is not an object")}}),K=v((i,r)=>{var n=j(),o=C();r.exports=n&&o(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Q=v((i,r)=>{var n=S(),o=D(),e=n.document,t=o(e)&&o(e.createElement);r.exports=function(s){return t?e.createElement(s):{}}}),me=v((i,r)=>{var n=j(),o=C(),e=Q();r.exports=!n&&!o(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!=7})}),ee=v((i,r)=>{var n=z(),o=Function.prototype.call;r.exports=n?o.bind(o):function(){return o.apply(o,arguments)}}),te=v((i,r)=>{var n=S(),o=T(),e=function(t){return o(t)?t:void 0};r.exports=function(t,s){return arguments.length<2?e(n[t]):n[t]&&n[t][s]}}),ye=v((i,r)=>{var n=E();r.exports=n({}.isPrototypeOf)}),re=v((i,r)=>{var n=te(),o=T(),e=ye(),t=G(),s=Object;r.exports=t?function(a){return typeof a=="symbol"}:function(a){var u=n("Symbol");return o(u)&&e(u.prototype,s(a))}}),xe=v((i,r)=>{var n=String;r.exports=function(o){try{return n(o)}catch{return"Object"}}}),_e=v((i,r)=>{var n=T(),o=xe(),e=TypeError;r.exports=function(t){if(n(t))return t;throw e(o(t)+" is not a function")}}),ke=v((i,r)=>{var n=_e(),o=J();r.exports=function(e,t){var s=e[t];return o(s)?void 0:n(s)}}),we=v((i,r)=>{var n=ee(),o=T(),e=D(),t=TypeError;r.exports=function(s,a){var u,f;if(a==="string"&&o(u=s.toString)&&!e(f=n(u,s))||o(u=s.valueOf)&&!e(f=n(u,s))||a!=="string"&&o(u=s.toString)&&!e(f=n(u,s)))return f;throw t("Can't convert object to primitive value")}}),Oe=v((i,r)=>{var n=ee(),o=D(),e=re(),t=ke(),s=we(),a=Y(),u=TypeError,f=a("toPrimitive");r.exports=function(h,p){if(!o(h)||e(h))return h;var l=t(h,f),d;if(l){if(p===void 0&&(p="default"),d=n(l,h,p),!o(d)||e(d))return d;throw u("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(h,p)}}),Se=v((i,r)=>{var n=Oe(),o=re();r.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}}),I=v(i=>{var r=j(),n=me(),o=K(),e=F(),t=Se(),s=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";i.f=r?o?function(l,d,c){if(e(l),d=t(d),e(c),typeof l=="function"&&d==="prototype"&&"value"in c&&p in c&&!c[p]){var y=u(l,d);y&&y[p]&&(l[d]=c.value,c={configurable:h in c?c[h]:y[h],enumerable:f in c?c[f]:y[f],writable:!1})}return a(l,d,c)}:a:function(l,d,c){if(e(l),d=t(d),e(c),n)try{return a(l,d,c)}catch{}if("get"in c||"set"in c)throw s("Accessors not supported");return"value"in c&&(l[d]=c.value),l}}),je=v((i,r)=>{var n=E(),o=n({}.toString),e=n("".slice);r.exports=function(t){return e(o(t),8,-1)}}),Ee=v((i,r)=>{var n=E(),o=C(),e=je(),t=Object,s=n("".split);r.exports=o(function(){return!t("z").propertyIsEnumerable(0)})?function(a){return e(a)=="String"?s(a,""):t(a)}:t}),M=v((i,r)=>{var n=Ee(),o=W();r.exports=function(e){return n(o(e))}}),Te=v((i,r)=>{var n=Math.ceil,o=Math.floor;r.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}}),ne=v((i,r)=>{var n=Te();r.exports=function(o){var e=+o;return e!==e||e===0?0:n(e)}}),Ce=v((i,r)=>{var n=ne(),o=Math.max,e=Math.min;r.exports=function(t,s){var a=n(t);return a<0?o(a+s,0):e(a,s)}}),Le=v((i,r)=>{var n=ne(),o=Math.min;r.exports=function(e){return e>0?o(n(e),9007199254740991):0}}),oe=v((i,r)=>{var n=Le();r.exports=function(o){return n(o.length)}}),Pe=v((i,r)=>{var n=M(),o=Ce(),e=oe(),t=function(s){return function(a,u,f){var h=n(a),p=e(h),l=o(f,p),d;if(s&&u!=u){for(;p>l;)if(d=h[l++],d!=d)return!0}else for(;p>l;l++)if((s||l in h)&&h[l]===u)return s||l||0;return!s&&-1}};r.exports={includes:t(!0),indexOf:t(!1)}}),B=v((i,r)=>{r.exports={}}),De=v((i,r)=>{var n=E(),o=P(),e=M(),t=Pe().indexOf,s=B(),a=n([].push);r.exports=function(u,f){var h=e(u),p=0,l=[],d;for(d in h)!o(s,d)&&o(h,d)&&a(l,d);for(;f.length>p;)o(h,d=f[p++])&&(~t(l,d)||a(l,d));return l}}),ie=v((i,r)=>{r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Ie=v((i,r)=>{var n=De(),o=ie();r.exports=Object.keys||function(e){return n(e,o)}}),Re=v(i=>{var r=j(),n=K(),o=I(),e=F(),t=M(),s=Ie();i.f=r&&!n?Object.defineProperties:function(a,u){e(a);for(var f=t(u),h=s(u),p=h.length,l=0,d;p>l;)o.f(a,d=h[l++],f[d]);return a}}),Ae=v((i,r)=>{var n=te();r.exports=n("document","documentElement")}),ae=v((i,r)=>{var n=N(),o=U(),e=n("keys");r.exports=function(t){return e[t]||(e[t]=o(t))}}),Fe=v((i,r)=>{var n=F(),o=Re(),e=ie(),t=B(),s=Ae(),a=Q(),u=ae(),f=">",h="<",p="prototype",l="script",d=u("IE_PROTO"),c=function(){},y=function(g){return h+l+f+g+h+"/"+l+f},O=function(g){g.write(y("")),g.close();var b=g.parentWindow.Object;return g=null,b},k=function(){var g=a("iframe"),b="java"+l+":",x;return g.style.display="none",s.appendChild(g),g.src=String(b),x=g.contentWindow.document,x.open(),x.write(y("document.F=Object")),x.close(),x.F},_,w=function(){try{_=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&_?O(_):k():O(_);for(var g=e.length;g--;)delete w[p][e[g]];return w()};t[d]=!0,r.exports=Object.create||function(g,b){var x;return g!==null?(c[p]=n(g),x=new c,c[p]=null,x[d]=g):x=w(),b===void 0?x:o.f(x,b)}}),Me=v((i,r)=>{var n=Y(),o=Fe(),e=I().f,t=n("unscopables"),s=Array.prototype;s[t]==null&&e(s,t,{configurable:!0,value:o(null)}),r.exports=function(a){s[t][a]=!0}}),Be=v((i,r)=>{var n=j(),o=P(),e=Function.prototype,t=n&&Object.getOwnPropertyDescriptor,s=o(e,"name"),a=s&&(function(){}).name==="something",u=s&&(!n||n&&t(e,"name").configurable);r.exports={EXISTS:s,PROPER:a,CONFIGURABLE:u}}),He=v((i,r)=>{var n=E(),o=T(),e=A(),t=n(Function.toString);o(e.inspectSource)||(e.inspectSource=function(s){return t(s)}),r.exports=e.inspectSource}),$e=v((i,r)=>{var n=S(),o=T(),e=n.WeakMap;r.exports=o(e)&&/native code/.test(String(e))}),qe=v((i,r)=>{r.exports=function(n,o){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:o}}}),Ne=v((i,r)=>{var n=j(),o=I(),e=qe();r.exports=n?function(t,s,a){return o.f(t,s,e(1,a))}:function(t,s,a){return t[s]=a,t}}),ze=v((i,r)=>{var n=$e(),o=S(),e=D(),t=Ne(),s=P(),a=A(),u=ae(),f=B(),h="Object already initialized",p=o.TypeError,l=o.WeakMap,d,c,y,O=function(g){return y(g)?c(g):d(g,{})},k=function(g){return function(b){var x;if(!e(b)||(x=c(b)).type!==g)throw p("Incompatible receiver, "+g+" required");return x}};n||a.state?(_=a.state||(a.state=new l),_.get=_.get,_.has=_.has,_.set=_.set,d=function(g,b){if(_.has(g))throw p(h);return b.facade=g,_.set(g,b),b},c=function(g){return _.get(g)||{}},y=function(g){return _.has(g)}):(w=u("state"),f[w]=!0,d=function(g,b){if(s(g,w))throw p(h);return b.facade=g,t(g,w,b),b},c=function(g){return s(g,w)?g[w]:{}},y=function(g){return s(g,w)});var _,w;r.exports={set:d,get:c,has:y,enforce:O,getterFor:k}}),Je=v((i,r)=>{var n=E(),o=C(),e=T(),t=P(),s=j(),a=Be().CONFIGURABLE,u=He(),f=ze(),h=f.enforce,p=f.get,l=String,d=Object.defineProperty,c=n("".slice),y=n("".replace),O=n([].join),k=s&&!o(function(){return d(function(){},"length",{value:8}).length!==8}),_=String(String).split("String"),w=r.exports=function(g,b,x){c(l(b),0,7)==="Symbol("&&(b="["+y(l(b),/^Symbol\(([^)]*)\)/,"$1")+"]"),x&&x.getter&&(b="get "+b),x&&x.setter&&(b="set "+b),(!t(g,"name")||a&&g.name!==b)&&(s?d(g,"name",{value:b,configurable:!0}):g.name=b),k&&x&&t(x,"arity")&&g.length!==x.arity&&d(g,"length",{value:x.arity});try{x&&t(x,"constructor")&&x.constructor?s&&d(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch{}var H=h(g);return t(H,"source")||(H.source=O(_,typeof b=="string"?b:"")),g};Function.prototype.toString=w(function(){return e(this)&&p(this).source||u(this)},"toString")}),We=v((i,r)=>{var n=Je(),o=I();r.exports=function(e,t,s){return s.get&&n(s.get,t,{getter:!0}),s.set&&n(s.set,t,{setter:!0}),o.f(e,t,s)}}),Ve=j(),Ue=Me(),Xe=V(),Ge=oe(),Ye=We();Ve&&(Ye(Array.prototype,"lastIndex",{configurable:!0,get:function(){var i=Xe(this),r=Ge(i);return r==0?0:r-1}}),Ue("lastIndex"));function Ze(i){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return i=typeof i=="string"?i:Ke(i),i=ve.escapeCarriageReturn(nt(i)),fe.ansiToJson(i,{json:!0,remove_empty:!0,use_classes:r})}function Ke(i){let r="";return i&&Array.isArray(i)?r=i[0].children:r=i.children,r}function Qe(i){let r="";return i.bg&&(r+=`${i.bg}-bg `),i.fg&&(r+=`${i.fg}-fg `),i.decoration&&(r+=`ansi-${i.decoration} `),r===""?null:(r=r.substring(0,r.length-1),r)}function et(i){let r={};switch(i.bg&&(r.backgroundColor=`rgb(${i.bg})`),i.fg&&(r.color=`rgb(${i.fg})`),i.decoration){case"bold":r.fontWeight="bold";break;case"dim":r.opacity="0.5";break;case"italic":r.fontStyle="italic";break;case"hidden":r.visibility="hidden";break;case"strikethrough":r.textDecoration="line-through";break;case"underline":r.textDecoration="underline";break;case"blink":r.textDecoration="blink";break}return r}function tt(i,r,n,o){let e=r?null:et(n),t=r?Qe(n):null;if(!i)return m.h("span",{style:e,key:o,class:t},n.content);let s=[],a=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,u=0,f;for(;(f=a.exec(n.content))!==null;){let[,h,p]=f,l=f.index+h.length;l>u&&s.push(n.content.substring(u,l));let d=p.startsWith("www.")?`http://${p}`:p;s.push(m.h("a",{key:u,href:d,target:"_blank"},`${p}`)),u=a.lastIndex}return u<n.content.length&&s.push(n.content.substring(u)),m.h("span",{style:e,key:o,class:t},s)}var rt=m.defineComponent({name:"Ansi",props:{linkify:{type:Boolean,required:!1,default:void 0},useClasses:{type:Boolean,required:!1,default:void 0}},setup(i,r){let{attrs:n,slots:o}=r;return()=>{var e,t,s,a;return m.h("code",{class:n?.class||""},Ze((e=o?.default())!=null?e:"",(t=i.useClasses)!=null?t:!1).map(tt.bind(null,(s=i.linkify)!=null?s:!1,(a=i.useClasses)!=null?a:!1)))}}});function nt(i){let r=i;do i=r,r=i.replace(/[^\n]\x08/gm,"");while(r.length<i.length);return i}var ot=rt;const it={key:0,class:"cell-ouput-container"},at={key:0,class:"jp-error monospace-text"},st={key:1,class:"monospace-text"},lt=["src"],ut=["innerHTML"],ct={key:4,class:"monospace-text"},ft=m.defineComponent({__name:"CellOutput",props:{node:{}},setup(i){const r=m.computed(()=>i.node.attrs.outputType),n=m.computed(()=>i.node.content?i.node.content[0].text:void 0);function o(e,t=`
|
|
6
|
+
`){return e?typeof e=="string"?e:e.join?e.join(t):e:""}return(e,t)=>r.value!="empty"?(m.openBlock(),m.createElementBlock("div",it,[r.value==="error"?(m.openBlock(),m.createElementBlock("pre",at,[m.createVNode(m.unref(ot),null,{default:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(o(n.value)),1)]),_:1})])):r.value==="stream"?(m.openBlock(),m.createElementBlock("pre",st,m.toDisplayString(n.value),1)):r.value==="image"?(m.openBlock(),m.createElementBlock("img",{key:2,src:n.value?.startsWith("http")?n.value:"data:image/png;base64,"+n.value,class:"jp-img"},null,8,lt)):r.value==="html"?(m.openBlock(),m.createElementBlock("div",{key:3,innerHTML:n.value},null,8,ut)):r.value==="text"?(m.openBlock(),m.createElementBlock("pre",ct,m.toDisplayString(n.value),1)):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)}}),pt=se._export_sfc(ft,[["__scopeId","data-v-6fb1f0d1"]]);exports.default=pt;
|