@creatorsn/powereditor3 0.2.4 → 0.2.5

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.
@@ -57141,12 +57141,13 @@ const Lp = /* @__PURE__ */ on(_me, [["render", xme]]), kme = {
57141
57141
  },
57142
57142
  computed: {
57143
57143
  displayHeight() {
57144
- var n;
57145
- if (this.imgStatus === "error")
57144
+ var n, e;
57145
+ if (this.imgStatus === "init" || this.imgStatus === "error") {
57146
+ if (this.statusInfo.tmpHeight <= 0) {
57147
+ const t = (this.node.attrs.naturalWidth || 0) / (this.node.attrs.naturalHeight || 1e-6);
57148
+ return (((e = (n = this.$refs.mediaContainer) == null ? void 0 : n.$el) == null ? void 0 : e.clientWidth) || 0) / t + "px";
57149
+ }
57146
57150
  return this.statusInfo.tmpHeight + "px";
57147
- if (this.imgStatus === "init") {
57148
- const e = (this.node.attrs.naturalWidth || 0) / (this.node.attrs.naturalHeight || 1e-6);
57149
- return (((n = this.$el) == null ? void 0 : n.clientWidth) || 0) / e + "px";
57150
57151
  }
57151
57152
  return "";
57152
57153
  }
@@ -57238,6 +57239,7 @@ function Eme(n, e, t, r, i, o) {
57238
57239
  foreground: i.thisForeground,
57239
57240
  node: t.node,
57240
57241
  getPos: t.getPos,
57242
+ ref: "mediaContainer",
57241
57243
  "onUpdate:caption": e[3] || (e[3] = (b) => t.updateAttributes({ caption: b })),
57242
57244
  onContainerDblclick: e[4] || (e[4] = (b) => o.preview("editable")),
57243
57245
  onContainerClick: e[5] || (e[5] = (b) => o.preview("readonly"))
@@ -200,7 +200,7 @@ ${t}</tr>`}},table(n,e){return{prefix:`
200
200
  </table>
201
201
  `}},mentionItem(n,e){return`\`@${n.attrs.value}\``},embedblock(n,e){return`
202
202
  <video src="${n.attrs.src}" width="800px" height="600px" controls="controls"></video>
203
- `},text(n,e){let t=n.text,r=n.marks;Array.isArray(r)||(r=[]);for(let i of r)this[i.type]?t=this[i.type](t,i):console.warn(`Unknown mark type: ${i.type}`);return t},bold(n){return`**${n}**`},italic(n){return`*${n}*`},strike(n){return`~~${n}~~`},subscript(n){return`~${n}~`},superscript(n){return`^${n}^`},link(n,e){return`[${n}](${e.attrs.href})`},highlight(n){return`==${n}==`},code(n){return`\`${n}\``}};class hM{constructor(e={},t={}){this.flags={inline:!1,inlineWrapper:!1,heading:!1,bulletList:!1,orderedList:!1,blockquote:!1,powerTaskItem:!1,powerTaskList:!1,tableHeader:!1,tableCell:!1,tableRow:!1,table:!1},this.flags=Object.assign(this.flags,t),this.DecNodeFuncs=dM;for(let r in e)this.DecNodeFuncs.hasOwnProperty(r)&&console.warn(`Decoder already has a function named ${r}, the function will be overwritten.`),this.DecNodeFuncs[r]=e[r]}decode(e){e=JSON.parse(JSON.stringify(e));let t="";Array.isArray(e.content)||(e.content=[]);for(let r of e.content)t+=this.renderNode(r);return t}renderNode(e){e.parent?e.flags=Object.assign({},e.parent.flags):e.flags=Object.assign({},this.flags);let t=e.type;if(t==="text")return this.DecNodeFuncs.text(e);e.flags.hasOwnProperty(t)&&(e.flags[t]!==!1?e.flags[t]+=1:e.flags[t]=1),t==="paragraph"&&(e.flags.inlineWrapper=!0,e.flags.inline=!0);let r="",i=e.content;Array.isArray(i)||(i=[]);for(let s of i)s.parent=e,s.childIdx=i.indexOf(s),r+=this.renderNode(s);if(!this.DecNodeFuncs.hasOwnProperty(t))return console.warn(`Unknown node type: ${t}`),r;let o=this.DecNodeFuncs[t](e,e.flags);return typeof o=="string"?o+r:o.prefix+r+o.suffix}}let fM={Bold:{en:"Bold",cn:"粗体"},Italic:{en:"Italic",cn:"斜体"},Strikethrough:{en:"Strikethrough",cn:"删除线"},Underline:{en:"Underline",cn:"下划线"},"Block Quote":{en:"Block Quote",cn:"引用"},"Horizontal Rule":{en:"Horizontal Rule",cn:"水平线"},Header:{en:"Header",cn:"标题"},Task:{en:"Task",cn:"任务清单"},ClearFormatting:{en:"Clear Formatting",cn:"清除格式"},BulletedList:{en:"Bulleted List",cn:"项目符号"},NumberedList:{en:"Numbered List",cn:"编号"},DetailsList:{en:"Details List",cn:"详细列表"},AlignLeft:{en:"Align Left",cn:"左对齐"},AlignCenter:{en:"Align Center",cn:"居中"},AlignRight:{en:"Align Right",cn:"右对齐"},AlignJustify:{en:"Align Justify",cn:"两端对齐"},IncreaseIndent:{en:"Increase Indent",cn:"增加缩进"},DecreaseIndent:{en:"Decrease Indent",cn:"减少缩进"},Color:{en:"Color",cn:"颜色"},Draw:{en:"Draw",cn:"绘图"},Emoji:{en:"Emoji",cn:"表情"},Table:{en:"Table",cn:"表格"},Code:{en:"Code",cn:"代码"},"Code Block":{en:"Code Block",cn:"代码块"},Equation:{en:"Equation",cn:"公式"},Image:{en:"Image",cn:"图片"},Link:{en:"Link",cn:"链接"},Embed:{en:"Embed",cn:"嵌入"},Undo:{en:"Undo",cn:"撤销"},Redo:{en:"Redo",cn:"重做"},Save:{en:"Save",cn:"保存"},Cancel:{en:"Cancel",cn:"取消"},TextField:{en:"Text Field",cn:"文本框"},"Write a caption...":{en:"Write a caption...",cn:"输入标题..."},removeColor:{en:"Remove Color",cn:"清除颜色"},removeHighlight:{en:"Remove Highlight",cn:"清除高亮"},Row:{en:"Row",cn:"行"},Column:{en:"Column",cn:"列"},"Delete Column":{en:"Delete Column",cn:"删除列"},"Delete Row":{en:"Delete Row",cn:"删除行"},"Add Row Before":{en:"Add Row Before",cn:"在上方插入行"},"Add Row After":{en:"Add Row After",cn:"在下方插入行"},"Add Column Before":{en:"Add Column Before",cn:"在左侧插入列"},"Add Column After":{en:"Add Column After",cn:"在右侧插入列"},"Merge Cells":{en:"Merge Cells",cn:"合并单元格"},"Split Cell":{en:"Split Cell",cn:"拆分单元格"},Headers:{en:"Headers",cn:"标题"},Heading:{en:"Heading",cn:"标题"},"Text Color":{en:"Text Color",cn:"文本颜色"},Foreground:{en:"Foreground",cn:"前景色"},"Highlight Background":{en:"Highlight Background",cn:"高亮色"},purple:{en:"purple",cn:"紫色"},red:{en:"red",cn:"红色"},orange:{en:"orange",cn:"橙色"},yellow:{en:"yellow",cn:"黄色"},blue:{en:"blue",cn:"蓝色"},teal:{en:"teal",cn:"青色"},green:{en:"green",cn:"绿色"},Random:{en:"Random",cn:"随机"},"People and Fantasy":{en:"People and Fantasy",cn:"人物与范例"},"Animals & Nature":{en:"Animals & Nature",cn:"动物与自然"},"Food & Drink":{en:"Food & Drink",cn:"食物与饮料"},"Activity and Sports":{en:"Activity and Sports",cn:"活动与体育"},"Travel & Places":{en:"Travel & Places",cn:"旅行与地点"},Objects:{en:"Objects",cn:"物件"},Symbols:{en:"Symbols",cn:"符号"},Flags:{en:"Flags",cn:"旗帜"},"Fill the Form":{en:"Fill the Form",cn:"填写表单"},Caption:{en:"Caption",cn:"标题"},"Insert Embed Url...":{en:"Insert Embed Url...",cn:"插入嵌入链接..."},Insert:{en:"Insert",cn:"插入"},"Insert Embed":{en:"Insert Embed",cn:"插入嵌入"},"Insert Image":{en:"Insert Image",cn:"插入图片"},Method:{en:"Method",cn:"方法"},"Choose Local Image as Base64 (multiple).":{en:"Choose Local Image as Base64 (multiple).",cn:"选择本地图片为Base64 (支持多个)"},"Insert Image Url.":{en:"Insert Image Url.",cn:"插入图片链接"},"Insert Link Url...":{en:"Insert Link Url...",cn:"插入链接..."},"Insert Link":{en:"Insert Link",cn:"插入链接"},Newline:{en:"Newline",cn:"换行"},"Format Painter":{en:"Format Painter",cn:"格式刷"},Done:{en:"Done",cn:"完成"},gray:{en:"Gray",cn:"灰色"},pink:{en:"Pink",cn:"粉色"},rose:{en:"Rose",cn:"玫瑰色"},fresh_blue:{en:"Fresh Blue",cn:"鲜艳蓝"},ice_blue:{en:"Ice Blue",cn:"冰蓝色"},dark_blue:{en:"Dark Blue",cn:"深蓝色"},fresh_green:{en:"Fresh Green",cn:"鲜艳绿"},light_green:{en:"Light Green",cn:"浅绿色"},light_yellow:{en:"Light Yellow",cn:"浅黄色"},light_red:{en:"Light Red",cn:"浅红色"},light_purple:{en:"Light Purple",cn:"浅紫色"},light_orange:{en:"Light Orange",cn:"浅橙色"}};const In=(n,e="en")=>{let t=fM[n];return t?t[e]:n},pM={emits:["container-dblclick","container-click","update:width","update:alignCenter","update:caption"],props:{width:{default:100},editor:{default:()=>({})},caption:{default:""},alignCenter:{default:!0},foreground:{default:""},node:{default:()=>({})},getPos:{default:()=>{}},theme:{default:"light"}},data(){return{thisCaption:this.caption?this.caption.toString():"",thisAlignCenter:this.alignCenter,elWidthStart:0,elWidthEnd:0,active:!1,moveable:!1,direction:1,disX:0,currentWidth:this.normalizeWidthValue(this.width),outsideEvent:n=>{let e=n.target,t=!1;for(;e&&e.tagName&&e.tagName.toLowerCase()!="body";){if(e==this.$el){t=!0;break}e=e.parentNode}t||(this.show.captionBox=!1)},show:{captionBox:!1}}},watch:{width(n){this.currentWidth=this.normalizeWidthValue(n)},currentWidth(n){this.$emit("update:width",n)},alignCenter(n){this.thisAlignCenter=n},thisAlignCenter(n){this.$emit("update:alignCenter",n)},caption(n){this.thisCaption=n?n.toString():""},thisCaption(n){this.$emit("update:caption",n)}},mounted(){this.Init(),this.outSideClickInit()},methods:{Init(){let n=e=>(e.clientX-this.disX)*this.direction+this.elWidthStart*1;window.addEventListener("mousemove",e=>{this.moveable&&(this.elWidthEnd=n(e))}),window.addEventListener("touchmove",e=>{e=e.targetTouches[0],this.moveable&&(this.elWidthEnd=n(e))}),window.addEventListener("mouseup",e=>(this.active=!1,this.moveable&&this.stop(),e)),window.addEventListener("touchup",e=>(this.active=!1,this.moveable&&this.stop(),e))},forward(n,e=1){this.active=!0,this.moveable=!0,this.disX=n.clientX,this.direction=e,this.elWidthStart=this.$el.clientWidth,this.elWidthEnd=this.elWidthStart},stop(){this.active=!1,this.moveable=!1,this.elWidthEnd<50&&(this.elWidthEnd=50),this.currentWidth=`${this.elWidthEnd}px`},outSideClickInit(){window.addEventListener("click",this.outsideEvent)},normalizeWidthValue(n){const e=n==null?void 0:n.toString().trim();return e?e.includes("%")||e.includes("px")||e.includes("vw")||e.includes("vh")||e.includes("rem")||e.includes("em")||e.includes("auto")||e.includes("calc(")?e:`${e}%`:"100%"},getTitle(n){return In(n,this.editor.storage.defaultStorage.language)},showCaptionBox(){this.editor.isEditable&&(this.show.captionBox=!0,this.$nextTick(()=>{this.$refs.caption.focus()}))},newline(){this.editor.isEditable&&(this.editor.commands.focus(),this.editor.commands.insertContentAt(this.getPos()+this.node.nodeSize-1,"<br>"))}},beforeUnmount(){window.removeEventListener("click",this.outsideEvent)}},mM={class:"power-editor-media-control-btn-block"},gM={class:"power-editor-media-control-btn-block bottom"},bM={class:"power-editor-media-mask-block"};function _M(n,e,t,r,i,o){const s=v.resolveComponent("fv-button"),a=v.resolveComponent("fv-text-box");return v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["power-editor-media-container",[{dark:t.theme==="dark"},{"active-effects":i.active}]]),style:v.normalizeStyle({width:i.moveable?`${i.elWidthEnd}px`:o.normalizeWidthValue(i.currentWidth)})},[v.withDirectives(v.createElementVNode("div",{class:"power-editor-media-control-resize-block",onMousedown:e[0]||(e[0]=l=>o.forward(l,-1)),onMouseup:e[1]||(e[1]=(...l)=>o.stop&&o.stop(...l)),onTouchstart:e[2]||(e[2]=l=>o.forward(l.targetTouches[0],-1)),onTouchend:e[3]||(e[3]=(...l)=>o.stop&&o.stop(...l))},e[19]||(e[19]=[v.createElementVNode("i",null,null,-1)]),544),[[v.vShow,t.alignCenter&&(t.editor.isEditable||t.editor.storage.defaultStorage.showControlOnReadonly)]]),v.createElementVNode("div",{class:"power-editor-media-slot-container",onDblclick:e[4]||(e[4]=l=>n.$emit("container-dblclick",l)),onClick:e[5]||(e[5]=l=>n.$emit("container-click",l))},[v.renderSlot(n.$slots,"default",{},()=>[e[20]||(e[20]=v.createTextVNode(" Media Container "))])],32),v.withDirectives(v.createElementVNode("div",{class:"power-editor-media-control-resize-block sec",onMousedown:e[6]||(e[6]=(...l)=>o.forward&&o.forward(...l)),onMouseup:e[7]||(e[7]=(...l)=>o.stop&&o.stop(...l)),onTouchstart:e[8]||(e[8]=l=>o.forward(l.targetTouches[0])),onTouchend:e[9]||(e[9]=(...l)=>o.stop&&o.stop(...l))},e[21]||(e[21]=[v.createElementVNode("i",null,null,-1)]),544),[[v.vShow,t.editor.isEditable||t.editor.storage.defaultStorage.showControlOnReadonly]]),v.withDirectives(v.createElementVNode("div",{draggable:"true","data-drag-handle":"",class:"power-editor-media-drag-btn",onMousedown:e[10]||(e[10]=l=>i.active=!0),onMouseup:e[11]||(e[11]=l=>i.active=!1),onTouchstart:e[12]||(e[12]=l=>i.active=!0),onTouchend:e[13]||(e[13]=l=>i.active=!1)},e[22]||(e[22]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--GripperDotsVertical"},null,-1)]),544),[[v.vShow,t.editor.isEditable]]),v.withDirectives(v.createElementVNode("div",mM,[v.withDirectives(v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,fontSize:"10",title:o.getTitle("Caption"),onClick:o.showCaptionBox},{default:v.withCtx(()=>e[23]||(e[23]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--TextField"},null,-1)])),_:1,__:[23]},8,["background","theme","title","onClick"]),[[v.vShow,t.editor.isEditable]]),v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,fontSize:"10",title:o.getTitle("AlignLeft"),onClick:e[14]||(e[14]=l=>i.thisAlignCenter=!1)},{default:v.withCtx(()=>e[24]||(e[24]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--AlignLeft"},null,-1)])),_:1,__:[24]},8,["background","theme","title"]),v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,fontSize:"10",title:o.getTitle("AlignCenter"),onClick:e[15]||(e[15]=l=>i.thisAlignCenter=!0)},{default:v.withCtx(()=>e[25]||(e[25]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--AlignCenter"},null,-1)])),_:1,__:[25]},8,["background","theme","title"])],512),[[v.vShow,t.editor.isEditable||t.editor.storage.defaultStorage.showControlOnReadonly]]),v.withDirectives(v.createElementVNode("div",gM,[v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,icon:"ReturnKeySm",fontSize:"10",title:o.getTitle("TextField"),style:{width:"60px"},onClick:o.newline},{default:v.withCtx(()=>[v.createTextVNode(v.toDisplayString(o.getTitle("Newline")),1)]),_:1},8,["background","theme","title","onClick"])],512),[[v.vShow,t.editor.isEditable]]),v.withDirectives(v.createElementVNode("div",bM,null,512),[[v.vShow,i.active]]),v.withDirectives(v.createElementVNode("p",{class:"power-editor-media-container-caption",onClick:e[16]||(e[16]=(...l)=>o.showCaptionBox&&o.showCaptionBox(...l))},v.toDisplayString(i.thisCaption),513),[[v.vShow,i.thisCaption!==""&&!i.show.captionBox]]),v.withDirectives(v.createVNode(a,{modelValue:i.thisCaption,"onUpdate:modelValue":e[17]||(e[17]=l=>i.thisCaption=l),theme:t.theme,class:"power-editor-media-caption-block",placeholder:o.getTitle("Write a caption..."),ref:"caption",background:"transparent",underline:"","border-width":2,"is-box-shadow":!0,"border-color":"rgba(200, 200, 200, 0.1)","focus-border-color":t.foreground,onKeyup:e[18]||(e[18]=v.withKeys(()=>{i.show.captionBox=!1,o.newline()},["enter"]))},null,8,["modelValue","theme","placeholder","focus-border-color"]),[[v.vShow,i.show.captionBox]])],6)}const Bh=Gt(pM,[["render",_M]]),yM={components:{NodeViewWrapper:Mi,mediaContainer:Bh},props:{editor:{type:Object},node:{type:Object},decorations:{type:Array},selected:{type:Boolean},extension:{type:Object},getPos:{type:Function},updateAttributes:{type:Function},deleteNode:{type:Function}},data(){return{statusInfo:{show:!1,progress:0,loading:!1,info:"",tmpSrc:"",tmpHeight:0,lock:!0},imgStatus:"init",previewImg:{scalePercent:"100",show:!1},thisTheme:this.editor.storage.defaultStorage.theme,thisLazyLoad:this.editor.storage.defaultStorage.imgLazyLoad,thisForeground:this.editor.storage.defaultStorage.foreground,thisImgPreview:this.editor.storage.defaultStorage.imgPreview,imgInterceptor:this.editor.storage.defaultStorage.imgInterceptor}},watch:{"node.attrs.src"(){this.imgInterceptorFunc()},"editor.storage.defaultStorage.theme"(n){this.thisTheme=n},"editor.storage.defaultStorage.imgLazyLoad"(n){this.thisLazyLoad=n},"editor.storage.defaultStorage.imgPreview"(n){this.thisImgPreview=n},"editor.storage.defaultStorage.foreground"(n){this.thisForeground=n},"editor.storage.defaultStorage.imgInterceptor"(n){this.imgInterceptor=n,this.imgInterceptorFunc()}},computed:{displayHeight(){var n;if(this.imgStatus==="error")return this.statusInfo.tmpHeight+"px";if(this.imgStatus==="init"){const e=(this.node.attrs.naturalWidth||0)/(this.node.attrs.naturalHeight||1e-6);return(((n=this.$el)==null?void 0:n.clientWidth)||0)/e+"px"}return""}},mounted(){this.imgInterceptorFunc()},methods:{showStatus(n){this.statusInfo.show=n},updateStatus(n,e,t=""){this.statusInfo.loading=n,this.statusInfo.progress=e,this.statusInfo.info=t},getImage(){return this.node.attrs.src},interceptImage(n=""){return this.statusInfo.tmpSrc=this.node.attrs.src,this.updateAttributes({src:n}),this.statusInfo.tmpSrc},updateImage(n){this.updateAttributes({src:n})},updateLock(n){this.statusInfo.lock=n},imgInterceptorFunc(){let n={node:this.node,extension:this.extension,getPos:this.getPos,updateAttributes:this.updateAttributes,deleteNode:this.deleteNode,showStatus:this.showStatus,updateStatus:this.updateStatus,getImage:this.getImage,interceptImage:this.interceptImage,updateImage:this.updateImage,updateLock:this.updateLock};this.imgInterceptor&&this.imgInterceptor(n)},imgLoaded(n){var o;const e=(o=this.$el)==null?void 0:o.clientWidth,{naturalWidth:t,naturalHeight:r}=n,i=(t||0)/(r||1e-6);this.statusInfo.tmpHeight=e/i,this.imgStatus="loaded",this.updateAttributes({naturalWidth:t,naturalHeight:r})},imgError(){this.imgStatus="error"},preview(n="readonly"){this.editor.isEditable&&n!=="editable"||!this.editor.isEditable&&n!=="readonly"||this.node.attrs.src&&this.thisImgPreview&&(this.previewImg.show=!0)},scale(n,e){n.stopPropagation&&n.stopPropagation();let t=parseInt(this.previewImg.scalePercent);t+=e,t<50?t=50:t>200&&(t=200),this.previewImg.scalePercent=t.toString()},setScale(n,e){n.stopPropagation&&n.stopPropagation(),e<50?e=50:e>200&&(e=200),this.previewImg.scalePercent=e.toString()}}},vM={class:"power-editor-image-status-container"},wM={class:"power-editor-preview-img-container"};function xM(n,e,t,r,i,o){const s=v.resolveComponent("fv-image"),a=v.resolveComponent("fv-progress-ring"),l=v.resolveComponent("media-container"),c=v.resolveComponent("fv-img"),u=v.resolveComponent("fv-button"),d=v.resolveComponent("fv-text-box"),m=v.resolveComponent("node-view-wrapper");return t.node?(v.openBlock(),v.createBlock(m,{key:0,class:v.normalizeClass(["power-editor-image-container",[{dark:i.thisTheme==="dark"}]]),style:v.normalizeStyle({"justify-content":t.node.attrs.alignCenter?"center":"flex-start"})},{default:v.withCtx(()=>[v.createVNode(l,{width:t.node.attrs.width,"onUpdate:width":e[1]||(e[1]=b=>t.node.attrs.width=b),caption:t.node.attrs.caption,alignCenter:t.node.attrs.alignCenter,"onUpdate:alignCenter":e[2]||(e[2]=b=>t.node.attrs.alignCenter=b),editor:t.editor,theme:i.thisTheme,foreground:i.thisForeground,node:t.node,getPos:t.getPos,"onUpdate:caption":e[3]||(e[3]=b=>t.updateAttributes({caption:b})),onContainerDblclick:e[4]||(e[4]=b=>o.preview("editable")),onContainerClick:e[5]||(e[5]=b=>o.preview("readonly"))},{default:v.withCtx(()=>[v.createVNode(s,{src:t.node.attrs.src?t.node.attrs.src:i.statusInfo.tmpSrc?i.statusInfo.tmpSrc:"",ref:"image",onlazy:i.thisLazyLoad,style:v.normalizeStyle([{width:"100%",height:"auto"},{height:o.displayHeight}]),onLoad:o.imgLoaded,onError:o.imgError},null,8,["src","onlazy","style","onLoad","onError"]),v.withDirectives(v.createElementVNode("div",vM,[v.createVNode(a,{modelValue:i.statusInfo.progress,"onUpdate:modelValue":e[0]||(e[0]=b=>i.statusInfo.progress=b),loading:i.statusInfo.loading,r:"20",borderWidth:"3",color:i.thisTheme==="dark"?"white":"black",background:i.thisTheme==="dark"?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.3)"},null,8,["modelValue","loading","color","background"]),v.withDirectives(v.createElementVNode("p",{class:"power-editor-image-status-title"},v.toDisplayString(i.statusInfo.info),513),[[v.vShow,i.statusInfo.info]])],512),[[v.vShow,i.statusInfo.show]]),v.createElementVNode("div",{class:v.normalizeClass(["power-editor-image-selection-mask",[{selected:t.selected}]]),style:v.normalizeStyle({"--selected-bg":i.thisForeground})},null,6)]),_:1},8,["width","caption","alignCenter","editor","theme","foreground","node","getPos"]),v.createVNode(v.Transition,{name:"show-preview"},{default:v.withCtx(()=>[v.withDirectives(v.createElementVNode("div",{class:"power-editor-image-preview-block",onClick:e[12]||(e[12]=b=>i.previewImg.show=!1)},[v.createElementVNode("div",wM,[v.createVNode(c,{src:t.node.attrs.src,class:"power-editor-preview-img",style:v.normalizeStyle({scale:i.previewImg.scalePercent+"%",cursor:i.previewImg.scalePercent<150?"zoom-in":"zoom-out"}),onClickCapture:e[6]||(e[6]=b=>i.previewImg.scalePercent<100?o.setScale(b,100):i.previewImg.scalePercent<150?o.setScale(b,150):o.setScale(b,100))},null,8,["src","style"])]),v.createElementVNode("div",{class:"power-editor-preview-tool-bar",onClick:e[11]||(e[11]=b=>b.stopPropagation())},[v.createVNode(u,{class:"power-editor-preview-img-btn",theme:"dark",disabled:i.previewImg.scalePercent<=50,background:"rgba(36, 36, 36, 0.3)",onClick:e[7]||(e[7]=b=>o.scale(b,-50))},{default:v.withCtx(()=>e[13]||(e[13]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--CalculatorSubtract"},null,-1)])),_:1,__:[13]},8,["disabled"]),v.createVNode(d,{modelValue:i.previewImg.scalePercent,theme:"dark",underline:"","border-color":"rgba(120, 120, 120, 0.1)","focus-border-color":i.thisForeground,"border-width":2,"is-box-shadow":!0,suffix:"%",style:{width:"80px",height:"35px"},onDebounceInput:e[8]||(e[8]=b=>o.setScale(b,b))},null,8,["modelValue","focus-border-color"]),v.createVNode(u,{class:"power-editor-preview-img-btn",theme:"dark",disabled:i.previewImg.scalePercent>=200,background:"rgba(36, 36, 36, 0.3)","border-color":"transparent",onClick:e[9]||(e[9]=b=>o.scale(b,50))},{default:v.withCtx(()=>e[14]||(e[14]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--CalculatorAddition"},null,-1)])),_:1,__:[14]},8,["disabled"]),v.createVNode(u,{class:"power-editor-preview-img-btn",theme:"dark",background:"rgba(36, 36, 36, 0.3)",onClick:e[10]||(e[10]=b=>i.previewImg.show=!1)},{default:v.withCtx(()=>e[15]||(e[15]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--BackToWindow"},null,-1)])),_:1,__:[15]})])],512),[[v.vShow,i.previewImg.show]])]),_:1})]),_:1},8,["class","style"])):v.createCommentVNode("",!0)}const kM=Gt(yM,[["render",xM]]),SM=xt.create({name:"imageblock",group:"block",draggable:!0,atom:!0,addAttributes(){return{src:{default:""},width:{default:"100%"},naturalWidth:{default:1},naturalHeight:{default:1},caption:{default:""},alignCenter:{default:!0}}},parseHTML(){return[{tag:"img[src]"}]},renderHTML({HTMLAttributes:n}){return["img",$e(this.options.HTMLAttributes,n)]},addNodeView(){return ti(kM)}}),CM={components:{NodeViewWrapper:Mi,mediaContainer:Bh},props:{editor:{type:Object},node:{type:Object},decorations:{type:Array},selected:{type:Boolean},extension:{type:Object},getPos:{type:Function},updateAttributes:{type:Function},deleteNode:{type:Function}},data(){return{width:0,thisTheme:this.editor.storage.defaultStorage.theme,thisForeground:this.editor.storage.defaultStorage.foreground,timer:{}}},watch:{"editor.storage.defaultStorage.theme"(n){this.thisTheme=n},"editor.storage.defaultStorage.foreground"(n){this.thisForeground=n}},mounted(){this.timerInit()},methods:{timerInit(){this.timer=setInterval(()=>{this.width=this.$refs.media.$el.clientWidth},300)}},beforeUnmount(){clearInterval(this.timer)}},EM=["src"];function TM(n,e,t,r,i,o){const s=v.resolveComponent("media-container"),a=v.resolveComponent("node-view-wrapper");return t.node?(v.openBlock(),v.createBlock(a,{key:0,class:"power-editor-embed-container",style:v.normalizeStyle({"justify-content":t.node.attrs.alignCenter?"center":"flex-start"})},{default:v.withCtx(()=>[v.createVNode(s,{width:t.node.attrs.width,"onUpdate:width":e[0]||(e[0]=l=>t.node.attrs.width=l),caption:t.node.attrs.caption,alignCenter:t.node.attrs.alignCenter,"onUpdate:alignCenter":e[1]||(e[1]=l=>t.node.attrs.alignCenter=l),editor:t.editor,theme:i.thisTheme,foreground:i.thisForeground,node:t.node,getPos:t.getPos,ref:"media","onUpdate:caption":e[2]||(e[2]=l=>t.updateAttributes({caption:l}))},{default:v.withCtx(()=>[v.createElementVNode("iframe",{src:t.node.attrs.src,frameborder:"0",allowfullscreen:"",style:v.normalizeStyle([{width:"100%",height:"auto"},{height:`${i.width/1.778}px`}])},null,12,EM)]),_:1},8,["width","caption","alignCenter","editor","theme","foreground","node","getPos"])]),_:1},8,["style"])):v.createCommentVNode("",!0)}const AM=Gt(CM,[["render",TM]]),MM=xt.create({name:"embedblock",group:"block",draggable:!0,atom:!0,addAttributes(){return{src:{default:""},width:{default:"100%"},caption:{default:""},alignCenter:{default:!0}}},parseHTML(){return[{tag:"embed-block"}]},renderHTML({HTMLAttributes:n}){return["embed-block",$e(n)]},addNodeView(){return ti(AM)}});function Jl({find:n,type:e,getAttributes:t}){return new v1({find:n,handler({match:r,chain:i,range:o}){const s=Xe(t,void 0,r);if(s===!1||s===null)return null;if(r.input){const{from:a,to:l}=o;s.powerContent?i().deleteRange(o).insertContentAt(a,[{type:e.name,attrs:s,content:s.powerContent}]):i().deleteRange(o).insertContentAt(a,[{type:e.name,attrs:s}])}}})}const NM=/^-(\[([ |x])\])\s$/,DM=/^-(\s*)(\[([ |x])\])\s+(.*)/g,RM=xt.create({name:"powerTaskList",group:"block list",content:"powerTaskItem+",parseHTML(){return[{tag:'ul[data-type="powerTaskList"]',priority:51}]},renderHTML({HTMLAttributes:n}){return["ul",$e(n,{"data-type":this.name}),0]},addCommands(){return{togglePowerTaskList:()=>({commands:n})=>n.toggleList("powerTaskList","powerTaskItem"),setPowerTaskList:()=>({editor:n,commands:e})=>{if(!n.isActive("powerTaskList"))return e.toggleList("powerTaskList","powerTaskItem")}}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.togglePowerTaskList()}},addInputRules(){return[Jr({find:NM,type:this.type,getAttributes:n=>({checked:n[n.length-1]==="x",theme:this.editor.storage.defaultStorage.theme})})]},addPasteRules(){return[Jl({find:DM,type:this.type,getAttributes:n=>({powerContent:[{type:"powerTaskItem",content:[{type:"paragraph",content:[{type:"text",text:n[4]}]}],attrs:{checked:n[3]==="x",theme:this.editor.storage.defaultStorage.theme}}]})})]}}),IM={components:{NodeViewWrapper:Mi,NodeViewContent:O1},props:{editor:{type:Object},node:{type:Object},decorations:{type:Array},selected:{type:Boolean},extension:{type:Object},getPos:{type:Function},updateAttributes:{type:Function},deleteNode:{type:Function}},data(){return{thisTheme:this.editor.storage.defaultStorage.theme,thisForeground:this.editor.storage.defaultStorage.foreground,timer:{}}},watch:{"editor.storage.defaultStorage.theme"(n){this.thisTheme=n},"editor.storage.defaultStorage.foreground"(n){this.thisForeground=n}},mounted(){},methods:{preventEnter(n){console.log(n)},updateValue(n){this.updateAttributes({checked:n})}},beforeUnmount(){clearInterval(this.timer)}};function OM(n,e,t,r,i,o){const s=v.resolveComponent("fv-check-box"),a=v.resolveComponent("node-view-content"),l=v.resolveComponent("node-view-wrapper");return t.node?(v.openBlock(),v.createBlock(l,{key:0,as:"li",class:"power-editor-task-item-container"},{default:v.withCtx(()=>[v.createVNode(s,{modelValue:t.node.attrs.checked,"onUpdate:modelValue":e[0]||(e[0]=c=>t.node.attrs.checked=c),theme:i.thisTheme,disabled:!t.editor.isEditable,background:i.thisForeground,contenteditable:"false",onClick:o.updateValue},null,8,["modelValue","theme","disabled","background","onClick"]),v.createVNode(a,{ref:"n",class:"power-editor-task-item-content"},null,512)]),_:1})):v.createCommentVNode("",!0)}const LM=Gt(IM,[["render",OM]]),PM=/^\s*(\[([ |x])\])\s$/,BM=/^(\s*)(\[([ |x])\])\s+(.*)/g,FM=xt.create({name:"powerTaskItem",group:"block",content:"paragraph block*",draggable:!0,addAttributes(){return{value:{default:""},checked:{default:!1},placeholder:{default:"To-Do"}}},parseHTML(){return[{tag:'li[data-type="powerTaskItem"]',priority:51}]},renderHTML({HTMLAttributes:n}){return["li",$e(this.options.HTMLAttributes,n,{"data-type":"powerTaskItem"}),0]},addKeyboardShortcuts(){const n={Enter:()=>this.editor.commands.splitListItem("powerTaskItem"),"Shift-Tab":()=>this.editor.commands.liftListItem("powerTaskItem")};return this.options.nested?{...n,Tab:()=>this.editor.commands.sinkListItem("powerTaskItem")}:n},addNodeView(){return ti(LM)},addInputRules(){return[Jr({find:PM,type:this.type,getAttributes:n=>({checked:n[n.length-1]==="x",theme:this.editor.storage.defaultStorage.theme})})]},addPasteRules(){return[Jl({find:BM,type:this.type,getAttributes:n=>({powerContent:[{type:"paragraph",content:[{type:"text",text:n[4]}]}],checked:n[3]==="x",theme:this.editor.storage.defaultStorage.theme})})]}});var Fh,pv;function zM(){if(pv)return Fh;pv=1;var n=[],e=function(a){return typeof a>"u"},t=/\s*(\.\d+|\d+(?:\.\d+)?)(%|deg)?\s*/,r=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,i=new RegExp("^(rgb|hsl|hsv)a?\\("+t.source+"[, ]"+t.source+"[, ]"+t.source+"(?:[,/]"+t.source+")?\\)$","i");function o(a,l,c){if(a==="%")return 100;if(a==="deg"||c&&l===0)return 360;if(!a)return 255}function s(a){if(Array.isArray(a)){if(typeof a[0]=="string"&&typeof s[a[0]]=="function")return new s[a[0]](a.slice(1,a.length));if(a.length===4)return new s.RGB(a[0]/255,a[1]/255,a[2]/255,a[3]/255)}else if(typeof a=="string"){var l=a.toLowerCase();s.namedColors[l]&&(a="#"+s.namedColors[l]),l==="transparent"&&(a="rgba(0,0,0,0)");var c=a.match(i);if(c){var u=c[1].toUpperCase(),d=u[0]==="H";if(e(s[u]))throw new Error("color."+u+" is not installed.");let f=e(c[8])?1:void 0;return f===void 0&&(c[9]==="%"?f=parseFloat(c[8])/100:f=parseFloat(c[8])),new s[u](parseFloat(c[2])/o(c[3],0,d),parseFloat(c[4])/o(c[5],1,d),parseFloat(c[6])/o(c[7],2,d),f)}a.length<6&&(a=a.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,"$1$1$2$2$3$3$4$4"));var m=a.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])?$/i);if(m)return new s.RGB(parseInt(m[1],16)/255,parseInt(m[2],16)/255,parseInt(m[3],16)/255,m[4]?parseInt(m[4],16)/255:1);if(s.CMYK){var b=a.match(new RegExp("^cmyk\\("+r.source+","+r.source+","+r.source+","+r.source+"\\)$","i"));if(b)return new s.CMYK(parseFloat(b[1])/100,parseFloat(b[2])/100,parseFloat(b[3])/100,parseFloat(b[4])/100)}}else if(typeof a=="object"&&a.isColor)return a;return!1}return s.namedColors={},s.installColorSpace=function(a,l,c){s[a]=function(f){var y=Array.isArray(f)?f:arguments;l.forEach(function(w,k){var E=y[k];if(w==="alpha")this._alpha=isNaN(E)||E>1?1:E<0?0:E;else{if(isNaN(E))throw new Error("["+a+"]: Invalid color: ("+l.join(",")+")");w==="hue"?this._hue=E<0?E-Math.floor(E):E%1:this["_"+w]=E<0?0:E>1?1:E}},this)},s[a].propertyNames=l;var u=s[a].prototype;["valueOf","hex","hexa","css","cssa"].forEach(function(f){u[f]=u[f]||(a==="RGB"?u.hex:function(){return this.rgb()[f]()})}),u.isColor=!0,u.equals=function(f,y){e(y)&&(y=1e-10),f=f[a.toLowerCase()]();for(var w=0;w<l.length;w=w+1)if(Math.abs(this["_"+l[w]]-f["_"+l[w]])>y)return!1;return!0},u.toJSON=function(){return[a].concat(l.map(function(f){return this["_"+f]},this))};for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)){var m=d.match(/^from(.*)$/);m?s[m[1].toUpperCase()].prototype[a.toLowerCase()]=c[d]:u[d]=c[d]}u[a.toLowerCase()]=function(){return this},u.toString=function(){return"["+a+" "+l.map(function(f){return this["_"+f]},this).join(", ")+"]"},l.forEach(function(f){var y=f==="black"?"k":f.charAt(0);u[f]=u[y]=function(w,k){return typeof w>"u"?this["_"+f]:k?new this.constructor(l.map(function(E){return this["_"+E]+(f===E?w:0)},this)):new this.constructor(l.map(function(E){return f===E?w:this["_"+E]},this))}});function b(f,y){var w={};w[y.toLowerCase()]=function(){return this.rgb()[y.toLowerCase()]()},s[y].propertyNames.forEach(function(E){var S=E==="black"?"k":E.charAt(0);w[E]=w[S]=function(D,R){return this[y.toLowerCase()]()[E](D,R)}});for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&s[f].prototype[k]===void 0&&(s[f].prototype[k]=w[k])}return n.forEach(function(f){b(a,f),b(f,a)}),n.push(a),s},s.pluginList=[],s.use=function(a){return s.pluginList.indexOf(a)===-1&&(this.pluginList.push(a),a(s)),s},s.installMethod=function(a,l){return n.forEach(function(c){s[c].prototype[a]=l}),this},s.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var a=(Math.round(255*this._red)*65536+Math.round(255*this._green)*256+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-a.length)+a},hexa:function(){var a=Math.round(this._alpha*255).toString(16);return this.hex()+"00".substr(0,2-a.length)+a},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),Fh=s,Fh}var zh,mv;function gv(){return mv||(mv=1,zh=function(e){e.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var t=function(s){return s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92},r=t(this._red),i=t(this._green),o=t(this._blue);return new e.XYZ(r*.4124564+i*.3575761+o*.1804375,r*.2126729+i*.7151522+o*.072175,r*.0193339+i*.119192+o*.9503041,this._alpha)},rgb:function(){var t=this._x,r=this._y,i=this._z,o=function(s){return s>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s};return new e.RGB(o(t*3.2404542+r*-1.5371385+i*-.4985314),o(t*-.969266+r*1.8760108+i*.041556),o(t*.0556434+r*-.2040259+i*1.0572252),this._alpha)},lab:function(){var t=function(s){return s>.008856?Math.pow(s,.3333333333333333):7.787037*s+.13793103448275862},r=t(this._x/95.047),i=t(this._y/100),o=t(this._z/108.883);return new e.LAB(116*i-16,500*(r-i),200*(i-o),this._alpha)}})}),zh}var qh,bv;function qM(){return bv||(bv=1,qh=function(e){e.use(gv()),e.installColorSpace("LAB",["l","a","b","alpha"],{fromRgb:function(){return this.xyz().lab()},rgb:function(){return this.xyz().rgb()},xyz:function(){var t=function(s){var a=Math.pow(s,3);return a>.008856?a:(s-.13793103448275862)/7.87},r=(this._l+16)/116,i=this._a/500+r,o=r-this._b/200;return new e.XYZ(t(i)*95.047,t(r)*100,t(o)*108.883,this._alpha)}})}),qh}var Hh,_v;function yv(){return _v||(_v=1,Hh=function(e){e.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var t=this._hue,r=this._saturation,i=this._value,o=Math.min(5,Math.floor(t*6)),s=t*6-o,a=i*(1-r),l=i*(1-s*r),c=i*(1-(1-s)*r),u,d,m;switch(o){case 0:u=i,d=c,m=a;break;case 1:u=l,d=i,m=a;break;case 2:u=a,d=i,m=c;break;case 3:u=a,d=l,m=i;break;case 4:u=c,d=a,m=i;break;case 5:u=i,d=a,m=l;break}return new e.RGB(u,d,m,this._alpha)},hsl:function(){var t=(2-this._saturation)*this._value,r=this._saturation*this._value,i=t<=1?t:2-t,o;return i<1e-9?o=0:o=r/i,new e.HSL(this._hue,o,t/2,this._alpha)},fromRgb:function(){var t=this._red,r=this._green,i=this._blue,o=Math.max(t,r,i),s=Math.min(t,r,i),a=o-s,l,c=o===0?0:a/o,u=o;if(a===0)l=0;else switch(o){case t:l=(r-i)/a/6+(r<i?1:0);break;case r:l=(i-t)/a/6+1/3;break;case i:l=(t-r)/a/6+2/3;break}return new e.HSV(l,c,u,this._alpha)}})}),Hh}var Vh,vv;function wo(){return vv||(vv=1,Vh=function(e){e.use(yv()),e.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var t=this._lightness*2,r=this._saturation*(t<=1?t:2-t),i;return t+r<1e-9?i=0:i=2*r/(t+r),new e.HSV(this._hue,i,(t+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}),Vh}var Uh,wv;function HM(){return wv||(wv=1,Uh=function(e){e.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new e.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var t=this._red,r=this._green,i=this._blue,o=1-t,s=1-r,a=1-i,l=1;return t||r||i?(l=Math.min(o,Math.min(s,a)),o=(o-l)/(1-l),s=(s-l)/(1-l),a=(a-l)/(1-l)):l=1,new e.CMYK(o,s,a,l,this._alpha)}})}),Uh}var Gh,xv;function VM(){return xv||(xv=1,Gh=function(e){e.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}),Gh}var $h,kv;function UM(){return kv||(kv=1,$h=function(e){e.installMethod("clearer",function(t){return this.alpha(isNaN(t)?-.1:-t,!0)})}),$h}var Wh,Sv;function Cv(){return Sv||(Sv=1,Wh=function(e){function t(r){return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}e.installMethod("luminance",function(){var r=this.rgb();return .2126*t(r._red)+.7152*t(r._green)+.0722*t(r._blue)})}),Wh}var Kh,Ev;function GM(){return Ev||(Ev=1,Kh=function(e){e.use(Cv()),e.installMethod("contrast",function(t){var r=this.luminance(),i=t.luminance();return r>i?(r+.05)/(i+.05):(i+.05)/(r+.05)})}),Kh}var jh,Tv;function $M(){return Tv||(Tv=1,jh=function(e){e.use(wo()),e.installMethod("darken",function(t){return this.lightness(isNaN(t)?-.1:-t,!0)})}),jh}var Qh,Av;function WM(){return Av||(Av=1,Qh=function(e){e.use(wo()),e.installMethod("desaturate",function(t){return this.saturation(isNaN(t)?-.1:-t,!0)})}),Qh}var Yh,Mv;function KM(){return Mv||(Mv=1,Yh=function(e){function t(){var r=this.rgb(),i=r._red*.3+r._green*.59+r._blue*.11;return new e.RGB(i,i,i,r._alpha)}e.installMethod("greyscale",t).installMethod("grayscale",t)}),Yh}var Zh,Nv;function Dv(){return Nv||(Nv=1,Zh=function(e){e.installMethod("isDark",function(){var t=this.rgb(),r=(t._red*255*299+t._green*255*587+t._blue*255*114)/1e3;return r<128})}),Zh}var Xh,Rv;function jM(){return Rv||(Rv=1,Xh=function(e){e.use(Dv()),e.installMethod("isLight",function(){return!this.isDark()})}),Xh}var Jh,Iv;function QM(){return Iv||(Iv=1,Jh=function(e){e.use(wo()),e.installMethod("lighten",function(t){return this.lightness(isNaN(t)?.1:t,!0)})}),Jh}var ef,Ov;function YM(){return Ov||(Ov=1,ef=function(e){e.installMethod("mix",function(t,r){t=e(t).rgb(),r=1-(isNaN(r)?.5:r);var i=r*2-1,o=this._alpha-t._alpha,s=((i*o===-1?i:(i+o)/(1+i*o))+1)/2,a=1-s,l=this.rgb();return new e.RGB(l._red*s+t._red*a,l._green*s+t._green*a,l._blue*s+t._blue*a,l._alpha*r+t._alpha*(1-r))})}),ef}var tf,Lv;function ZM(){return Lv||(Lv=1,tf=function(e){e.installMethod("negate",function(){var t=this.rgb();return new e.RGB(1-t._red,1-t._green,1-t._blue,this._alpha)})}),tf}var nf,Pv;function XM(){return Pv||(Pv=1,nf=function(e){e.installMethod("opaquer",function(t){return this.alpha(isNaN(t)?.1:t,!0)})}),nf}var rf,Bv;function JM(){return Bv||(Bv=1,rf=function(e){e.use(wo()),e.installMethod("rotate",function(t){return this.hue((t||0)/360,!0)})}),rf}var of,Fv;function eN(){return Fv||(Fv=1,of=function(e){e.use(wo()),e.installMethod("saturate",function(t){return this.saturation(isNaN(t)?.1:t,!0)})}),of}var sf,zv;function tN(){return zv||(zv=1,sf=function(e){e.installMethod("toAlpha",function(t){var r=this.rgb(),i=t(t).rgb(),o=1e-10,s=new t.RGB(0,0,0,r._alpha),a=["_red","_green","_blue"];return a.forEach(function(l){r[l]<o?s[l]=r[l]:r[l]>i[l]?s[l]=(r[l]-i[l])/(1-i[l]):r[l]>i[l]?s[l]=(i[l]-r[l])/i[l]:s[l]=0}),s._red>s._green?s._red>s._blue?r._alpha=s._red:r._alpha=s._blue:s._green>s._blue?r._alpha=s._green:r._alpha=s._blue,r._alpha<o||(a.forEach(function(l){r[l]=(r[l]-i[l])/r._alpha+i[l]}),r._alpha*=s._alpha),r})}),sf}var af,qv;function nN(){return qv||(qv=1,af=zM().use(gv()).use(qM()).use(yv()).use(wo()).use(HM()).use(VM()).use(UM()).use(GM()).use($M()).use(WM()).use(KM()).use(Dv()).use(jM()).use(QM()).use(Cv()).use(YM()).use(ZM()).use(XM()).use(JM()).use(eN()).use(tN())),af}var rN=nN();const ec=or(rN);var tc={exports:{}},iN=tc.exports,Hv;function oN(){return Hv||(Hv=1,function(n,e){(function(r,i){n.exports=i()})(typeof self<"u"?self:iN,function(){return function(){var t={};(function(){t.d=function(A,h){for(var p in h)t.o(h,p)&&!t.o(A,p)&&Object.defineProperty(A,p,{enumerable:!0,get:h[p]})}})(),function(){t.o=function(A,h){return Object.prototype.hasOwnProperty.call(A,h)}}();var r={};t.d(r,{default:function(){return CP}});var i=function A(h,p){this.position=void 0;var g="KaTeX parse error: "+h,_,x=p&&p.loc;if(x&&x.start<=x.end){var T=x.lexer.input;_=x.start;var I=x.end;_===T.length?g+=" at end of input: ":g+=" at position "+(_+1)+": ";var P=T.slice(_,I).replace(/[^]/g,"$&̲"),z;_>15?z="…"+T.slice(_-15,_):z=T.slice(0,_);var G;I+15<T.length?G=T.slice(I,I+15)+"…":G=T.slice(I),g+=z+P+G}var Z=new Error(g);return Z.name="ParseError",Z.__proto__=A.prototype,Z.position=_,Z};i.prototype.__proto__=Error.prototype;var o=i,s=function(h,p){return h.indexOf(p)!==-1},a=function(h,p){return h===void 0?p:h},l=/([A-Z])/g,c=function(h){return h.replace(l,"-$1").toLowerCase()},u={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},d=/[&><"']/g;function m(A){return String(A).replace(d,function(h){return u[h]})}var b=function A(h){return h.type==="ordgroup"||h.type==="color"?h.body.length===1?A(h.body[0]):h:h.type==="font"?A(h.body):h},f=function(h){var p=b(h);return p.type==="mathord"||p.type==="textord"||p.type==="atom"},y=function(h){if(!h)throw new Error("Expected non-null, but got "+String(h));return h},w=function(h){var p=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(h);return p!=null?p[1]:"_relative"},k={contains:s,deflt:a,escape:m,hyphenate:c,getBaseElem:b,isCharacterBox:f,protocolFromUrl:w},E=function(){function A(p){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,p=p||{},this.displayMode=k.deflt(p.displayMode,!1),this.output=k.deflt(p.output,"htmlAndMathml"),this.leqno=k.deflt(p.leqno,!1),this.fleqn=k.deflt(p.fleqn,!1),this.throwOnError=k.deflt(p.throwOnError,!0),this.errorColor=k.deflt(p.errorColor,"#cc0000"),this.macros=p.macros||{},this.minRuleThickness=Math.max(0,k.deflt(p.minRuleThickness,0)),this.colorIsTextColor=k.deflt(p.colorIsTextColor,!1),this.strict=k.deflt(p.strict,"warn"),this.trust=k.deflt(p.trust,!1),this.maxSize=Math.max(0,k.deflt(p.maxSize,1/0)),this.maxExpand=Math.max(0,k.deflt(p.maxExpand,1e3)),this.globalGroup=k.deflt(p.globalGroup,!1)}var h=A.prototype;return h.reportNonstrict=function(g,_,x){var T=this.strict;if(typeof T=="function"&&(T=T(g,_,x)),!(!T||T==="ignore")){if(T===!0||T==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(_+" ["+g+"]"),x);T==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(_+" ["+g+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+T+"': "+_+" ["+g+"]"))}},h.useStrictBehavior=function(g,_,x){var T=this.strict;if(typeof T=="function")try{T=T(g,_,x)}catch{T="error"}return!T||T==="ignore"?!1:T===!0||T==="error"?!0:T==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(_+" ["+g+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+T+"': "+_+" ["+g+"]")),!1)},h.isTrusted=function(g){g.url&&!g.protocol&&(g.protocol=k.protocolFromUrl(g.url));var _=typeof this.trust=="function"?this.trust(g):this.trust;return!!_},A}(),S=function(){function A(p,g,_){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=p,this.size=g,this.cramped=_}var h=A.prototype;return h.sup=function(){return Y[ne[this.id]]},h.sub=function(){return Y[$[this.id]]},h.fracNum=function(){return Y[Q[this.id]]},h.fracDen=function(){return Y[ie[this.id]]},h.cramp=function(){return Y[re[this.id]]},h.text=function(){return Y[ue[this.id]]},h.isTight=function(){return this.size>=2},A}(),D=0,R=1,L=2,q=3,H=4,U=5,F=6,j=7,Y=[new S(D,0,!1),new S(R,0,!0),new S(L,1,!1),new S(q,1,!0),new S(H,2,!1),new S(U,2,!0),new S(F,3,!1),new S(j,3,!0)],ne=[H,U,H,U,F,j,F,j],$=[U,U,U,U,j,j,j,j],Q=[L,q,H,U,F,j,F,j],ie=[q,q,U,U,j,j,j,j],re=[R,R,q,q,U,U,j,j],ue=[D,R,L,q,L,q,L,q],X={DISPLAY:Y[D],TEXT:Y[L],SCRIPT:Y[H],SCRIPTSCRIPT:Y[F]},te=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function fe(A){for(var h=0;h<te.length;h++)for(var p=te[h],g=0;g<p.blocks.length;g++){var _=p.blocks[g];if(A>=_[0]&&A<=_[1])return p.name}return null}var be=[];te.forEach(function(A){return A.blocks.forEach(function(h){return be.push.apply(be,h)})});function Ce(A){for(var h=0;h<be.length;h+=2)if(A>=be[h]&&A<=be[h+1])return!0;return!1}var qe=80,pt=function(h,p){return"M95,"+(622+h+p)+`
203
+ `},text(n,e){let t=n.text,r=n.marks;Array.isArray(r)||(r=[]);for(let i of r)this[i.type]?t=this[i.type](t,i):console.warn(`Unknown mark type: ${i.type}`);return t},bold(n){return`**${n}**`},italic(n){return`*${n}*`},strike(n){return`~~${n}~~`},subscript(n){return`~${n}~`},superscript(n){return`^${n}^`},link(n,e){return`[${n}](${e.attrs.href})`},highlight(n){return`==${n}==`},code(n){return`\`${n}\``}};class hM{constructor(e={},t={}){this.flags={inline:!1,inlineWrapper:!1,heading:!1,bulletList:!1,orderedList:!1,blockquote:!1,powerTaskItem:!1,powerTaskList:!1,tableHeader:!1,tableCell:!1,tableRow:!1,table:!1},this.flags=Object.assign(this.flags,t),this.DecNodeFuncs=dM;for(let r in e)this.DecNodeFuncs.hasOwnProperty(r)&&console.warn(`Decoder already has a function named ${r}, the function will be overwritten.`),this.DecNodeFuncs[r]=e[r]}decode(e){e=JSON.parse(JSON.stringify(e));let t="";Array.isArray(e.content)||(e.content=[]);for(let r of e.content)t+=this.renderNode(r);return t}renderNode(e){e.parent?e.flags=Object.assign({},e.parent.flags):e.flags=Object.assign({},this.flags);let t=e.type;if(t==="text")return this.DecNodeFuncs.text(e);e.flags.hasOwnProperty(t)&&(e.flags[t]!==!1?e.flags[t]+=1:e.flags[t]=1),t==="paragraph"&&(e.flags.inlineWrapper=!0,e.flags.inline=!0);let r="",i=e.content;Array.isArray(i)||(i=[]);for(let s of i)s.parent=e,s.childIdx=i.indexOf(s),r+=this.renderNode(s);if(!this.DecNodeFuncs.hasOwnProperty(t))return console.warn(`Unknown node type: ${t}`),r;let o=this.DecNodeFuncs[t](e,e.flags);return typeof o=="string"?o+r:o.prefix+r+o.suffix}}let fM={Bold:{en:"Bold",cn:"粗体"},Italic:{en:"Italic",cn:"斜体"},Strikethrough:{en:"Strikethrough",cn:"删除线"},Underline:{en:"Underline",cn:"下划线"},"Block Quote":{en:"Block Quote",cn:"引用"},"Horizontal Rule":{en:"Horizontal Rule",cn:"水平线"},Header:{en:"Header",cn:"标题"},Task:{en:"Task",cn:"任务清单"},ClearFormatting:{en:"Clear Formatting",cn:"清除格式"},BulletedList:{en:"Bulleted List",cn:"项目符号"},NumberedList:{en:"Numbered List",cn:"编号"},DetailsList:{en:"Details List",cn:"详细列表"},AlignLeft:{en:"Align Left",cn:"左对齐"},AlignCenter:{en:"Align Center",cn:"居中"},AlignRight:{en:"Align Right",cn:"右对齐"},AlignJustify:{en:"Align Justify",cn:"两端对齐"},IncreaseIndent:{en:"Increase Indent",cn:"增加缩进"},DecreaseIndent:{en:"Decrease Indent",cn:"减少缩进"},Color:{en:"Color",cn:"颜色"},Draw:{en:"Draw",cn:"绘图"},Emoji:{en:"Emoji",cn:"表情"},Table:{en:"Table",cn:"表格"},Code:{en:"Code",cn:"代码"},"Code Block":{en:"Code Block",cn:"代码块"},Equation:{en:"Equation",cn:"公式"},Image:{en:"Image",cn:"图片"},Link:{en:"Link",cn:"链接"},Embed:{en:"Embed",cn:"嵌入"},Undo:{en:"Undo",cn:"撤销"},Redo:{en:"Redo",cn:"重做"},Save:{en:"Save",cn:"保存"},Cancel:{en:"Cancel",cn:"取消"},TextField:{en:"Text Field",cn:"文本框"},"Write a caption...":{en:"Write a caption...",cn:"输入标题..."},removeColor:{en:"Remove Color",cn:"清除颜色"},removeHighlight:{en:"Remove Highlight",cn:"清除高亮"},Row:{en:"Row",cn:"行"},Column:{en:"Column",cn:"列"},"Delete Column":{en:"Delete Column",cn:"删除列"},"Delete Row":{en:"Delete Row",cn:"删除行"},"Add Row Before":{en:"Add Row Before",cn:"在上方插入行"},"Add Row After":{en:"Add Row After",cn:"在下方插入行"},"Add Column Before":{en:"Add Column Before",cn:"在左侧插入列"},"Add Column After":{en:"Add Column After",cn:"在右侧插入列"},"Merge Cells":{en:"Merge Cells",cn:"合并单元格"},"Split Cell":{en:"Split Cell",cn:"拆分单元格"},Headers:{en:"Headers",cn:"标题"},Heading:{en:"Heading",cn:"标题"},"Text Color":{en:"Text Color",cn:"文本颜色"},Foreground:{en:"Foreground",cn:"前景色"},"Highlight Background":{en:"Highlight Background",cn:"高亮色"},purple:{en:"purple",cn:"紫色"},red:{en:"red",cn:"红色"},orange:{en:"orange",cn:"橙色"},yellow:{en:"yellow",cn:"黄色"},blue:{en:"blue",cn:"蓝色"},teal:{en:"teal",cn:"青色"},green:{en:"green",cn:"绿色"},Random:{en:"Random",cn:"随机"},"People and Fantasy":{en:"People and Fantasy",cn:"人物与范例"},"Animals & Nature":{en:"Animals & Nature",cn:"动物与自然"},"Food & Drink":{en:"Food & Drink",cn:"食物与饮料"},"Activity and Sports":{en:"Activity and Sports",cn:"活动与体育"},"Travel & Places":{en:"Travel & Places",cn:"旅行与地点"},Objects:{en:"Objects",cn:"物件"},Symbols:{en:"Symbols",cn:"符号"},Flags:{en:"Flags",cn:"旗帜"},"Fill the Form":{en:"Fill the Form",cn:"填写表单"},Caption:{en:"Caption",cn:"标题"},"Insert Embed Url...":{en:"Insert Embed Url...",cn:"插入嵌入链接..."},Insert:{en:"Insert",cn:"插入"},"Insert Embed":{en:"Insert Embed",cn:"插入嵌入"},"Insert Image":{en:"Insert Image",cn:"插入图片"},Method:{en:"Method",cn:"方法"},"Choose Local Image as Base64 (multiple).":{en:"Choose Local Image as Base64 (multiple).",cn:"选择本地图片为Base64 (支持多个)"},"Insert Image Url.":{en:"Insert Image Url.",cn:"插入图片链接"},"Insert Link Url...":{en:"Insert Link Url...",cn:"插入链接..."},"Insert Link":{en:"Insert Link",cn:"插入链接"},Newline:{en:"Newline",cn:"换行"},"Format Painter":{en:"Format Painter",cn:"格式刷"},Done:{en:"Done",cn:"完成"},gray:{en:"Gray",cn:"灰色"},pink:{en:"Pink",cn:"粉色"},rose:{en:"Rose",cn:"玫瑰色"},fresh_blue:{en:"Fresh Blue",cn:"鲜艳蓝"},ice_blue:{en:"Ice Blue",cn:"冰蓝色"},dark_blue:{en:"Dark Blue",cn:"深蓝色"},fresh_green:{en:"Fresh Green",cn:"鲜艳绿"},light_green:{en:"Light Green",cn:"浅绿色"},light_yellow:{en:"Light Yellow",cn:"浅黄色"},light_red:{en:"Light Red",cn:"浅红色"},light_purple:{en:"Light Purple",cn:"浅紫色"},light_orange:{en:"Light Orange",cn:"浅橙色"}};const In=(n,e="en")=>{let t=fM[n];return t?t[e]:n},pM={emits:["container-dblclick","container-click","update:width","update:alignCenter","update:caption"],props:{width:{default:100},editor:{default:()=>({})},caption:{default:""},alignCenter:{default:!0},foreground:{default:""},node:{default:()=>({})},getPos:{default:()=>{}},theme:{default:"light"}},data(){return{thisCaption:this.caption?this.caption.toString():"",thisAlignCenter:this.alignCenter,elWidthStart:0,elWidthEnd:0,active:!1,moveable:!1,direction:1,disX:0,currentWidth:this.normalizeWidthValue(this.width),outsideEvent:n=>{let e=n.target,t=!1;for(;e&&e.tagName&&e.tagName.toLowerCase()!="body";){if(e==this.$el){t=!0;break}e=e.parentNode}t||(this.show.captionBox=!1)},show:{captionBox:!1}}},watch:{width(n){this.currentWidth=this.normalizeWidthValue(n)},currentWidth(n){this.$emit("update:width",n)},alignCenter(n){this.thisAlignCenter=n},thisAlignCenter(n){this.$emit("update:alignCenter",n)},caption(n){this.thisCaption=n?n.toString():""},thisCaption(n){this.$emit("update:caption",n)}},mounted(){this.Init(),this.outSideClickInit()},methods:{Init(){let n=e=>(e.clientX-this.disX)*this.direction+this.elWidthStart*1;window.addEventListener("mousemove",e=>{this.moveable&&(this.elWidthEnd=n(e))}),window.addEventListener("touchmove",e=>{e=e.targetTouches[0],this.moveable&&(this.elWidthEnd=n(e))}),window.addEventListener("mouseup",e=>(this.active=!1,this.moveable&&this.stop(),e)),window.addEventListener("touchup",e=>(this.active=!1,this.moveable&&this.stop(),e))},forward(n,e=1){this.active=!0,this.moveable=!0,this.disX=n.clientX,this.direction=e,this.elWidthStart=this.$el.clientWidth,this.elWidthEnd=this.elWidthStart},stop(){this.active=!1,this.moveable=!1,this.elWidthEnd<50&&(this.elWidthEnd=50),this.currentWidth=`${this.elWidthEnd}px`},outSideClickInit(){window.addEventListener("click",this.outsideEvent)},normalizeWidthValue(n){const e=n==null?void 0:n.toString().trim();return e?e.includes("%")||e.includes("px")||e.includes("vw")||e.includes("vh")||e.includes("rem")||e.includes("em")||e.includes("auto")||e.includes("calc(")?e:`${e}%`:"100%"},getTitle(n){return In(n,this.editor.storage.defaultStorage.language)},showCaptionBox(){this.editor.isEditable&&(this.show.captionBox=!0,this.$nextTick(()=>{this.$refs.caption.focus()}))},newline(){this.editor.isEditable&&(this.editor.commands.focus(),this.editor.commands.insertContentAt(this.getPos()+this.node.nodeSize-1,"<br>"))}},beforeUnmount(){window.removeEventListener("click",this.outsideEvent)}},mM={class:"power-editor-media-control-btn-block"},gM={class:"power-editor-media-control-btn-block bottom"},bM={class:"power-editor-media-mask-block"};function _M(n,e,t,r,i,o){const s=v.resolveComponent("fv-button"),a=v.resolveComponent("fv-text-box");return v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["power-editor-media-container",[{dark:t.theme==="dark"},{"active-effects":i.active}]]),style:v.normalizeStyle({width:i.moveable?`${i.elWidthEnd}px`:o.normalizeWidthValue(i.currentWidth)})},[v.withDirectives(v.createElementVNode("div",{class:"power-editor-media-control-resize-block",onMousedown:e[0]||(e[0]=l=>o.forward(l,-1)),onMouseup:e[1]||(e[1]=(...l)=>o.stop&&o.stop(...l)),onTouchstart:e[2]||(e[2]=l=>o.forward(l.targetTouches[0],-1)),onTouchend:e[3]||(e[3]=(...l)=>o.stop&&o.stop(...l))},e[19]||(e[19]=[v.createElementVNode("i",null,null,-1)]),544),[[v.vShow,t.alignCenter&&(t.editor.isEditable||t.editor.storage.defaultStorage.showControlOnReadonly)]]),v.createElementVNode("div",{class:"power-editor-media-slot-container",onDblclick:e[4]||(e[4]=l=>n.$emit("container-dblclick",l)),onClick:e[5]||(e[5]=l=>n.$emit("container-click",l))},[v.renderSlot(n.$slots,"default",{},()=>[e[20]||(e[20]=v.createTextVNode(" Media Container "))])],32),v.withDirectives(v.createElementVNode("div",{class:"power-editor-media-control-resize-block sec",onMousedown:e[6]||(e[6]=(...l)=>o.forward&&o.forward(...l)),onMouseup:e[7]||(e[7]=(...l)=>o.stop&&o.stop(...l)),onTouchstart:e[8]||(e[8]=l=>o.forward(l.targetTouches[0])),onTouchend:e[9]||(e[9]=(...l)=>o.stop&&o.stop(...l))},e[21]||(e[21]=[v.createElementVNode("i",null,null,-1)]),544),[[v.vShow,t.editor.isEditable||t.editor.storage.defaultStorage.showControlOnReadonly]]),v.withDirectives(v.createElementVNode("div",{draggable:"true","data-drag-handle":"",class:"power-editor-media-drag-btn",onMousedown:e[10]||(e[10]=l=>i.active=!0),onMouseup:e[11]||(e[11]=l=>i.active=!1),onTouchstart:e[12]||(e[12]=l=>i.active=!0),onTouchend:e[13]||(e[13]=l=>i.active=!1)},e[22]||(e[22]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--GripperDotsVertical"},null,-1)]),544),[[v.vShow,t.editor.isEditable]]),v.withDirectives(v.createElementVNode("div",mM,[v.withDirectives(v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,fontSize:"10",title:o.getTitle("Caption"),onClick:o.showCaptionBox},{default:v.withCtx(()=>e[23]||(e[23]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--TextField"},null,-1)])),_:1,__:[23]},8,["background","theme","title","onClick"]),[[v.vShow,t.editor.isEditable]]),v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,fontSize:"10",title:o.getTitle("AlignLeft"),onClick:e[14]||(e[14]=l=>i.thisAlignCenter=!1)},{default:v.withCtx(()=>e[24]||(e[24]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--AlignLeft"},null,-1)])),_:1,__:[24]},8,["background","theme","title"]),v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,fontSize:"10",title:o.getTitle("AlignCenter"),onClick:e[15]||(e[15]=l=>i.thisAlignCenter=!0)},{default:v.withCtx(()=>e[25]||(e[25]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--AlignCenter"},null,-1)])),_:1,__:[25]},8,["background","theme","title"])],512),[[v.vShow,t.editor.isEditable||t.editor.storage.defaultStorage.showControlOnReadonly]]),v.withDirectives(v.createElementVNode("div",gM,[v.createVNode(s,{class:"power-editor-media-cmd-btn",background:t.theme==="dark"?"rgba(0, 0, 0, 0.8)":"rgba(255, 255, 255, 0.0)","border-radius":6,theme:t.theme,icon:"ReturnKeySm",fontSize:"10",title:o.getTitle("TextField"),style:{width:"60px"},onClick:o.newline},{default:v.withCtx(()=>[v.createTextVNode(v.toDisplayString(o.getTitle("Newline")),1)]),_:1},8,["background","theme","title","onClick"])],512),[[v.vShow,t.editor.isEditable]]),v.withDirectives(v.createElementVNode("div",bM,null,512),[[v.vShow,i.active]]),v.withDirectives(v.createElementVNode("p",{class:"power-editor-media-container-caption",onClick:e[16]||(e[16]=(...l)=>o.showCaptionBox&&o.showCaptionBox(...l))},v.toDisplayString(i.thisCaption),513),[[v.vShow,i.thisCaption!==""&&!i.show.captionBox]]),v.withDirectives(v.createVNode(a,{modelValue:i.thisCaption,"onUpdate:modelValue":e[17]||(e[17]=l=>i.thisCaption=l),theme:t.theme,class:"power-editor-media-caption-block",placeholder:o.getTitle("Write a caption..."),ref:"caption",background:"transparent",underline:"","border-width":2,"is-box-shadow":!0,"border-color":"rgba(200, 200, 200, 0.1)","focus-border-color":t.foreground,onKeyup:e[18]||(e[18]=v.withKeys(()=>{i.show.captionBox=!1,o.newline()},["enter"]))},null,8,["modelValue","theme","placeholder","focus-border-color"]),[[v.vShow,i.show.captionBox]])],6)}const Bh=Gt(pM,[["render",_M]]),yM={components:{NodeViewWrapper:Mi,mediaContainer:Bh},props:{editor:{type:Object},node:{type:Object},decorations:{type:Array},selected:{type:Boolean},extension:{type:Object},getPos:{type:Function},updateAttributes:{type:Function},deleteNode:{type:Function}},data(){return{statusInfo:{show:!1,progress:0,loading:!1,info:"",tmpSrc:"",tmpHeight:0,lock:!0},imgStatus:"init",previewImg:{scalePercent:"100",show:!1},thisTheme:this.editor.storage.defaultStorage.theme,thisLazyLoad:this.editor.storage.defaultStorage.imgLazyLoad,thisForeground:this.editor.storage.defaultStorage.foreground,thisImgPreview:this.editor.storage.defaultStorage.imgPreview,imgInterceptor:this.editor.storage.defaultStorage.imgInterceptor}},watch:{"node.attrs.src"(){this.imgInterceptorFunc()},"editor.storage.defaultStorage.theme"(n){this.thisTheme=n},"editor.storage.defaultStorage.imgLazyLoad"(n){this.thisLazyLoad=n},"editor.storage.defaultStorage.imgPreview"(n){this.thisImgPreview=n},"editor.storage.defaultStorage.foreground"(n){this.thisForeground=n},"editor.storage.defaultStorage.imgInterceptor"(n){this.imgInterceptor=n,this.imgInterceptorFunc()}},computed:{displayHeight(){var n,e;if(this.imgStatus==="init"||this.imgStatus==="error"){if(this.statusInfo.tmpHeight<=0){const t=(this.node.attrs.naturalWidth||0)/(this.node.attrs.naturalHeight||1e-6);return(((e=(n=this.$refs.mediaContainer)==null?void 0:n.$el)==null?void 0:e.clientWidth)||0)/t+"px"}return this.statusInfo.tmpHeight+"px"}return""}},mounted(){this.imgInterceptorFunc()},methods:{showStatus(n){this.statusInfo.show=n},updateStatus(n,e,t=""){this.statusInfo.loading=n,this.statusInfo.progress=e,this.statusInfo.info=t},getImage(){return this.node.attrs.src},interceptImage(n=""){return this.statusInfo.tmpSrc=this.node.attrs.src,this.updateAttributes({src:n}),this.statusInfo.tmpSrc},updateImage(n){this.updateAttributes({src:n})},updateLock(n){this.statusInfo.lock=n},imgInterceptorFunc(){let n={node:this.node,extension:this.extension,getPos:this.getPos,updateAttributes:this.updateAttributes,deleteNode:this.deleteNode,showStatus:this.showStatus,updateStatus:this.updateStatus,getImage:this.getImage,interceptImage:this.interceptImage,updateImage:this.updateImage,updateLock:this.updateLock};this.imgInterceptor&&this.imgInterceptor(n)},imgLoaded(n){var o;const e=(o=this.$el)==null?void 0:o.clientWidth,{naturalWidth:t,naturalHeight:r}=n,i=(t||0)/(r||1e-6);this.statusInfo.tmpHeight=e/i,this.imgStatus="loaded",this.updateAttributes({naturalWidth:t,naturalHeight:r})},imgError(){this.imgStatus="error"},preview(n="readonly"){this.editor.isEditable&&n!=="editable"||!this.editor.isEditable&&n!=="readonly"||this.node.attrs.src&&this.thisImgPreview&&(this.previewImg.show=!0)},scale(n,e){n.stopPropagation&&n.stopPropagation();let t=parseInt(this.previewImg.scalePercent);t+=e,t<50?t=50:t>200&&(t=200),this.previewImg.scalePercent=t.toString()},setScale(n,e){n.stopPropagation&&n.stopPropagation(),e<50?e=50:e>200&&(e=200),this.previewImg.scalePercent=e.toString()}}},vM={class:"power-editor-image-status-container"},wM={class:"power-editor-preview-img-container"};function xM(n,e,t,r,i,o){const s=v.resolveComponent("fv-image"),a=v.resolveComponent("fv-progress-ring"),l=v.resolveComponent("media-container"),c=v.resolveComponent("fv-img"),u=v.resolveComponent("fv-button"),d=v.resolveComponent("fv-text-box"),m=v.resolveComponent("node-view-wrapper");return t.node?(v.openBlock(),v.createBlock(m,{key:0,class:v.normalizeClass(["power-editor-image-container",[{dark:i.thisTheme==="dark"}]]),style:v.normalizeStyle({"justify-content":t.node.attrs.alignCenter?"center":"flex-start"})},{default:v.withCtx(()=>[v.createVNode(l,{width:t.node.attrs.width,"onUpdate:width":e[1]||(e[1]=b=>t.node.attrs.width=b),caption:t.node.attrs.caption,alignCenter:t.node.attrs.alignCenter,"onUpdate:alignCenter":e[2]||(e[2]=b=>t.node.attrs.alignCenter=b),editor:t.editor,theme:i.thisTheme,foreground:i.thisForeground,node:t.node,getPos:t.getPos,ref:"mediaContainer","onUpdate:caption":e[3]||(e[3]=b=>t.updateAttributes({caption:b})),onContainerDblclick:e[4]||(e[4]=b=>o.preview("editable")),onContainerClick:e[5]||(e[5]=b=>o.preview("readonly"))},{default:v.withCtx(()=>[v.createVNode(s,{src:t.node.attrs.src?t.node.attrs.src:i.statusInfo.tmpSrc?i.statusInfo.tmpSrc:"",ref:"image",onlazy:i.thisLazyLoad,style:v.normalizeStyle([{width:"100%",height:"auto"},{height:o.displayHeight}]),onLoad:o.imgLoaded,onError:o.imgError},null,8,["src","onlazy","style","onLoad","onError"]),v.withDirectives(v.createElementVNode("div",vM,[v.createVNode(a,{modelValue:i.statusInfo.progress,"onUpdate:modelValue":e[0]||(e[0]=b=>i.statusInfo.progress=b),loading:i.statusInfo.loading,r:"20",borderWidth:"3",color:i.thisTheme==="dark"?"white":"black",background:i.thisTheme==="dark"?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.3)"},null,8,["modelValue","loading","color","background"]),v.withDirectives(v.createElementVNode("p",{class:"power-editor-image-status-title"},v.toDisplayString(i.statusInfo.info),513),[[v.vShow,i.statusInfo.info]])],512),[[v.vShow,i.statusInfo.show]]),v.createElementVNode("div",{class:v.normalizeClass(["power-editor-image-selection-mask",[{selected:t.selected}]]),style:v.normalizeStyle({"--selected-bg":i.thisForeground})},null,6)]),_:1},8,["width","caption","alignCenter","editor","theme","foreground","node","getPos"]),v.createVNode(v.Transition,{name:"show-preview"},{default:v.withCtx(()=>[v.withDirectives(v.createElementVNode("div",{class:"power-editor-image-preview-block",onClick:e[12]||(e[12]=b=>i.previewImg.show=!1)},[v.createElementVNode("div",wM,[v.createVNode(c,{src:t.node.attrs.src,class:"power-editor-preview-img",style:v.normalizeStyle({scale:i.previewImg.scalePercent+"%",cursor:i.previewImg.scalePercent<150?"zoom-in":"zoom-out"}),onClickCapture:e[6]||(e[6]=b=>i.previewImg.scalePercent<100?o.setScale(b,100):i.previewImg.scalePercent<150?o.setScale(b,150):o.setScale(b,100))},null,8,["src","style"])]),v.createElementVNode("div",{class:"power-editor-preview-tool-bar",onClick:e[11]||(e[11]=b=>b.stopPropagation())},[v.createVNode(u,{class:"power-editor-preview-img-btn",theme:"dark",disabled:i.previewImg.scalePercent<=50,background:"rgba(36, 36, 36, 0.3)",onClick:e[7]||(e[7]=b=>o.scale(b,-50))},{default:v.withCtx(()=>e[13]||(e[13]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--CalculatorSubtract"},null,-1)])),_:1,__:[13]},8,["disabled"]),v.createVNode(d,{modelValue:i.previewImg.scalePercent,theme:"dark",underline:"","border-color":"rgba(120, 120, 120, 0.1)","focus-border-color":i.thisForeground,"border-width":2,"is-box-shadow":!0,suffix:"%",style:{width:"80px",height:"35px"},onDebounceInput:e[8]||(e[8]=b=>o.setScale(b,b))},null,8,["modelValue","focus-border-color"]),v.createVNode(u,{class:"power-editor-preview-img-btn",theme:"dark",disabled:i.previewImg.scalePercent>=200,background:"rgba(36, 36, 36, 0.3)","border-color":"transparent",onClick:e[9]||(e[9]=b=>o.scale(b,50))},{default:v.withCtx(()=>e[14]||(e[14]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--CalculatorAddition"},null,-1)])),_:1,__:[14]},8,["disabled"]),v.createVNode(u,{class:"power-editor-preview-img-btn",theme:"dark",background:"rgba(36, 36, 36, 0.3)",onClick:e[10]||(e[10]=b=>i.previewImg.show=!1)},{default:v.withCtx(()=>e[15]||(e[15]=[v.createElementVNode("i",{class:"ms-Icon ms-Icon--BackToWindow"},null,-1)])),_:1,__:[15]})])],512),[[v.vShow,i.previewImg.show]])]),_:1})]),_:1},8,["class","style"])):v.createCommentVNode("",!0)}const kM=Gt(yM,[["render",xM]]),SM=xt.create({name:"imageblock",group:"block",draggable:!0,atom:!0,addAttributes(){return{src:{default:""},width:{default:"100%"},naturalWidth:{default:1},naturalHeight:{default:1},caption:{default:""},alignCenter:{default:!0}}},parseHTML(){return[{tag:"img[src]"}]},renderHTML({HTMLAttributes:n}){return["img",$e(this.options.HTMLAttributes,n)]},addNodeView(){return ti(kM)}}),CM={components:{NodeViewWrapper:Mi,mediaContainer:Bh},props:{editor:{type:Object},node:{type:Object},decorations:{type:Array},selected:{type:Boolean},extension:{type:Object},getPos:{type:Function},updateAttributes:{type:Function},deleteNode:{type:Function}},data(){return{width:0,thisTheme:this.editor.storage.defaultStorage.theme,thisForeground:this.editor.storage.defaultStorage.foreground,timer:{}}},watch:{"editor.storage.defaultStorage.theme"(n){this.thisTheme=n},"editor.storage.defaultStorage.foreground"(n){this.thisForeground=n}},mounted(){this.timerInit()},methods:{timerInit(){this.timer=setInterval(()=>{this.width=this.$refs.media.$el.clientWidth},300)}},beforeUnmount(){clearInterval(this.timer)}},EM=["src"];function TM(n,e,t,r,i,o){const s=v.resolveComponent("media-container"),a=v.resolveComponent("node-view-wrapper");return t.node?(v.openBlock(),v.createBlock(a,{key:0,class:"power-editor-embed-container",style:v.normalizeStyle({"justify-content":t.node.attrs.alignCenter?"center":"flex-start"})},{default:v.withCtx(()=>[v.createVNode(s,{width:t.node.attrs.width,"onUpdate:width":e[0]||(e[0]=l=>t.node.attrs.width=l),caption:t.node.attrs.caption,alignCenter:t.node.attrs.alignCenter,"onUpdate:alignCenter":e[1]||(e[1]=l=>t.node.attrs.alignCenter=l),editor:t.editor,theme:i.thisTheme,foreground:i.thisForeground,node:t.node,getPos:t.getPos,ref:"media","onUpdate:caption":e[2]||(e[2]=l=>t.updateAttributes({caption:l}))},{default:v.withCtx(()=>[v.createElementVNode("iframe",{src:t.node.attrs.src,frameborder:"0",allowfullscreen:"",style:v.normalizeStyle([{width:"100%",height:"auto"},{height:`${i.width/1.778}px`}])},null,12,EM)]),_:1},8,["width","caption","alignCenter","editor","theme","foreground","node","getPos"])]),_:1},8,["style"])):v.createCommentVNode("",!0)}const AM=Gt(CM,[["render",TM]]),MM=xt.create({name:"embedblock",group:"block",draggable:!0,atom:!0,addAttributes(){return{src:{default:""},width:{default:"100%"},caption:{default:""},alignCenter:{default:!0}}},parseHTML(){return[{tag:"embed-block"}]},renderHTML({HTMLAttributes:n}){return["embed-block",$e(n)]},addNodeView(){return ti(AM)}});function Jl({find:n,type:e,getAttributes:t}){return new v1({find:n,handler({match:r,chain:i,range:o}){const s=Xe(t,void 0,r);if(s===!1||s===null)return null;if(r.input){const{from:a,to:l}=o;s.powerContent?i().deleteRange(o).insertContentAt(a,[{type:e.name,attrs:s,content:s.powerContent}]):i().deleteRange(o).insertContentAt(a,[{type:e.name,attrs:s}])}}})}const NM=/^-(\[([ |x])\])\s$/,DM=/^-(\s*)(\[([ |x])\])\s+(.*)/g,RM=xt.create({name:"powerTaskList",group:"block list",content:"powerTaskItem+",parseHTML(){return[{tag:'ul[data-type="powerTaskList"]',priority:51}]},renderHTML({HTMLAttributes:n}){return["ul",$e(n,{"data-type":this.name}),0]},addCommands(){return{togglePowerTaskList:()=>({commands:n})=>n.toggleList("powerTaskList","powerTaskItem"),setPowerTaskList:()=>({editor:n,commands:e})=>{if(!n.isActive("powerTaskList"))return e.toggleList("powerTaskList","powerTaskItem")}}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.togglePowerTaskList()}},addInputRules(){return[Jr({find:NM,type:this.type,getAttributes:n=>({checked:n[n.length-1]==="x",theme:this.editor.storage.defaultStorage.theme})})]},addPasteRules(){return[Jl({find:DM,type:this.type,getAttributes:n=>({powerContent:[{type:"powerTaskItem",content:[{type:"paragraph",content:[{type:"text",text:n[4]}]}],attrs:{checked:n[3]==="x",theme:this.editor.storage.defaultStorage.theme}}]})})]}}),IM={components:{NodeViewWrapper:Mi,NodeViewContent:O1},props:{editor:{type:Object},node:{type:Object},decorations:{type:Array},selected:{type:Boolean},extension:{type:Object},getPos:{type:Function},updateAttributes:{type:Function},deleteNode:{type:Function}},data(){return{thisTheme:this.editor.storage.defaultStorage.theme,thisForeground:this.editor.storage.defaultStorage.foreground,timer:{}}},watch:{"editor.storage.defaultStorage.theme"(n){this.thisTheme=n},"editor.storage.defaultStorage.foreground"(n){this.thisForeground=n}},mounted(){},methods:{preventEnter(n){console.log(n)},updateValue(n){this.updateAttributes({checked:n})}},beforeUnmount(){clearInterval(this.timer)}};function OM(n,e,t,r,i,o){const s=v.resolveComponent("fv-check-box"),a=v.resolveComponent("node-view-content"),l=v.resolveComponent("node-view-wrapper");return t.node?(v.openBlock(),v.createBlock(l,{key:0,as:"li",class:"power-editor-task-item-container"},{default:v.withCtx(()=>[v.createVNode(s,{modelValue:t.node.attrs.checked,"onUpdate:modelValue":e[0]||(e[0]=c=>t.node.attrs.checked=c),theme:i.thisTheme,disabled:!t.editor.isEditable,background:i.thisForeground,contenteditable:"false",onClick:o.updateValue},null,8,["modelValue","theme","disabled","background","onClick"]),v.createVNode(a,{ref:"n",class:"power-editor-task-item-content"},null,512)]),_:1})):v.createCommentVNode("",!0)}const LM=Gt(IM,[["render",OM]]),PM=/^\s*(\[([ |x])\])\s$/,BM=/^(\s*)(\[([ |x])\])\s+(.*)/g,FM=xt.create({name:"powerTaskItem",group:"block",content:"paragraph block*",draggable:!0,addAttributes(){return{value:{default:""},checked:{default:!1},placeholder:{default:"To-Do"}}},parseHTML(){return[{tag:'li[data-type="powerTaskItem"]',priority:51}]},renderHTML({HTMLAttributes:n}){return["li",$e(this.options.HTMLAttributes,n,{"data-type":"powerTaskItem"}),0]},addKeyboardShortcuts(){const n={Enter:()=>this.editor.commands.splitListItem("powerTaskItem"),"Shift-Tab":()=>this.editor.commands.liftListItem("powerTaskItem")};return this.options.nested?{...n,Tab:()=>this.editor.commands.sinkListItem("powerTaskItem")}:n},addNodeView(){return ti(LM)},addInputRules(){return[Jr({find:PM,type:this.type,getAttributes:n=>({checked:n[n.length-1]==="x",theme:this.editor.storage.defaultStorage.theme})})]},addPasteRules(){return[Jl({find:BM,type:this.type,getAttributes:n=>({powerContent:[{type:"paragraph",content:[{type:"text",text:n[4]}]}],checked:n[3]==="x",theme:this.editor.storage.defaultStorage.theme})})]}});var Fh,pv;function zM(){if(pv)return Fh;pv=1;var n=[],e=function(a){return typeof a>"u"},t=/\s*(\.\d+|\d+(?:\.\d+)?)(%|deg)?\s*/,r=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,i=new RegExp("^(rgb|hsl|hsv)a?\\("+t.source+"[, ]"+t.source+"[, ]"+t.source+"(?:[,/]"+t.source+")?\\)$","i");function o(a,l,c){if(a==="%")return 100;if(a==="deg"||c&&l===0)return 360;if(!a)return 255}function s(a){if(Array.isArray(a)){if(typeof a[0]=="string"&&typeof s[a[0]]=="function")return new s[a[0]](a.slice(1,a.length));if(a.length===4)return new s.RGB(a[0]/255,a[1]/255,a[2]/255,a[3]/255)}else if(typeof a=="string"){var l=a.toLowerCase();s.namedColors[l]&&(a="#"+s.namedColors[l]),l==="transparent"&&(a="rgba(0,0,0,0)");var c=a.match(i);if(c){var u=c[1].toUpperCase(),d=u[0]==="H";if(e(s[u]))throw new Error("color."+u+" is not installed.");let f=e(c[8])?1:void 0;return f===void 0&&(c[9]==="%"?f=parseFloat(c[8])/100:f=parseFloat(c[8])),new s[u](parseFloat(c[2])/o(c[3],0,d),parseFloat(c[4])/o(c[5],1,d),parseFloat(c[6])/o(c[7],2,d),f)}a.length<6&&(a=a.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,"$1$1$2$2$3$3$4$4"));var m=a.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])?$/i);if(m)return new s.RGB(parseInt(m[1],16)/255,parseInt(m[2],16)/255,parseInt(m[3],16)/255,m[4]?parseInt(m[4],16)/255:1);if(s.CMYK){var b=a.match(new RegExp("^cmyk\\("+r.source+","+r.source+","+r.source+","+r.source+"\\)$","i"));if(b)return new s.CMYK(parseFloat(b[1])/100,parseFloat(b[2])/100,parseFloat(b[3])/100,parseFloat(b[4])/100)}}else if(typeof a=="object"&&a.isColor)return a;return!1}return s.namedColors={},s.installColorSpace=function(a,l,c){s[a]=function(f){var y=Array.isArray(f)?f:arguments;l.forEach(function(w,k){var E=y[k];if(w==="alpha")this._alpha=isNaN(E)||E>1?1:E<0?0:E;else{if(isNaN(E))throw new Error("["+a+"]: Invalid color: ("+l.join(",")+")");w==="hue"?this._hue=E<0?E-Math.floor(E):E%1:this["_"+w]=E<0?0:E>1?1:E}},this)},s[a].propertyNames=l;var u=s[a].prototype;["valueOf","hex","hexa","css","cssa"].forEach(function(f){u[f]=u[f]||(a==="RGB"?u.hex:function(){return this.rgb()[f]()})}),u.isColor=!0,u.equals=function(f,y){e(y)&&(y=1e-10),f=f[a.toLowerCase()]();for(var w=0;w<l.length;w=w+1)if(Math.abs(this["_"+l[w]]-f["_"+l[w]])>y)return!1;return!0},u.toJSON=function(){return[a].concat(l.map(function(f){return this["_"+f]},this))};for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)){var m=d.match(/^from(.*)$/);m?s[m[1].toUpperCase()].prototype[a.toLowerCase()]=c[d]:u[d]=c[d]}u[a.toLowerCase()]=function(){return this},u.toString=function(){return"["+a+" "+l.map(function(f){return this["_"+f]},this).join(", ")+"]"},l.forEach(function(f){var y=f==="black"?"k":f.charAt(0);u[f]=u[y]=function(w,k){return typeof w>"u"?this["_"+f]:k?new this.constructor(l.map(function(E){return this["_"+E]+(f===E?w:0)},this)):new this.constructor(l.map(function(E){return f===E?w:this["_"+E]},this))}});function b(f,y){var w={};w[y.toLowerCase()]=function(){return this.rgb()[y.toLowerCase()]()},s[y].propertyNames.forEach(function(E){var S=E==="black"?"k":E.charAt(0);w[E]=w[S]=function(D,R){return this[y.toLowerCase()]()[E](D,R)}});for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&s[f].prototype[k]===void 0&&(s[f].prototype[k]=w[k])}return n.forEach(function(f){b(a,f),b(f,a)}),n.push(a),s},s.pluginList=[],s.use=function(a){return s.pluginList.indexOf(a)===-1&&(this.pluginList.push(a),a(s)),s},s.installMethod=function(a,l){return n.forEach(function(c){s[c].prototype[a]=l}),this},s.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var a=(Math.round(255*this._red)*65536+Math.round(255*this._green)*256+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-a.length)+a},hexa:function(){var a=Math.round(this._alpha*255).toString(16);return this.hex()+"00".substr(0,2-a.length)+a},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),Fh=s,Fh}var zh,mv;function gv(){return mv||(mv=1,zh=function(e){e.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var t=function(s){return s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92},r=t(this._red),i=t(this._green),o=t(this._blue);return new e.XYZ(r*.4124564+i*.3575761+o*.1804375,r*.2126729+i*.7151522+o*.072175,r*.0193339+i*.119192+o*.9503041,this._alpha)},rgb:function(){var t=this._x,r=this._y,i=this._z,o=function(s){return s>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s};return new e.RGB(o(t*3.2404542+r*-1.5371385+i*-.4985314),o(t*-.969266+r*1.8760108+i*.041556),o(t*.0556434+r*-.2040259+i*1.0572252),this._alpha)},lab:function(){var t=function(s){return s>.008856?Math.pow(s,.3333333333333333):7.787037*s+.13793103448275862},r=t(this._x/95.047),i=t(this._y/100),o=t(this._z/108.883);return new e.LAB(116*i-16,500*(r-i),200*(i-o),this._alpha)}})}),zh}var qh,bv;function qM(){return bv||(bv=1,qh=function(e){e.use(gv()),e.installColorSpace("LAB",["l","a","b","alpha"],{fromRgb:function(){return this.xyz().lab()},rgb:function(){return this.xyz().rgb()},xyz:function(){var t=function(s){var a=Math.pow(s,3);return a>.008856?a:(s-.13793103448275862)/7.87},r=(this._l+16)/116,i=this._a/500+r,o=r-this._b/200;return new e.XYZ(t(i)*95.047,t(r)*100,t(o)*108.883,this._alpha)}})}),qh}var Hh,_v;function yv(){return _v||(_v=1,Hh=function(e){e.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var t=this._hue,r=this._saturation,i=this._value,o=Math.min(5,Math.floor(t*6)),s=t*6-o,a=i*(1-r),l=i*(1-s*r),c=i*(1-(1-s)*r),u,d,m;switch(o){case 0:u=i,d=c,m=a;break;case 1:u=l,d=i,m=a;break;case 2:u=a,d=i,m=c;break;case 3:u=a,d=l,m=i;break;case 4:u=c,d=a,m=i;break;case 5:u=i,d=a,m=l;break}return new e.RGB(u,d,m,this._alpha)},hsl:function(){var t=(2-this._saturation)*this._value,r=this._saturation*this._value,i=t<=1?t:2-t,o;return i<1e-9?o=0:o=r/i,new e.HSL(this._hue,o,t/2,this._alpha)},fromRgb:function(){var t=this._red,r=this._green,i=this._blue,o=Math.max(t,r,i),s=Math.min(t,r,i),a=o-s,l,c=o===0?0:a/o,u=o;if(a===0)l=0;else switch(o){case t:l=(r-i)/a/6+(r<i?1:0);break;case r:l=(i-t)/a/6+1/3;break;case i:l=(t-r)/a/6+2/3;break}return new e.HSV(l,c,u,this._alpha)}})}),Hh}var Vh,vv;function wo(){return vv||(vv=1,Vh=function(e){e.use(yv()),e.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var t=this._lightness*2,r=this._saturation*(t<=1?t:2-t),i;return t+r<1e-9?i=0:i=2*r/(t+r),new e.HSV(this._hue,i,(t+r)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}),Vh}var Uh,wv;function HM(){return wv||(wv=1,Uh=function(e){e.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new e.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var t=this._red,r=this._green,i=this._blue,o=1-t,s=1-r,a=1-i,l=1;return t||r||i?(l=Math.min(o,Math.min(s,a)),o=(o-l)/(1-l),s=(s-l)/(1-l),a=(a-l)/(1-l)):l=1,new e.CMYK(o,s,a,l,this._alpha)}})}),Uh}var Gh,xv;function VM(){return xv||(xv=1,Gh=function(e){e.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}),Gh}var $h,kv;function UM(){return kv||(kv=1,$h=function(e){e.installMethod("clearer",function(t){return this.alpha(isNaN(t)?-.1:-t,!0)})}),$h}var Wh,Sv;function Cv(){return Sv||(Sv=1,Wh=function(e){function t(r){return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}e.installMethod("luminance",function(){var r=this.rgb();return .2126*t(r._red)+.7152*t(r._green)+.0722*t(r._blue)})}),Wh}var Kh,Ev;function GM(){return Ev||(Ev=1,Kh=function(e){e.use(Cv()),e.installMethod("contrast",function(t){var r=this.luminance(),i=t.luminance();return r>i?(r+.05)/(i+.05):(i+.05)/(r+.05)})}),Kh}var jh,Tv;function $M(){return Tv||(Tv=1,jh=function(e){e.use(wo()),e.installMethod("darken",function(t){return this.lightness(isNaN(t)?-.1:-t,!0)})}),jh}var Qh,Av;function WM(){return Av||(Av=1,Qh=function(e){e.use(wo()),e.installMethod("desaturate",function(t){return this.saturation(isNaN(t)?-.1:-t,!0)})}),Qh}var Yh,Mv;function KM(){return Mv||(Mv=1,Yh=function(e){function t(){var r=this.rgb(),i=r._red*.3+r._green*.59+r._blue*.11;return new e.RGB(i,i,i,r._alpha)}e.installMethod("greyscale",t).installMethod("grayscale",t)}),Yh}var Zh,Nv;function Dv(){return Nv||(Nv=1,Zh=function(e){e.installMethod("isDark",function(){var t=this.rgb(),r=(t._red*255*299+t._green*255*587+t._blue*255*114)/1e3;return r<128})}),Zh}var Xh,Rv;function jM(){return Rv||(Rv=1,Xh=function(e){e.use(Dv()),e.installMethod("isLight",function(){return!this.isDark()})}),Xh}var Jh,Iv;function QM(){return Iv||(Iv=1,Jh=function(e){e.use(wo()),e.installMethod("lighten",function(t){return this.lightness(isNaN(t)?.1:t,!0)})}),Jh}var ef,Ov;function YM(){return Ov||(Ov=1,ef=function(e){e.installMethod("mix",function(t,r){t=e(t).rgb(),r=1-(isNaN(r)?.5:r);var i=r*2-1,o=this._alpha-t._alpha,s=((i*o===-1?i:(i+o)/(1+i*o))+1)/2,a=1-s,l=this.rgb();return new e.RGB(l._red*s+t._red*a,l._green*s+t._green*a,l._blue*s+t._blue*a,l._alpha*r+t._alpha*(1-r))})}),ef}var tf,Lv;function ZM(){return Lv||(Lv=1,tf=function(e){e.installMethod("negate",function(){var t=this.rgb();return new e.RGB(1-t._red,1-t._green,1-t._blue,this._alpha)})}),tf}var nf,Pv;function XM(){return Pv||(Pv=1,nf=function(e){e.installMethod("opaquer",function(t){return this.alpha(isNaN(t)?.1:t,!0)})}),nf}var rf,Bv;function JM(){return Bv||(Bv=1,rf=function(e){e.use(wo()),e.installMethod("rotate",function(t){return this.hue((t||0)/360,!0)})}),rf}var of,Fv;function eN(){return Fv||(Fv=1,of=function(e){e.use(wo()),e.installMethod("saturate",function(t){return this.saturation(isNaN(t)?.1:t,!0)})}),of}var sf,zv;function tN(){return zv||(zv=1,sf=function(e){e.installMethod("toAlpha",function(t){var r=this.rgb(),i=t(t).rgb(),o=1e-10,s=new t.RGB(0,0,0,r._alpha),a=["_red","_green","_blue"];return a.forEach(function(l){r[l]<o?s[l]=r[l]:r[l]>i[l]?s[l]=(r[l]-i[l])/(1-i[l]):r[l]>i[l]?s[l]=(i[l]-r[l])/i[l]:s[l]=0}),s._red>s._green?s._red>s._blue?r._alpha=s._red:r._alpha=s._blue:s._green>s._blue?r._alpha=s._green:r._alpha=s._blue,r._alpha<o||(a.forEach(function(l){r[l]=(r[l]-i[l])/r._alpha+i[l]}),r._alpha*=s._alpha),r})}),sf}var af,qv;function nN(){return qv||(qv=1,af=zM().use(gv()).use(qM()).use(yv()).use(wo()).use(HM()).use(VM()).use(UM()).use(GM()).use($M()).use(WM()).use(KM()).use(Dv()).use(jM()).use(QM()).use(Cv()).use(YM()).use(ZM()).use(XM()).use(JM()).use(eN()).use(tN())),af}var rN=nN();const ec=or(rN);var tc={exports:{}},iN=tc.exports,Hv;function oN(){return Hv||(Hv=1,function(n,e){(function(r,i){n.exports=i()})(typeof self<"u"?self:iN,function(){return function(){var t={};(function(){t.d=function(A,h){for(var p in h)t.o(h,p)&&!t.o(A,p)&&Object.defineProperty(A,p,{enumerable:!0,get:h[p]})}})(),function(){t.o=function(A,h){return Object.prototype.hasOwnProperty.call(A,h)}}();var r={};t.d(r,{default:function(){return CP}});var i=function A(h,p){this.position=void 0;var g="KaTeX parse error: "+h,_,x=p&&p.loc;if(x&&x.start<=x.end){var T=x.lexer.input;_=x.start;var I=x.end;_===T.length?g+=" at end of input: ":g+=" at position "+(_+1)+": ";var P=T.slice(_,I).replace(/[^]/g,"$&̲"),z;_>15?z="…"+T.slice(_-15,_):z=T.slice(0,_);var G;I+15<T.length?G=T.slice(I,I+15)+"…":G=T.slice(I),g+=z+P+G}var Z=new Error(g);return Z.name="ParseError",Z.__proto__=A.prototype,Z.position=_,Z};i.prototype.__proto__=Error.prototype;var o=i,s=function(h,p){return h.indexOf(p)!==-1},a=function(h,p){return h===void 0?p:h},l=/([A-Z])/g,c=function(h){return h.replace(l,"-$1").toLowerCase()},u={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},d=/[&><"']/g;function m(A){return String(A).replace(d,function(h){return u[h]})}var b=function A(h){return h.type==="ordgroup"||h.type==="color"?h.body.length===1?A(h.body[0]):h:h.type==="font"?A(h.body):h},f=function(h){var p=b(h);return p.type==="mathord"||p.type==="textord"||p.type==="atom"},y=function(h){if(!h)throw new Error("Expected non-null, but got "+String(h));return h},w=function(h){var p=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(h);return p!=null?p[1]:"_relative"},k={contains:s,deflt:a,escape:m,hyphenate:c,getBaseElem:b,isCharacterBox:f,protocolFromUrl:w},E=function(){function A(p){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,p=p||{},this.displayMode=k.deflt(p.displayMode,!1),this.output=k.deflt(p.output,"htmlAndMathml"),this.leqno=k.deflt(p.leqno,!1),this.fleqn=k.deflt(p.fleqn,!1),this.throwOnError=k.deflt(p.throwOnError,!0),this.errorColor=k.deflt(p.errorColor,"#cc0000"),this.macros=p.macros||{},this.minRuleThickness=Math.max(0,k.deflt(p.minRuleThickness,0)),this.colorIsTextColor=k.deflt(p.colorIsTextColor,!1),this.strict=k.deflt(p.strict,"warn"),this.trust=k.deflt(p.trust,!1),this.maxSize=Math.max(0,k.deflt(p.maxSize,1/0)),this.maxExpand=Math.max(0,k.deflt(p.maxExpand,1e3)),this.globalGroup=k.deflt(p.globalGroup,!1)}var h=A.prototype;return h.reportNonstrict=function(g,_,x){var T=this.strict;if(typeof T=="function"&&(T=T(g,_,x)),!(!T||T==="ignore")){if(T===!0||T==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(_+" ["+g+"]"),x);T==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(_+" ["+g+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+T+"': "+_+" ["+g+"]"))}},h.useStrictBehavior=function(g,_,x){var T=this.strict;if(typeof T=="function")try{T=T(g,_,x)}catch{T="error"}return!T||T==="ignore"?!1:T===!0||T==="error"?!0:T==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(_+" ["+g+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+T+"': "+_+" ["+g+"]")),!1)},h.isTrusted=function(g){g.url&&!g.protocol&&(g.protocol=k.protocolFromUrl(g.url));var _=typeof this.trust=="function"?this.trust(g):this.trust;return!!_},A}(),S=function(){function A(p,g,_){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=p,this.size=g,this.cramped=_}var h=A.prototype;return h.sup=function(){return Y[ne[this.id]]},h.sub=function(){return Y[$[this.id]]},h.fracNum=function(){return Y[Q[this.id]]},h.fracDen=function(){return Y[ie[this.id]]},h.cramp=function(){return Y[re[this.id]]},h.text=function(){return Y[ue[this.id]]},h.isTight=function(){return this.size>=2},A}(),D=0,R=1,L=2,q=3,H=4,U=5,F=6,j=7,Y=[new S(D,0,!1),new S(R,0,!0),new S(L,1,!1),new S(q,1,!0),new S(H,2,!1),new S(U,2,!0),new S(F,3,!1),new S(j,3,!0)],ne=[H,U,H,U,F,j,F,j],$=[U,U,U,U,j,j,j,j],Q=[L,q,H,U,F,j,F,j],ie=[q,q,U,U,j,j,j,j],re=[R,R,q,q,U,U,j,j],ue=[D,R,L,q,L,q,L,q],X={DISPLAY:Y[D],TEXT:Y[L],SCRIPT:Y[H],SCRIPTSCRIPT:Y[F]},te=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function fe(A){for(var h=0;h<te.length;h++)for(var p=te[h],g=0;g<p.blocks.length;g++){var _=p.blocks[g];if(A>=_[0]&&A<=_[1])return p.name}return null}var be=[];te.forEach(function(A){return A.blocks.forEach(function(h){return be.push.apply(be,h)})});function Ce(A){for(var h=0;h<be.length;h+=2)if(A>=be[h]&&A<=be[h+1])return!0;return!1}var qe=80,pt=function(h,p){return"M95,"+(622+h+p)+`
204
204
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
205
205
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
206
206
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@creatorsn/powereditor3",
3
3
  "private": false,
4
- "version": "0.2.4",
4
+ "version": "0.2.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },