officialblock 3.3.4 → 3.3.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.
@@ -1,4 +1,4 @@
1
- "use strict";var k0=Object.defineProperty;var T0=(e,t,r)=>t in e?k0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ur=(e,t,r)=>T0(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const pe=require("vue"),Ac=require("@wangeditor/editor-for-vue"),Ze=require("@wangeditor/editor"),fe=require("./index-D3106Kcf.js");function Bc(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function rl(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(r){typeof e[r]>"u"?e[r]=t[r]:Bc(t[r])&&Bc(e[r])&&Object.keys(t[r]).length>0&&rl(e[r],t[r])})}var Gh={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ha(){var e=typeof document<"u"?document:{};return rl(e,Gh),e}var j0={document:Gh,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout>"u"||clearTimeout(e)}};function Mr(){var e=typeof window<"u"?window:{};return rl(e,j0),e}function R0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function _o(e,t){return _o=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_o(e,t)}function N0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Eo(e,t,r){return N0()?Eo=Reflect.construct:Eo=function(i,o,a){var u=[null];u.push.apply(u,o);var s=Function.bind.apply(i,u),l=new s;return a&&_o(l,a.prototype),l},Eo.apply(null,arguments)}function $0(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function is(e){var t=typeof Map=="function"?new Map:void 0;return is=function(n){if(n===null||!$0(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Eo(n,arguments,ns(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),_o(i,n)},is(e)}function L0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M0(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(n){t.__proto__=n}})}var Br=function(e){R0(t,e);function t(r){var n;return n=e.call.apply(e,[this].concat(r))||this,M0(L0(n)),n}return t}(is(Array));function pa(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(r){Array.isArray(r)?t.push.apply(t,pa(r)):t.push(r)}),t}function I0(e,t){return Array.prototype.filter.call(e,t)}function U0(e){for(var t=[],r=0;r<e.length;r+=1)t.indexOf(e[r])===-1&&t.push(e[r]);return t}function H0(e){return e.toLowerCase().replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function z0(e,t){if(typeof e!="string")return[e];for(var r=[],n=t.querySelectorAll(e),i=0;i<n.length;i+=1)r.push(n[i]);return r}function j(e,t){var r=Mr(),n=ha(),i=[];if(!t&&e instanceof Br)return e;if(!e)return new Br(i);if(typeof e=="string"){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var a="div";o.indexOf("<li")===0&&(a="ul"),o.indexOf("<tr")===0&&(a="tbody"),(o.indexOf("<td")===0||o.indexOf("<th")===0)&&(a="tr"),o.indexOf("<tbody")===0&&(a="table"),o.indexOf("<option")===0&&(a="select");var u=n.createElement(a);u.innerHTML=o;for(var s=0;s<u.childNodes.length;s+=1)i.push(u.childNodes[s])}else i=z0(e.trim(),t||n)}else if(e.nodeType||e===r||e===n)i.push(e);else if(Array.isArray(e)){if(e instanceof Br)return e;i=e}return new Br(U0(i))}j.fn=Br.prototype;function Po(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=pa(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).add.apply(o,n)}),this}function ko(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=pa(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).remove.apply(o,n)}),this}function Fc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=pa(t.map(function(i){return i.split(" ")}));return I0(this,function(i){return n.filter(function(o){return i.classList.contains(o)}).length>0}).length>0}function To(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var r=0;r<this.length;r+=1)if(arguments.length===2)this[r].setAttribute(e,t);else for(var n in e)this[r][n]=e[n],this[r].setAttribute(n,e[n]);return this}function xc(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function jo(){var e=this[0];if(e){var t={};if(e.dataset)for(var r in e.dataset)t[r]=e.dataset[r];else for(var n=0;n<e.attributes.length;n+=1){var i=e.attributes[n];i.name.indexOf("data-")>=0&&(t[H0(i.name.split("data-")[1])]=i.value)}for(var o in t)t[o]==="false"?t[o]=!1:t[o]==="true"?t[o]=!0:parseFloat(t[o])===t[o]*1&&(t[o]*=1);return t}}function Ro(e){if(typeof e>"u"){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var r=[],n=0;n<t.selectedOptions.length;n+=1)r.push(t.selectedOptions[n].value);return r}return t.value}for(var i=0;i<this.length;i+=1){var o=this[i];if(Array.isArray(e)&&o.multiple&&o.nodeName.toLowerCase()==="select")for(var a=0;a<o.options.length;a+=1)o.options[a].selected=e.indexOf(o.options[a].value)>=0;else o.value=e}return this}function No(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];typeof t[1]=="function"&&(n=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);function u(g){var v=g.target;if(v){var D=g.target.dom7EventData||[];if(D.indexOf(g)<0&&D.unshift(g),j(v).is(i))o.apply(v,D);else for(var C=j(v).parents(),b=0;b<C.length;b+=1)j(C[b]).is(i)&&o.apply(C[b],D)}}function s(g){var v=g&&g.target?g.target.dom7EventData||[]:[];v.indexOf(g)<0&&v.unshift(g),o.apply(this,v)}for(var l=n.split(" "),f,c=0;c<this.length;c+=1){var d=this[c];if(i)for(f=0;f<l.length;f+=1){var h=l[f];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[h]||(d.dom7LiveListeners[h]=[]),d.dom7LiveListeners[h].push({listener:o,proxyListener:u}),d.addEventListener(h,u,a)}else for(f=0;f<l.length;f+=1){var p=l[f];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[p]||(d.dom7Listeners[p]=[]),d.dom7Listeners[p].push({listener:o,proxyListener:s}),d.addEventListener(p,s,a)}}return this}function Oc(){var e=Mr();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function Sc(){var e=Mr();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function _c(){if(this.length>0){var e=Mr(),t=ha(),r=this[0],n=r.getBoundingClientRect(),i=t.body,o=r.clientTop||i.clientTop||0,a=r.clientLeft||i.clientLeft||0,u=r===e?e.scrollY:r.scrollTop,s=r===e?e.scrollX:r.scrollLeft;return{top:n.top+u-o,left:n.left+s-a}}return null}function Pc(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function kc(){for(var e=Mr(),t=0;t<this.length;t+=1){var r=this[t];r.style.display==="none"&&(r.style.display=""),e.getComputedStyle(r,null).getPropertyValue("display")==="none"&&(r.style.display="block")}return this}function Tc(e,t){var r=Mr(),n;if(arguments.length===1)if(typeof e=="string"){if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function $o(e){return e?(this.forEach(function(t,r){e.apply(t,[t,r])}),this):this}function Lo(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function jc(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function Rc(e){var t=Mr(),r=ha(),n=this[0],i,o;if(!n||typeof e>"u")return!1;if(typeof e=="string"){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(i=j(e),o=0;o<i.length;o+=1)if(i[o]===n)return!0;return!1}if(e===r)return n===r;if(e===t)return n===t;if(e.nodeType||e instanceof Br){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===n)return!0;return!1}return!1}function Mo(){for(var e,t=ha(),r=0;r<arguments.length;r+=1){e=r<0||arguments.length<=r?void 0:arguments[r];for(var n=0;n<this.length;n+=1)if(typeof e=="string"){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[n].appendChild(i.firstChild)}else if(e instanceof Br)for(var o=0;o<e.length;o+=1)this[n].appendChild(e[o]);else this[n].appendChild(e)}return this}function Nc(e){for(var t=[],r=0;r<this.length;r+=1)this[r].parentNode!==null&&(e?j(this[r].parentNode).is(e)&&t.push(this[r].parentNode):t.push(this[r].parentNode));return j(t)}function $c(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].parentNode;n;)e?j(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return j(t)}function Io(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].querySelectorAll(e),i=0;i<n.length;i+=1)t.push(n[i]);return j(t)}function Uo(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].children,i=0;i<n.length;i+=1)(!e||j(n[i]).is(e))&&t.push(n[i]);return j(t)}function Lc(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Mc(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var r=0;r<t.childNodes.length;r+=1)t.childNodes[r].parentNode&&t.childNodes[r].parentNode.removeChild(t.childNodes[r]);t.textContent=""}}return this}var W0="resize scroll".split(" ");function q0(e){function t(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if(typeof n[0]>"u"){for(var o=0;o<this.length;o+=1)W0.indexOf(e)<0&&(e in this[o]?this[o][e]():j(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}return t}var Ho=q0("focus");Mo&&(j.fn.append=Mo);No&&(j.fn.on=No);Ho&&(j.fn.focus=Ho);To&&(j.fn.attr=To);Ro&&(j.fn.val=Ro);Lo&&(j.fn.html=Lo);jo&&(j.fn.dataset=jo);Po&&(j.fn.addClass=Po);ko&&(j.fn.removeClass=ko);Uo&&(j.fn.children=Uo);$o&&(j.fn.each=$o);Io&&(j.fn.find=Io);function Jh(e){return e.length?e[0].tagName.toLowerCase():""}function Xh(e,t){let r="";const i=(e.attr("style")||"").split(";"),o=i.length;for(let a=0;a<o;a++){const u=i[a];if(u){const s=u.split(":");s[0].trim()===t&&(r=s[1].trim())}}return r}const V0=new Set(["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","DIV","DL","FIELDSET","FIGURE","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","MAIN","OL","P","PRE","SECTION","UL"]);function Ic(e,t){var n;let r=(e==null?void 0:e[t])||null;for(;r;){if(r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&((n=r.textContent)!=null&&n.trim()))return!0;r=r[t]}return!1}function Uc(e){return e instanceof HTMLElement&&e.tagName==="BR"}function K0(e){Array.from(e.children).filter(r=>V0.has(r.tagName)).forEach(r=>{const n=r.nextSibling,i=Ic(r,"previousSibling"),o=Ic(r,"nextSibling");for(i&&!Uc(r.previousSibling)&&e.insertBefore(document.createElement("br"),r);r.firstChild;)e.insertBefore(r.firstChild,r);r.remove();const a=(n==null?void 0:n.previousSibling)||e.lastChild;o&&!Uc(a)&&e.insertBefore(document.createElement("br"),n)})}function G0(e){const t=j(e);if(Jh(t)!=="table")return e;const n=t[0];return Array.from(n.children).forEach(i=>{["THEAD","TBODY","TFOOT"].includes(i.tagName)&&(Array.from(i.children).forEach(o=>{o.tagName==="TR"&&n.insertBefore(o,i)}),i.remove())}),n.querySelectorAll("td, th").forEach(i=>K0(i)),n}const J0={selector:"table",preParseHtml:G0};/*!
1
+ "use strict";var k0=Object.defineProperty;var T0=(e,t,r)=>t in e?k0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ur=(e,t,r)=>T0(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const pe=require("vue"),Ac=require("@wangeditor/editor-for-vue"),Ze=require("@wangeditor/editor"),fe=require("./index-CRTmAUqZ.js");function Bc(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function rl(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(r){typeof e[r]>"u"?e[r]=t[r]:Bc(t[r])&&Bc(e[r])&&Object.keys(t[r]).length>0&&rl(e[r],t[r])})}var Gh={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ha(){var e=typeof document<"u"?document:{};return rl(e,Gh),e}var j0={document:Gh,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout>"u"||clearTimeout(e)}};function Mr(){var e=typeof window<"u"?window:{};return rl(e,j0),e}function R0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function _o(e,t){return _o=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_o(e,t)}function N0(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Eo(e,t,r){return N0()?Eo=Reflect.construct:Eo=function(i,o,a){var u=[null];u.push.apply(u,o);var s=Function.bind.apply(i,u),l=new s;return a&&_o(l,a.prototype),l},Eo.apply(null,arguments)}function $0(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function is(e){var t=typeof Map=="function"?new Map:void 0;return is=function(n){if(n===null||!$0(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Eo(n,arguments,ns(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),_o(i,n)},is(e)}function L0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M0(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(n){t.__proto__=n}})}var Br=function(e){R0(t,e);function t(r){var n;return n=e.call.apply(e,[this].concat(r))||this,M0(L0(n)),n}return t}(is(Array));function pa(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(r){Array.isArray(r)?t.push.apply(t,pa(r)):t.push(r)}),t}function I0(e,t){return Array.prototype.filter.call(e,t)}function U0(e){for(var t=[],r=0;r<e.length;r+=1)t.indexOf(e[r])===-1&&t.push(e[r]);return t}function H0(e){return e.toLowerCase().replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function z0(e,t){if(typeof e!="string")return[e];for(var r=[],n=t.querySelectorAll(e),i=0;i<n.length;i+=1)r.push(n[i]);return r}function j(e,t){var r=Mr(),n=ha(),i=[];if(!t&&e instanceof Br)return e;if(!e)return new Br(i);if(typeof e=="string"){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var a="div";o.indexOf("<li")===0&&(a="ul"),o.indexOf("<tr")===0&&(a="tbody"),(o.indexOf("<td")===0||o.indexOf("<th")===0)&&(a="tr"),o.indexOf("<tbody")===0&&(a="table"),o.indexOf("<option")===0&&(a="select");var u=n.createElement(a);u.innerHTML=o;for(var s=0;s<u.childNodes.length;s+=1)i.push(u.childNodes[s])}else i=z0(e.trim(),t||n)}else if(e.nodeType||e===r||e===n)i.push(e);else if(Array.isArray(e)){if(e instanceof Br)return e;i=e}return new Br(U0(i))}j.fn=Br.prototype;function Po(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=pa(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).add.apply(o,n)}),this}function ko(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=pa(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).remove.apply(o,n)}),this}function Fc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=pa(t.map(function(i){return i.split(" ")}));return I0(this,function(i){return n.filter(function(o){return i.classList.contains(o)}).length>0}).length>0}function To(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var r=0;r<this.length;r+=1)if(arguments.length===2)this[r].setAttribute(e,t);else for(var n in e)this[r][n]=e[n],this[r].setAttribute(n,e[n]);return this}function xc(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function jo(){var e=this[0];if(e){var t={};if(e.dataset)for(var r in e.dataset)t[r]=e.dataset[r];else for(var n=0;n<e.attributes.length;n+=1){var i=e.attributes[n];i.name.indexOf("data-")>=0&&(t[H0(i.name.split("data-")[1])]=i.value)}for(var o in t)t[o]==="false"?t[o]=!1:t[o]==="true"?t[o]=!0:parseFloat(t[o])===t[o]*1&&(t[o]*=1);return t}}function Ro(e){if(typeof e>"u"){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var r=[],n=0;n<t.selectedOptions.length;n+=1)r.push(t.selectedOptions[n].value);return r}return t.value}for(var i=0;i<this.length;i+=1){var o=this[i];if(Array.isArray(e)&&o.multiple&&o.nodeName.toLowerCase()==="select")for(var a=0;a<o.options.length;a+=1)o.options[a].selected=e.indexOf(o.options[a].value)>=0;else o.value=e}return this}function No(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];typeof t[1]=="function"&&(n=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);function u(g){var v=g.target;if(v){var D=g.target.dom7EventData||[];if(D.indexOf(g)<0&&D.unshift(g),j(v).is(i))o.apply(v,D);else for(var C=j(v).parents(),b=0;b<C.length;b+=1)j(C[b]).is(i)&&o.apply(C[b],D)}}function s(g){var v=g&&g.target?g.target.dom7EventData||[]:[];v.indexOf(g)<0&&v.unshift(g),o.apply(this,v)}for(var l=n.split(" "),f,c=0;c<this.length;c+=1){var d=this[c];if(i)for(f=0;f<l.length;f+=1){var h=l[f];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[h]||(d.dom7LiveListeners[h]=[]),d.dom7LiveListeners[h].push({listener:o,proxyListener:u}),d.addEventListener(h,u,a)}else for(f=0;f<l.length;f+=1){var p=l[f];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[p]||(d.dom7Listeners[p]=[]),d.dom7Listeners[p].push({listener:o,proxyListener:s}),d.addEventListener(p,s,a)}}return this}function Oc(){var e=Mr();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function Sc(){var e=Mr();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function _c(){if(this.length>0){var e=Mr(),t=ha(),r=this[0],n=r.getBoundingClientRect(),i=t.body,o=r.clientTop||i.clientTop||0,a=r.clientLeft||i.clientLeft||0,u=r===e?e.scrollY:r.scrollTop,s=r===e?e.scrollX:r.scrollLeft;return{top:n.top+u-o,left:n.left+s-a}}return null}function Pc(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function kc(){for(var e=Mr(),t=0;t<this.length;t+=1){var r=this[t];r.style.display==="none"&&(r.style.display=""),e.getComputedStyle(r,null).getPropertyValue("display")==="none"&&(r.style.display="block")}return this}function Tc(e,t){var r=Mr(),n;if(arguments.length===1)if(typeof e=="string"){if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function $o(e){return e?(this.forEach(function(t,r){e.apply(t,[t,r])}),this):this}function Lo(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function jc(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function Rc(e){var t=Mr(),r=ha(),n=this[0],i,o;if(!n||typeof e>"u")return!1;if(typeof e=="string"){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(i=j(e),o=0;o<i.length;o+=1)if(i[o]===n)return!0;return!1}if(e===r)return n===r;if(e===t)return n===t;if(e.nodeType||e instanceof Br){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===n)return!0;return!1}return!1}function Mo(){for(var e,t=ha(),r=0;r<arguments.length;r+=1){e=r<0||arguments.length<=r?void 0:arguments[r];for(var n=0;n<this.length;n+=1)if(typeof e=="string"){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[n].appendChild(i.firstChild)}else if(e instanceof Br)for(var o=0;o<e.length;o+=1)this[n].appendChild(e[o]);else this[n].appendChild(e)}return this}function Nc(e){for(var t=[],r=0;r<this.length;r+=1)this[r].parentNode!==null&&(e?j(this[r].parentNode).is(e)&&t.push(this[r].parentNode):t.push(this[r].parentNode));return j(t)}function $c(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].parentNode;n;)e?j(n).is(e)&&t.push(n):t.push(n),n=n.parentNode;return j(t)}function Io(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].querySelectorAll(e),i=0;i<n.length;i+=1)t.push(n[i]);return j(t)}function Uo(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].children,i=0;i<n.length;i+=1)(!e||j(n[i]).is(e))&&t.push(n[i]);return j(t)}function Lc(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Mc(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var r=0;r<t.childNodes.length;r+=1)t.childNodes[r].parentNode&&t.childNodes[r].parentNode.removeChild(t.childNodes[r]);t.textContent=""}}return this}var W0="resize scroll".split(" ");function q0(e){function t(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if(typeof n[0]>"u"){for(var o=0;o<this.length;o+=1)W0.indexOf(e)<0&&(e in this[o]?this[o][e]():j(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}return t}var Ho=q0("focus");Mo&&(j.fn.append=Mo);No&&(j.fn.on=No);Ho&&(j.fn.focus=Ho);To&&(j.fn.attr=To);Ro&&(j.fn.val=Ro);Lo&&(j.fn.html=Lo);jo&&(j.fn.dataset=jo);Po&&(j.fn.addClass=Po);ko&&(j.fn.removeClass=ko);Uo&&(j.fn.children=Uo);$o&&(j.fn.each=$o);Io&&(j.fn.find=Io);function Jh(e){return e.length?e[0].tagName.toLowerCase():""}function Xh(e,t){let r="";const i=(e.attr("style")||"").split(";"),o=i.length;for(let a=0;a<o;a++){const u=i[a];if(u){const s=u.split(":");s[0].trim()===t&&(r=s[1].trim())}}return r}const V0=new Set(["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","DIV","DL","FIELDSET","FIGURE","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","MAIN","OL","P","PRE","SECTION","UL"]);function Ic(e,t){var n;let r=(e==null?void 0:e[t])||null;for(;r;){if(r.nodeType===Node.ELEMENT_NODE||r.nodeType===Node.TEXT_NODE&&((n=r.textContent)!=null&&n.trim()))return!0;r=r[t]}return!1}function Uc(e){return e instanceof HTMLElement&&e.tagName==="BR"}function K0(e){Array.from(e.children).filter(r=>V0.has(r.tagName)).forEach(r=>{const n=r.nextSibling,i=Ic(r,"previousSibling"),o=Ic(r,"nextSibling");for(i&&!Uc(r.previousSibling)&&e.insertBefore(document.createElement("br"),r);r.firstChild;)e.insertBefore(r.firstChild,r);r.remove();const a=(n==null?void 0:n.previousSibling)||e.lastChild;o&&!Uc(a)&&e.insertBefore(document.createElement("br"),n)})}function G0(e){const t=j(e);if(Jh(t)!=="table")return e;const n=t[0];return Array.from(n.children).forEach(i=>{["THEAD","TBODY","TFOOT"].includes(i.tagName)&&(Array.from(i.children).forEach(o=>{o.tagName==="TR"&&n.insertBefore(o,i)}),i.remove())}),n.querySelectorAll("td, th").forEach(i=>K0(i)),n}const J0={selector:"table",preParseHtml:G0};/*!
2
2
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
3
3
  *
4
4
  * Copyright (c) 2014-2017, Jon Schlinkert.
@@ -4,7 +4,7 @@ var ar = (e, t, r) => I0(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { defineComponent as U0, shallowRef as H0, ref as Xa, computed as z0, inject as Ya, watch as Za, nextTick as Qa, onBeforeUnmount as W0, createElementBlock as q0, openBlock as V0, normalizeClass as K0, createVNode as Oc, unref as Sc, normalizeStyle as G0 } from "vue";
5
5
  import { Toolbar as J0, Editor as X0 } from "@wangeditor/editor-for-vue";
6
6
  import { Boot as Ye } from "@wangeditor/editor";
7
- import { g as ol, c as ke, l as ep, a as Y0, B as _c, _ as Z0 } from "./index-Blb9iWCl.mjs";
7
+ import { g as ol, c as ke, l as ep, a as Y0, B as _c, _ as Z0 } from "./index-BpNSzqkW.mjs";
8
8
  function Pc(e) {
9
9
  return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
10
10
  }