mirror of https://gitee.com/godoos/godoos.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
67 KiB
1 lines
67 KiB
(function(e){function t(t){for(var i,o,l=t[0],c=t[1],d=t[2],s=0,u=[];s<l.length;s++)o=l[s],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);h&&h(t);while(u.length)u.shift()();return r.push.apply(r,d||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],i=!0,o=1;o<n.length;o++){var l=n[o];0!==a[l]&&(i=!1)}i&&(r.splice(t--,1),e=c(c.s=n[0]))}return e}var i={},o={app:0},a={app:0},r=[];function l(e){return c.p+"js/"+({}[e]||e)+".js"}function c(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[],n={"chunk-834ed67a":1,"chunk-f132a990":1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=new Promise((function(t,n){for(var i="css/"+({}[e]||e)+".css",a=c.p+i,r=document.getElementsByTagName("link"),l=0;l<r.length;l++){var d=r[l],s=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(s===i||s===a))return t()}var u=document.getElementsByTagName("style");for(l=0;l<u.length;l++){d=u[l],s=d.getAttribute("data-href");if(s===i||s===a)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=t,h.onerror=function(t){var i=t&&t.target&&t.target.src||a,r=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=i,delete o[e],h.parentNode.removeChild(h),n(r)},h.href=a;var p=document.getElementsByTagName("head")[0];p.appendChild(h)})).then((function(){o[e]=0})));var i=a[e];if(0!==i)if(i)t.push(i[2]);else{var r=new Promise((function(t,n){i=a[e]=[t,n]}));t.push(i[2]=r);var d,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=l(e);var u=new Error;d=function(t){s.onerror=s.onload=null,clearTimeout(h);var n=a[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",u.name="ChunkLoadError",u.type=i,u.request=o,n[1](u)}a[e]=void 0}};var h=setTimeout((function(){d({type:"timeout",target:s})}),12e4);s.onerror=s.onload=d,document.head.appendChild(s)}return Promise.all(t)},c.m=e,c.c=i,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)c.d(n,i,function(t){return e[t]}.bind(null,i));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p=window.externalPublicPath,c.oe=function(e){throw console.error(e),e};var d=window["webpackJsonp"]=window["webpackJsonp"]||[],s=d.push.bind(d);d.push=t,d=d.slice();for(var u=0;u<d.length;u++)t(d[u]);var h=s;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"1e42":function(e,t,n){"use strict";n.d(t,"sb",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"lb",(function(){return d})),n.d(t,"kb",(function(){return s})),n.d(t,"J",(function(){return u})),n.d(t,"ob",(function(){return h})),n.d(t,"n",(function(){return p})),n.d(t,"m",(function(){return m})),n.d(t,"R",(function(){return f})),n.d(t,"db",(function(){return g})),n.d(t,"t",(function(){return v})),n.d(t,"qb",(function(){return T})),n.d(t,"d",(function(){return x})),n.d(t,"s",(function(){return k})),n.d(t,"f",(function(){return b})),n.d(t,"Y",(function(){return y})),n.d(t,"ab",(function(){return E})),n.d(t,"j",(function(){return C})),n.d(t,"K",(function(){return O})),n.d(t,"eb",(function(){return L})),n.d(t,"D",(function(){return S})),n.d(t,"q",(function(){return I})),n.d(t,"X",(function(){return R})),n.d(t,"gb",(function(){return M})),n.d(t,"V",(function(){return z})),n.d(t,"hb",(function(){return D})),n.d(t,"b",(function(){return P})),n.d(t,"h",(function(){return U})),n.d(t,"jb",(function(){return j})),n.d(t,"W",(function(){return G})),n.d(t,"U",(function(){return Y})),n.d(t,"M",(function(){return $})),n.d(t,"bb",(function(){return K})),n.d(t,"pb",(function(){return Q})),n.d(t,"ib",(function(){return V})),n.d(t,"S",(function(){return X})),n.d(t,"H",(function(){return ee})),n.d(t,"g",(function(){return te})),n.d(t,"Z",(function(){return ne})),n.d(t,"L",(function(){return ie})),n.d(t,"cb",(function(){return oe})),n.d(t,"l",(function(){return ae})),n.d(t,"v",(function(){return re})),n.d(t,"mb",(function(){return le})),n.d(t,"a",(function(){return ce})),n.d(t,"r",(function(){return de})),n.d(t,"w",(function(){return se})),n.d(t,"E",(function(){return ue})),n.d(t,"F",(function(){return he})),n.d(t,"A",(function(){return pe})),n.d(t,"Q",(function(){return me})),n.d(t,"T",(function(){return fe})),n.d(t,"nb",(function(){return ge})),n.d(t,"C",(function(){return ve})),n.d(t,"fb",(function(){return Te})),n.d(t,"P",(function(){return xe})),n.d(t,"i",(function(){return ke})),n.d(t,"B",(function(){return be})),n.d(t,"p",(function(){return we})),n.d(t,"k",(function(){return ye})),n.d(t,"O",(function(){return Ae})),n.d(t,"rb",(function(){return Ee})),n.d(t,"I",(function(){return Ce})),n.d(t,"N",(function(){return Ne})),n.d(t,"G",(function(){return Oe})),n.d(t,"z",(function(){return Se})),n.d(t,"y",(function(){return Ie})),n.d(t,"u",(function(){return Re})),n.d(t,"o",(function(){return Me})),n.d(t,"x",(function(){return _e})),n.d(t,"c",(function(){return ze}));n("14d9"),n("13d5"),n("5b81");var i=n("0f9c"),o=n("4013");function a(e){this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,this.init_genrand(e)}a.prototype.init_genrand=function(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++)e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30,this.mt[this.mti]=(1812433253*((4294901760&e)>>>16)<<16)+1812433253*(65535&e)+this.mti,this.mt[this.mti]>>>=0},a.prototype.genrand_int32=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_genrand(5489),n=0;n<this.N-this.M;n++)e=this.mt[n]&this.UPPER_MASK|this.mt[n+1]&this.LOWER_MASK,this.mt[n]=this.mt[n+this.M]^e>>>1^t[1&e];for(;n<this.N-1;n++)e=this.mt[n]&this.UPPER_MASK|this.mt[n+1]&this.LOWER_MASK,this.mt[n]=this.mt[n+(this.M-this.N)]^e>>>1^t[1&e];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[1&e],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0};var r=n("8a19");const l=(e,t,n,i,o,a=0,r=0)=>{let c=!1;if(n&&(c=n(e,t,o,a,r)),!c&&e.children&&e.children.length>0){let t=a+1;e.children.forEach((o,a)=>{l(o,e,n,i,!1,t,a)})}i&&i(e,t,o,a,r)},c=(e,t)=>{let n=[e],i=!1;"stop"===t(e,null)&&(i=!0);while(n.length){if(i)break;let e=n.shift();e.children&&e.children.length&&e.children.forEach(o=>{i||(n.push(o),"stop"===t(o,e)&&(i=!0))})}},d=(e,t,n,i)=>{let o=[],a=e/t,r=n/i;return o=a>r?[a*i,i]:[n,n/a],o},s=(e,t,n,i)=>{let o=e/t,a=[];if(n&&i)if(e<=n&&t<=i)a=[e,t];else{let e=n/i;a=o>e?[o*i,i]:[n,n/o]}else n?a=e<=n?[e,t]:[n,n/o]:i&&(a=t<=i?[e,t]:[o*i,i]);return a},u=e=>{e=e.replace(/<br>/gim,"\n");let t=document.createElement("div");return t.innerHTML=e,e=t.textContent,e},h=e=>{try{return JSON.parse(JSON.stringify(e))}catch(t){return null}},p=(e,t,n=!1)=>{if(e.data=h(t.data),n){e.data.isActive=!1;const t=_e(e.data);t.forEach(e=>{e.isActive=!1})}return e.children=[],t.children&&t.children.length>0&&t.children.forEach((t,i)=>{e.children[i]=p({},t,n)}),e},m=(e,t,n=!1,i=!0)=>(e.data=h(t.nodeData?t.nodeData.data:t.data),i?delete e.data.uid:e.data.uid||(e.data.uid=I()),n&&(e.data.isActive=!1),e.children=[],t.children&&t.children.length>0?t.children.forEach((t,o)=>{e.children[o]=m({},t,n,i)}):t.nodeData&&t.nodeData.children&&t.nodeData.children.length>0&&t.nodeData.children.forEach((t,o)=>{e.children[o]=m({},t,n,i)}),e),f=e=>new Promise((t,n)=>{const i=new Image;i.setAttribute("crossOrigin","anonymous"),i.onload=()=>{try{let e=document.createElement("canvas");e.width=i.width,e.height=i.height;let n=e.getContext("2d");n.drawImage(i,0,0,i.width,i.height),t(e.toDataURL())}catch(e){n(e)}},i.onerror=e=>{n(e)},i.src=e}),g=e=>{if(!/^data:/.test(e))return e;let[t,n]=e.split(","),i=/^data:[^/]+\/([^;]+);/.exec(t),o=i[1];return{type:o,base64:n}},v=(e,t)=>{let n=document.createElement("a");n.href=e,n.download=t,n.click()},T=(e,t=300,n)=>{let i=null;return(...o)=>{i||(i=setTimeout(()=>{e.call(n,...o),i=null},t))}},x=(e,t=(()=>{}))=>{let n=0,i=e.length;if(i<=0)return t();let o=()=>{n>=i?t():(e[n](),setTimeout(()=>{n++,o()},0))};o()},k=e=>e*(Math.PI/180),b=e=>e.replace(/([a-z])([A-Z])/g,(...e)=>e[1]+"-"+e[2].toLowerCase());let w=null;const y=(e,{italic:t,bold:n,fontSize:i,fontFamily:o})=>{const a=A({italic:t,bold:n,fontSize:i,fontFamily:o});if(!w){const e=document.createElement("canvas");w=e.getContext("2d")}w.save(),w.font=a;const{width:r,actualBoundingBoxAscent:l,actualBoundingBoxDescent:c}=w.measureText(e);w.restore();const d=l+c;return{width:r,height:d}},A=({italic:e,bold:t,fontSize:n,fontFamily:i})=>`${e?"italic ":""} ${t?"bold ":""} ${n}px ${i} `,E=function(e,t){let n=!1,i=null,o=()=>{n=!1,t?e.call(t):e()};if("undefined"!==typeof MutationObserver){let e=1,t=new MutationObserver(o),n=document.createTextNode(e);t.observe(n,{characterData:!0}),i=function(){e=(e+1)%2,n.data=e}}else i=setTimeout;return function(){n||(n=!0,i(o,0))}},C=(e,t)=>{let n=e.elRect,{scaleX:i,scaleY:o,translateX:a,translateY:r}=e.draw.transform(),{left:l,top:c,width:d,height:s}=t,u=(l+d)*i+a,h=(c+s)*o+r;l=l*i+a,c=c*o+r;let p=0,m=0;return l<0&&(p=-l),u>n.width&&(p=-(u-n.width)),c<0&&(m=-c),h>n.height&&(m=-(h-n.height)),{isOuter:0!==p||0!==m,offsetLeft:p,offsetTop:m}};let N=null;const O=e=>(N||(N=document.createElement("div")),N.innerHTML=e,N.textContent),L=e=>new Promise((t,n)=>{let i=new FileReader;i.onload=e=>{t(e.target.result)},i.onerror=e=>{n(e)},i.readAsDataURL(e)});const S=e=>new Promise(t=>{let n=new Image;n.src=e,n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=()=>{t({width:0,height:0})}}),I=()=>Object(i["a"])(),R=e=>new Promise((t,n)=>{let i=new FileReader;i.readAsDataURL(e),i.onload=async e=>{let n=e.target.result,i=await S(n);t({url:n,size:i})},i.onerror=e=>{n(e)}}),M=e=>([[" "," "]].forEach(t=>{e=e.replaceAll(t[0],t[1])}),e),_=e=>Object.prototype.toString.call(e).slice(8,-1),z=e=>null===e||void 0===e||""===e,D=e=>e.replaceAll(/(<[^\s]+)\s+style=["'][^'"]+["']\s*(>)/g,"$1$2");let F=null;const P=(e,t,n)=>{F||(F=document.createElement("div")),F.innerHTML=e;let i=e=>{let o=e.childNodes;o.forEach(e=>{1===e.nodeType&&(e.tagName.toLowerCase()===t?e.style.cssText=n:i(e))})};return i(F),F.innerHTML};let B=null;const U=e=>{B||(B=document.createElement("div")),B.innerHTML=e;for(let t=B.childNodes,n=t.length;n--;)if(1==t[n].nodeType)return!0;return!1};let H=null;const j=(e,t,n)=>{H||(H=document.createElement("div")),H.innerHTML=e;let i=e=>{let o=e.childNodes;o.forEach(o=>{1===o.nodeType?i(o):3===o.nodeType&&e.replaceChild(document.createTextNode(o.nodeValue.replaceAll(t,n)),o)})};return i(H),H.innerHTML};const G=e=>(e=String(e).replaceAll(/\s+/g,""),["#fff","#ffffff","#FFF","#FFFFFF","rgb(255,255,255)"].includes(e)||/rgba\(255,255,255,[^)]+\)/.test(e)),Y=e=>(e=String(e).replaceAll(/\s+/g,""),["","transparent"].includes(e)||/rgba\(\d+,\d+,\d+,0\)/.test(e)),$=e=>{let{lineColor:t,root:n,second:i,node:o}=e,a=[t,n.fillColor,n.color,i.fillColor,i.color,o.fillColor,o.color,n.borderColor,i.borderColor,o.borderColor];for(let r=0;r<a.length;r++){let e=a[r];if(!Y(e)&&!G(e))return e}},W=e=>{const t=e=>{const n=e.childNodes;n.forEach(e=>{1===e.nodeType&&(e.classList.contains("ql-formula")?e.parentNode.removeChild(e):t(e))})};t(e)};let Z=null;const K=e=>{Z||(Z=document.createElement("div")),Z.innerHTML=e;const t=Z.childNodes;let n="";for(let i=0;i<t.length;i++){const e=t[i];1===e.nodeType?(W(e),"p"===e.tagName.toLowerCase()?n+=e.textContent+"\n":n+=e.textContent):3===e.nodeType&&(n+=e.nodeValue)}return n.replace(/\n$/,"")};let q=null;const Q=e=>{q||(q=document.createElement("div")),q.innerHTML=e;const t=q.childNodes;let n=[],i="";for(let o=0;o<t.length;o++){const e=t[o];1===e.nodeType?"br"===e.tagName.toLowerCase()?(n.push(i),i=""):i+=e.textContent:3===e.nodeType&&(i+=e.nodeValue)}return i&&n.push(i),n.map(e=>`<p><span>${me(e)}</span></p>`).join("")};let J=null;const V=e=>{J||(J=document.createElement("div")),J.innerHTML=e;const t=J.querySelectorAll(".ql-formula");Array.from(t).forEach(e=>{const t=document.createTextNode("$smmformula$");e.parentNode.replaceChild(t,e)});const n=J.childNodes;let i=[];for(let o=0;o<n.length;o++){const e=n[o];1===e.nodeType?i.push(e.textContent):3===e.nodeType&&i.push(e.nodeValue)}if(e=i.map(e=>`<p><span>${me(e)}</span></p>`).join(""),t.length>0){e=e.replace(/\$smmformula\$/g,'<span class="smmformula"></span>'),J.innerHTML=e;const n=J.querySelectorAll(".smmformula");Array.from(n).forEach((e,n)=>{e.parentNode.replaceChild(t[n],e)}),e=J.innerHTML}return e},X=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),ee=(e,t)=>{const n={};return Object.keys(t).forEach(i=>{const o=e[i],a=t[i];if(_(o)===_(a)){if("Object"===_(o)){if(JSON.stringify(o)!==JSON.stringify(a))return void(n[i]=a)}else if(o!==a)return void(n[i]=a)}else n[i]=a}),n},te=e=>!/^_/.test(e)&&!o["g"].includes(e),ne=e=>e.reduce((e,t)=>{const n=e.find(e=>e.type===t.type);return n?t.list.forEach(e=>{const t=n.list.find(t=>t.name===e.name);t?t.icon=e.icon:n.list.push(e)}):e.push({...t}),e},[]),ie=e=>{let t=[];return e.forEach(n=>{e.find(e=>e.uid!==n.uid&&e.isAncestor(n))||t.push(n)}),t},oe=e=>{const t={},n={};e.forEach(e=>{const i=e.parent;if(i){const o=i.uid;n[o]=i;const a=e.getIndexInBrothers(),r={node:e,index:a};t[o]?t[o].find(e=>e.index===r.index)||t[o].push(r):t[o]=[r]}});const i=[];return Object.keys(t).forEach(e=>{if(t[e].length>1){const o=t[e].map(e=>e.index).sort((e,t)=>e-t);i.push({node:n[e],range:[o[0],o[o.length-1]]})}else i.push({node:t[e][0].node})}),i},ae=(e,t,n,i,o,a,r,l)=>t>o&&a>e&&i>r&&l>n,re=e=>{let t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),n.collapse(),t.removeAllRanges(),t.addRange(n)},le=e=>{let t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)},ce=(e,t={})=>{const n=e=>{e.forEach(e=>{e.data={...e.data,...t},e.children&&e.children.length>0&&n(e.children)})};return n(e),e},de=(e,t=!1)=>{const n=e=>{e.forEach(e=>{e.data||(e.data={}),(t||z(e.data.uid))&&(e.data.uid=I()),e.children&&e.children.length>0&&n(e.children)})};return n(e),e},se=e=>e?Array.isArray(e)?e:[e]:[],ue=e=>e.parent?e.parent.nodeData.children.findIndex(t=>t.data.uid===e.uid):0,he=(e,t)=>t.findIndex(t=>t.uid===e.uid),pe=e=>{let t=0;for(let o=0;o<e.length;o++)t=e.charCodeAt(o)+((t<<5)-t);const n=new a(t),i=n.genrand_int32()%360;return"hsla("+i+", 50%, 50%, 1)"},me=e=>([["&","&"],["<","<"],[">",">"]].forEach(t=>{e=e.replace(new RegExp(t[0],"g"),t[1])}),e),fe=(e,t)=>{const n=_(e);if(n!==_(t))return!1;if("Object"===n){const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let o=0;o<n.length;o++){const a=n[o];if(!i.includes(a))return!1;const r=fe(e[a],t[a]);if(!r)return!1}return!0}if("Array"===n){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const i=e[n],o=t[n],a=_(i),r=_(o);if(a!==r)return!1;const l=fe(i,o);if(!l)return!1}return!0}return e===t},ge=e=>{navigator.clipboard&&navigator.clipboard.writeText(JSON.stringify(e))},ve=async()=>{let e=null,t=null;if(navigator.clipboard){e=await navigator.clipboard.readText();const n=await navigator.clipboard.read();if(n&&n.length>0)for(const e of n)for(const n of e.types)if(/^image\//.test(n)){t=await e.getType(n);break}}return{text:e,img:t}},Te=e=>{if(!e||!e.parent)return;const t=ue(e);-1!==t&&e.parent.nodeData.children.splice(t,1)},xe=e=>(o["h"].forEach(t=>{e=e.replaceAll(new RegExp(`<${t}([^>]*)>`,"g"),`<${t} $1 />`)}),e),ke=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!t.find(t=>t.uid===e[n].uid))return!1;return!0},be=()=>{const e=navigator.userAgent.match(/\s+Chrome\/(.*)\s+/);return e&&e[1]?Number.parseFloat(e[1]):""},we=e=>({simpleMindMap:!0,data:e}),ye=e=>{let t=null;if("string"===typeof e)try{const n=JSON.parse(e);"object"===typeof n&&n.simpleMindMap&&(t=n.data)}catch(i){}else"object"===typeof e&&e.simpleMindMap&&(t=e.data);const n=!!t;return{isSmm:n,data:n?t:String(e)}},Ae=(e,t)=>{e.preventDefault();const n=window.getSelection();if(!n.rangeCount)return;n.deleteFromDocument(),t=t||e.clipboardData.getData("text"),t=O(t),t=t.replaceAll(/\n/g,"");const i=document.createTextNode(t);n.getRangeAt(0).insertNode(i),n.collapseToEnd()},Ee=e=>{const t={},n=(e,i)=>{const o=e.data.uid;i&&i.children.push(o),t[o]={isRoot:!i,data:{...e.data},children:[]},e.children&&e.children.length>0&&e.children.forEach(e=>{n(e,t[o])})};return n(e,null),t},Ce=(e,t)=>{const n=e.x+e.width/2,i=e.y+e.height/2,o=t.x+t.width/2,a=t.y+t.height/2;return n<o&&i<a?"left-top":n>o&&i<a?"right-top":n>o&&i>a?"right-bottom":n<o&&i>a?"left-bottom":n<o&&i===a?"left":n>o&&i===a?"right":n===o&&i<a?"top":n===o&&i>a?"bottom":"overlap"},Ne=({addContentToHeader:e,addContentToFooter:t})=>{const n=[];let i=null,o=0,a=null,r=0;const l=(e,t)=>{if("function"===typeof e){const i=e();if(!i)return;const{el:o,cssText:a,height:r}=i;if(o instanceof HTMLElement){ze(o);const e=Me({el:o,height:r});t(e,r)}a&&n.push(a)}};return l(e,(e,t)=>{i=e,o=t}),l(t,(e,t)=>{a=e,r=t}),{cssTextList:n,header:i,headerHeight:o,footer:a,footerHeight:r}},Oe=(e,t=0,n=0,i=0,o=0,a=!1)=>{let r=1/0,l=-1/0,c=1/0,d=-1/0;const s=(e,t)=>{if(!t||!a){const{x:t,y:n,width:i,height:o}=e.group.findOne(".smm-node-shape").rbox();t<r&&(r=t),t+i>l&&(l=t+i),n<c&&(c=n),n+o>d&&(d=n+o)}e._generalizationList.length>0&&e._generalizationList.forEach(e=>{s(e.generalizationNode)}),e.children&&e.children.forEach(e=>{s(e)})};return s(e,!0),r=r-t+i,c=c-n+o,l=l-t+i,d=d-n+o,{left:r,top:c,width:l-r,height:d-c}},Le=()=>document.documentElement.requestFullScreen?"fullscreenchange":document.documentElement.webkitRequestFullScreen?"webkitfullscreenchange":document.documentElement.mozRequestFullScreen?"mozfullscreenchange":document.documentElement.msRequestFullscreen?"msfullscreenchange":void 0,Se=Le(),Ie=e=>{e.requestFullScreen?e.requestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.mozRequestFullScreen&&e.mozRequestFullScreen()},Re=()=>{document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()},Me=({el:e,width:t,height:n})=>{const i=new r["c"];return void 0!==t&&i.width(t),void 0!==n&&i.height(n),i.add(e),i},_e=e=>{const t=e.generalization;return t?Array.isArray(t)?t:[t]:[]},ze=e=>{e.setAttribute("xmlns","http://www.w3.org/1999/xhtml")}},"2f42":function(e,t,n){"use strict";n("37e6")},3650:function(e,t,n){"use strict";n("59d2")},"365c":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"g",(function(){return g})),n.d(t,"c",(function(){return v}));var i=n("5848"),o=n("1e42"),a=n("2b0e");const r="SIMPLE_MIND_MAP_DATA",l="SIMPLE_MIND_MAP_LANG",c="SIMPLE_MIND_MAP_LOCAL_CONFIG";let d=null;const s=(e,t)=>t?(e.data=Object(o["ob"])(t.data),e.children=[],t.children&&t.children.length>0&&t.children.forEach((t,n)=>{e.children[n]=s({},t)}),e):null,u=()=>{if(window.takeOverApp)return d=window.takeOverAppMethods.getMindMapData(),d;let e=localStorage.getItem(r);if(null===e)return Object(o["ob"])(i["a"]);try{return JSON.parse(e)}catch(t){return Object(o["ob"])(i["a"])}},h=e=>{try{let t=null;if(t=window.takeOverApp?d:u(),t.root=s({},e),window.takeOverApp)return d=t,void window.takeOverAppMethods.saveMindMapData(t);a["default"].prototype.$bus.$emit("write_local_file",t);let n=JSON.stringify(t);localStorage.setItem(r,n)}catch(t){console.log(t)}},p=e=>{try{let t=null;if(t=window.takeOverApp?d:u(),t={...t,...e},window.takeOverApp)return d=t,void window.takeOverAppMethods.saveMindMapData(t);a["default"].prototype.$bus.$emit("write_local_file",t);let n=JSON.stringify(t);localStorage.setItem(r,n)}catch(t){console.log(t)}},m=e=>{window.takeOverApp?window.takeOverAppMethods.saveLanguage(e):localStorage.setItem(l,e)},f=()=>{if(window.takeOverApp)return window.takeOverAppMethods.getLanguage()||"zh";let e=localStorage.getItem(l);return e||(m("zh"),"zh")},g=e=>{if(window.takeOverApp)return window.takeOverAppMethods.saveLocalConfig(e);localStorage.setItem(c,JSON.stringify(e))},v=()=>{if(window.takeOverApp)return window.takeOverAppMethods.getLocalConfig();let e=localStorage.getItem(c);return e?JSON.parse(e):null}},"36f1":function(e,t,n){"use strict";n("d82e")},"37e6":function(e,t,n){},4013:function(e,t,n){"use strict";n.d(t,"i",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return s})),n.d(t,"h",(function(){return u}));const i=[{name:"默认",value:"default",dark:!1},{name:"暗色2",value:"dark2",dark:!0},{name:"天清绿",value:"skyGreen",dark:!1},{name:"脑图经典2",value:"classic2",dark:!1},{name:"脑图经典3",value:"classic3",dark:!1},{name:"经典绿",value:"classicGreen",dark:!1},{name:"经典蓝",value:"classicBlue",dark:!1},{name:"天空蓝",value:"blueSky",dark:!1},{name:"脑残粉",value:"brainImpairedPink",dark:!1},{name:"暗色",value:"dark",dark:!0},{name:"泥土黄",value:"earthYellow",dark:!1},{name:"清新绿",value:"freshGreen",dark:!1},{name:"清新红",value:"freshRed",dark:!1},{name:"浪漫紫",value:"romanticPurple",dark:!1},{name:"粉红葡萄",value:"pinkGrape",dark:!1},{name:"薄荷",value:"mint",dark:!1},{name:"金色vip",value:"gold",dark:!1},{name:"活力橙",value:"vitalityOrange",dark:!1},{name:"绿叶",value:"greenLeaf",dark:!1},{name:"脑图经典",value:"classic",dark:!0},{name:"脑图经典4",value:"classic4",dark:!1},{name:"小黄人",value:"minions",dark:!1},{name:"简约黑",value:"simpleBlack",dark:!1},{name:"课程绿",value:"courseGreen",dark:!1},{name:"咖啡",value:"coffee",dark:!1},{name:"红色精神",value:"redSpirit",dark:!1},{name:"黑色幽默",value:"blackHumour",dark:!0},{name:"深夜办公室",value:"lateNightOffice",dark:!0},{name:"黑金",value:"blackGold",dark:!0},{name:"牛油果",value:"avocado",dark:!1},{name:"秋天",value:"autumn",dark:!1},{name:"橙汁",value:"orangeJuice",dark:!0}],o={CHANGE_THEME:"changeTheme",CHANGE_LAYOUT:"changeLayout",SET_DATA:"setData",TRANSFORM_TO_NORMAL_NODE:"transformAllNodesToNormalNode",MODE:{READONLY:"readonly",EDIT:"edit"},LAYOUT:{LOGICAL_STRUCTURE:"logicalStructure",MIND_MAP:"mindMap",ORGANIZATION_STRUCTURE:"organizationStructure",CATALOG_ORGANIZATION:"catalogOrganization",TIMELINE:"timeline",TIMELINE2:"timeline2",FISHBONE:"fishbone",VERTICAL_TIMELINE:"verticalTimeline"},DIR:{UP:"up",LEFT:"left",DOWN:"down",RIGHT:"right"},KEY_DIR:{LEFT:"Left",UP:"Up",RIGHT:"Right",DOWN:"Down"},SHAPE:{RECTANGLE:"rectangle",DIAMOND:"diamond",PARALLELOGRAM:"parallelogram",ROUNDED_RECTANGLE:"roundedRectangle",OCTAGONAL_RECTANGLE:"octagonalRectangle",OUTER_TRIANGULAR_RECTANGLE:"outerTriangularRectangle",INNER_TRIANGULAR_RECTANGLE:"innerTriangularRectangle",ELLIPSE:"ellipse",CIRCLE:"circle"},MOUSE_WHEEL_ACTION:{ZOOM:"zoom",MOVE:"move"},INIT_ROOT_NODE_POSITION:{LEFT:"left",TOP:"top",RIGHT:"right",BOTTOM:"bottom",CENTER:"center"},LAYOUT_GROW_DIR:{LEFT:"left",TOP:"top",RIGHT:"right",BOTTOM:"bottom"},PASTE_TYPE:{CLIP_BOARD:"clipBoard",CANVAS:"canvas"},SCROLL_BAR_DIR:{VERTICAL:"vertical",HORIZONTAL:"horizontal"},CREATE_NEW_NODE_BEHAVIOR:{DEFAULT:"default",NOT_ACTIVE:"notActive",ACTIVE_ONLY:"activeOnly"}},a={[o.INIT_ROOT_NODE_POSITION.LEFT]:0,[o.INIT_ROOT_NODE_POSITION.TOP]:0,[o.INIT_ROOT_NODE_POSITION.RIGHT]:1,[o.INIT_ROOT_NODE_POSITION.BOTTOM]:1,[o.INIT_ROOT_NODE_POSITION.CENTER]:.5},r=[{name:"逻辑结构图",value:o.LAYOUT.LOGICAL_STRUCTURE},{name:"思维导图",value:o.LAYOUT.MIND_MAP},{name:"组织结构图",value:o.LAYOUT.ORGANIZATION_STRUCTURE},{name:"目录组织图",value:o.LAYOUT.CATALOG_ORGANIZATION},{name:"时间轴",value:o.LAYOUT.TIMELINE},{name:"时间轴2",value:o.LAYOUT.TIMELINE2},{name:"竖向时间轴",value:o.LAYOUT.VERTICAL_TIMELINE},{name:"鱼骨图",value:o.LAYOUT.FISHBONE}],l=[o.LAYOUT.LOGICAL_STRUCTURE,o.LAYOUT.MIND_MAP,o.LAYOUT.CATALOG_ORGANIZATION,o.LAYOUT.ORGANIZATION_STRUCTURE,o.LAYOUT.TIMELINE,o.LAYOUT.TIMELINE2,o.LAYOUT.VERTICAL_TIMELINE,o.LAYOUT.FISHBONE],c=["text","image","imageTitle","imageSize","icon","tag","hyperlink","hyperlinkTitle","note","expand","isActive","generalization","richText","resetRichText","uid","activeStyle","associativeLineTargets","associativeLineTargetControlOffsets","associativeLinePoint","associativeLineText","attachmentUrl","attachmentName"],d={READ_CLIPBOARD_ERROR:"read_clipboard_error",PARSE_PASTE_DATA_ERROR:"parse_paste_data_error",CUSTOM_HANDLE_CLIPBOARD_TEXT_ERROR:"custom_handle_clipboard_text_error",LOAD_CLIPBOARD_IMAGE_ERROR:"load_clipboard_image_error",BEFORE_TEXT_EDIT_ERROR:"before_text_edit_error",EXPORT_ERROR:"export_error",EXPORT_LOAD_IMAGE_ERROR:"export_load_image_error",DATA_CHANGE_DETAIL_EVENT_ERROR:"data_change_detail_event_error"},s="\n /* 鼠标hover和激活时渲染的矩形 */\n .smm-hover-node{\n display: none;\n opacity: 0.6;\n stroke-width: 1;\n }\n\n .smm-node:not(.smm-node-dragging):hover .smm-hover-node{\n display: block;\n }\n\n .smm-node.active .smm-hover-node, .smm-node-highlight .smm-hover-node{\n display: block;\n opacity: 1;\n stroke-width: 2;\n }\n",u=["img","br","hr","input","link","meta","area"]},"41cb":function(e,t,n){"use strict";n("14d9");var i=n("2b0e"),o=n("8c4f"),a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"docContainer"},[t("Header"),t("div",{staticClass:"content"},[t("Sidebar"),t("div",{ref:"doc",staticClass:"doc",attrs:{id:"doc"},on:{scroll:e.onScroll}},[t("router-view")],1),t("CatalogBar",{attrs:{scrollTop:e.scrollTop},on:{scroll:e.doScroll}})],1)],1)},r=[],l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerContainer"},[t("div",{staticClass:"left"},[t("div",{staticClass:"title",on:{click:e.toIndex}},[t("img",{attrs:{src:n("440d"),alt:""}}),e._v(" SimpleMindMap ")])]),t("div",{staticClass:"center"},[t("div",{staticClass:"btn",on:{click:e.toIndex}},[e._v(e._s(e.index))]),t("div",{staticClass:"btn",on:{click:e.toDemo}},[e._v(e._s(e.demoName))]),t("div",{staticClass:"btn",class:{active:"help"===e.docType},on:{click:e.toHelp}},[e._v(" "+e._s(e.helpDoc)+" ")]),t("div",{staticClass:"btn",class:{active:"doc"===e.docType},on:{click:e.toDev}},[e._v(" "+e._s(e.devDoc)+" ")]),"doc"===e.docType?t("el-dropdown",{attrs:{trigger:"click",placement:"bottom-start"},on:{command:e.handleCommand}},[t("span",{staticClass:"translateBtn"},[e._v(" "+e._s(e.currentLangName)),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.otherLangList,(function(n){return t("el-dropdown-item",{key:n.path,attrs:{command:n.path}},[e._v(e._s(n.name))])})),1)],1):e._e(),e._m(0)],1),t("div",{staticClass:"right"})])},c=[function(){var e=this,t=e._self._c;return t("a",{attrs:{href:"https://github.com/wanglin2/mind-map",target:"_blank"}},[t("span",{staticClass:"iconfont icongithub"})])}],d=[{lang:"zh",children:[{path:"associativeLine",title:"AssociativeLine 插件"},{path:"batchExecution",title:"BatchExecution实例"},{path:"changelog",title:"Changelog"},{path:"command",title:"Command实例"},{path:"constructor",title:"构造函数"},{path:"course1",title:"基本使用"},{path:"course2",title:"操作节点内容"},{path:"course3",title:"插入/删除节点、前进回退"},{path:"course4",title:"设置节点样式"},{path:"course5",title:"设置基础样式"},{path:"course6",title:"显示水印"},{path:"course7",title:"开启节点自由拖拽"},{path:"course8",title:"开启节点富文本编辑"},{path:"course9",title:"修改鼠标滚轮的行为"},{path:"course10",title:"主题"},{path:"course11",title:"结构"},{path:"course12",title:"如何渲染一个大纲"},{path:"course13",title:"快捷键"},{path:"course14",title:"如何渲染一个小地图"},{path:"course15",title:"如何渲染一个右键菜单"},{path:"course16",title:"如何渲染富文本的悬浮工具栏"},{path:"course17",title:"导入和导出"},{path:"course18",title:"如何持久化数据"},{path:"course19",title:"插入和扩展节点图标"},{path:"course20",title:"如何自定义节点内容"},{path:"course21",title:"如何复制、剪切、粘贴"},{path:"course22",title:"如何实现搜索、替换"},{path:"course23",title:"如何渲染滚动条"},{path:"course24",title:"如何开发一个插件"},{path:"course25",title:"关于概要"},{path:"course26",title:"如何实现AI生成节点内容"},{path:"course27",title:"快捷键操作如何传递自定义参数"},{path:"course28",title:"如何动态修改自定义元素的大小"},{path:"course29",title:"局域网docker部署解决HTTPS问题的一种方法"},{path:"doExport",title:"Export 插件"},{path:"drag",title:"Drag插件"},{path:"introduction",title:"简介"},{path:"keyCommand",title:"KeyCommand实例"},{path:"keyboardNavigation",title:"KeyboardNavigation插件"},{path:"markdown",title:"Markdown解析"},{path:"miniMap",title:"MiniMap插件"},{path:"node",title:"Node实例"},{path:"render",title:"Render实例"},{path:"textEdit",title:"TextEdit实例"},{path:"richText",title:"RichText插件"},{path:"select",title:"Select 插件 "},{path:"start",title:"开始"},{path:"translate",title:"贡献"},{path:"utils",title:"内置工具方法"},{path:"view",title:"View实例"},{path:"watermark",title:"Watermark插件"},{path:"xmind",title:"XMind解析"},{path:"deploy",title:"部署"},{path:"client",title:"客户端"},{path:"touchEvent",title:"TouchEvent插件"},{path:"nodeImgAdjust",title:"NodeImgAdjust插件"},{path:"search",title:"Search插件"},{path:"painter",title:"Painter插件"},{path:"scrollbar",title:"Scrollbar插件"},{path:"formula",title:"Formula插件"},{path:"cooperate",title:"Cooperate插件"},{path:"rainbowLines",title:"RainbowLines插件"},{path:"demonstrate",title:"Demonstrate插件"},{path:"handDrawnLikeStyle",title:"HandDrawnLikeStyle收费插件"},{path:"help1",title:"概要/关联线"},{path:"help2",title:"客户端"},{path:"help3",title:"打开预览在线文件"},{path:"help4",title:"复制粘贴"},{path:"help5",title:"导出"},{path:"help6",title:"如何编辑数学公式"}]},{lang:"en",children:[{path:"associativeLine",title:"AssociativeLine plugin"},{path:"batchExecution",title:"batchExecution instance"},{path:"changelog",title:"Changelog"},{path:"command",title:"command instance"},{path:"constructor",title:"Constructor"},{path:"doExport",title:"Export plugin"},{path:"drag",title:"Drag plugin"},{path:"introduction",title:"Introduction"},{path:"keyCommand",title:"KeyCommand instance"},{path:"keyboardNavigation",title:"KeyboardNavigation plugin"},{path:"markdown",title:"Markdown parse"},{path:"miniMap",title:"MiniMap plugin"},{path:"node",title:"Node instance"},{path:"render",title:"Render instance"},{path:"textEdit",title:"TextEdit instance"},{path:"richText",title:"RichText plugin"},{path:"select",title:"Select plugin"},{path:"start",title:"Start"},{path:"translate",title:"Contribute"},{path:"utils",title:"Utility Methods"},{path:"view",title:"View instance"},{path:"watermark",title:"Watermark plugin"},{path:"xmind",title:"XMind parse"},{path:"deploy",title:"Deploy"},{path:"touchEvent",title:"TouchEvent plugin"},{path:"nodeImgAdjust",title:"NodeImgAdjust plugin"},{path:"search",title:"Search plugin"},{path:"painter",title:"Painter plugin"},{path:"scrollbar",title:"Scrollbar plugin"},{path:"formula",title:"Formula plugin"},{path:"cooperate",title:"Cooperate plugin"},{path:"rainbowLines",title:"RainbowLines plugin"},{path:"demonstrate",title:"Demonstrate plugin"},{path:"handDrawnLikeStyle",title:"HandDrawnLikeStyle chargeable plugin"},{path:"client",title:"Client"}]}];let s=[{name:"中文",path:"zh"},{name:"English",path:"en"}],u=["introduction","start","deploy","client","translate","changelog"],h=new Array(29).fill(0).map((e,t)=>"course"+(t+1)),p=["constructor","node","render","textEdit","view","keyCommand","command","batchExecution","richText","select","drag","keyboardNavigation","doExport","miniMap","watermark","associativeLine","touchEvent","nodeImgAdjust","search","painter","scrollbar","formula","cooperate","rainbowLines","handDrawnLikeStyle","demonstrate","xmind","markdown","utils"],m=new Array(6).fill(0).map((e,t)=>"help"+(t+1));const f=(e,t)=>{let n=d.find(t=>t.lang===e),i=n.children;return t.filter(e=>i.find(t=>t.path===e)).map(e=>({path:e,name:i.find(t=>t.path===e).title}))};var g={zh:[{groupName:"开始",type:"doc",list:f("zh",u)},{groupName:"教程",type:"doc",list:f("zh",h)},{groupName:"API",type:"doc",list:f("zh",p)},{groupName:"使用帮助",type:"help",list:f("zh",m)}],en:[{groupName:"Start",type:"doc",list:f("en",u)},{groupName:"Course",type:"doc",list:f("zh",h)},{groupName:"API",type:"doc",list:f("en",p)}]};const v={pageCatalog:{zh:"本页目录",en:"Page catalog"},demo:{zh:"在线示例",en:"Online Demo"},help:{zh:"帮助文档",en:"Help doc"},dev:{zh:"开发文档",en:"Dev doc"},index:{zh:"首页",en:"Home"}},T=(e,t)=>v[e]?v[e][t]||v[e].zh:"";var x=T,k={data(){return{docType:"",lang:"",currentLangName:"",otherLangList:[]}},computed:{demoName(){return x("demo",this.lang)},helpDoc(){return x("help",this.lang)},devDoc(){return x("dev",this.lang)},index(){return x("index",this.lang)}},watch:{$route(){this.init()}},created(){this.init()},methods:{init(){let e=/^\/([^\/]+)\//.exec(this.$route.path);e&&e[1]&&(this.docType=e[1]);let t=/^\/doc\/([^\/]+)\//.exec(this.$route.path);if(t&&t[1]){this.lang=t[1];let e=s.find(e=>e.path===this.lang);this.currentLangName=e.name,this.otherLangList=s.filter(e=>e.path!==this.lang)}},toIndex(){this.$router.push("/index")},toDemo(){this.$router.push("/")},handleCommand(e){let t=this.$route.path.replace(/^\/doc\/([^\/]+)\//,(...t)=>`/doc/${e}/`);this.$router.push(t)},toHelp(){this.lang="zh",this.$router.replace("/help/zh/")},toDev(){this.$router.replace("/doc/zh/")}}},b=k,w=(n("eca6"),n("2877")),y=Object(w["a"])(b,l,c,!1,null,"1c36e28e",null),A=y.exports,E=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sideBarContainer"},[t("div",{staticClass:"catalogGroupList"},e._l(e.groupList,(function(n,i){return t("div",{key:i,staticClass:"catalogGroup"},[t("div",{staticClass:"catalogGroupName"},[e._v(e._s(n.groupName))]),t("div",{staticClass:"catalogList"},e._l(n.list,(function(n){return t("div",{key:i+n.path,staticClass:"catalogItem",class:{active:n.path===e.currentPath},on:{click:function(t){return e.jump(n)}}},[e._v(" "+e._s(n.name)+" ")])})),0)])})),0)])},C=[],N={data(){return{groupList:[],lang:"",currentPath:"",type:""}},created(){this.initCatalog()},watch:{$route(){this.initCatalog()}},methods:{jump(e){e.path!==this.currentPath&&this.$router.push(`/${this.type}/${this.lang}/${e.path}`)},initCatalog(){let e=/^\/(doc|help)\/([^\/]+)\//.exec(this.$route.path);e&&e[2]&&(this.type=e[1],this.lang=e[2],this.groupList=g[this.lang].filter(e=>e.type===this.type));let t=/^\/(doc|help)\/[^\/]+\/([^\/]+)(\/|$)/.exec(this.$route.path);t&&t[2]&&(this.currentPath=t[2])}}},O=N,L=(n("2f42"),Object(w["a"])(O,E,C,!1,null,"73f8f4b5",null)),S=L.exports,I=function(){var e=this,t=e._self._c;return t("div",{staticClass:"catalogBarContainer"},[t("div",{staticClass:"catalogBarTitle"},[e._v(e._s(e.pageCatalogTitle))]),t("div",{staticClass:"catalogList"},[e._l(e.list,(function(n,i){return t("div",{key:n.title+i,staticClass:"catalogItem",class:{active:n.title===e.activeCatalog},on:{click:function(t){return e.scrollTo(n,i)}}},[e._v(" "+e._s(n.title)+" ")])})),-1!==e.activeCatalogIndex?t("div",{staticClass:"activeBar",style:{top:4+28*e.activeCatalogIndex+"px"}}):e._e()],2)])},R=[],M={props:{scrollTop:{type:Number}},data(){return{lang:"",list:[],activeCatalog:"",activeCatalogIndex:-1,appointCatalog:!0}},computed:{pageCatalogTitle(){return x("pageCatalog",this.lang)}},watch:{$route(e,t){this.initLang(),this.initCatalogList(e.path,t.path)},scrollTop(){this.onScroll()},lang(e,t){t&&this.initCatalogList()}},mounted(){this.initLang(),this.initCatalogList(),this.scrollToCatalog()},methods:{initLang(){let e=/^\/(doc|help)\/([^\/]+)\//.exec(this.$route.path);e&&e[2]&&(this.lang=e[2])},initCatalogList(e,t){let n=/^\/(doc|help)\/[^\/]+\/([^\/]+)/.exec(e),i=/^\/(doc|help)\/[^\/]+\/([^\/]+)/.exec(t);if(!e&&!t||n[2]!==i[2]){this.$emit("scroll",0),this.resetActive();let e=document.getElementById("doc"),t=document.querySelectorAll("#doc h2");this.list=Array.from(t).map(t=>({title:t.textContent,top:t.offsetTop-e.offsetTop}))}},scrollToCatalog(){let e=/^\/(doc|help)\/[^\/]+\/[^\/]+\/([^\/]+)($|\/)/.exec(this.$route.path);if(e&&e[2]){let t=decodeURIComponent(e[2]),n=this.list.find(e=>e.title===t),i=this.list.findIndex(e=>e.title===t);n&&(this.activeCatalog=n.title,this.activeCatalogIndex=i,this.$emit("scroll",n.top))}},scrollTo(e,t){this.appointCatalog=!0,this.routeToNewCatalog(e.title),this.$nextTick(()=>{this.activeCatalog=e.title,this.activeCatalogIndex=t,this.scrollToCatalog()})},routeToNewCatalog(e){let t=this.$route.path,n="";n=e?/^\/(doc|help)\/[^\/]+\/[^\/]+($|\/)$/.test(t)?t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+)($|\/)$/,"$1/"+encodeURIComponent(e)):t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+\/)([^\/]+)($|\/)/,(...t)=>t[1]+encodeURIComponent(e)):t.replace(/^(\/(doc|help)\/[^\/]+\/[^\/]+)($|\/|.*)$/,"$1"),t!==n&&this.$router.push(n)},onScroll(){if(this.appointCatalog)return void(this.appointCatalog=!1);let e=!1;for(let t=0;t<this.list.length;t++){let n=this.list[t],i=this.list[t+1];if(this.scrollTop>=n.top&&(!i||this.scrollTop<i.top)){if(e=!0,n.title===this.activeCatalog)break;this.activeCatalog=n.title,this.activeCatalogIndex=t,this.routeToNewCatalog(n.title);break}}e||(this.resetActive(),this.routeToNewCatalog(""))},resetActive(){this.activeCatalog="",this.activeCatalogIndex=-1}}},_=M,z=(n("b1fa"),Object(w["a"])(_,I,R,!1,null,"3cf0fbd6",null)),D=z.exports,F=(n("2c43"),{components:{Header:A,Sidebar:S,CatalogBar:D},data(){return{scrollTop:0}},methods:{doScroll(e){this.$nextTick(()=>{try{this.$refs.doc.scrollTop=e}catch(t){console.log(t)}})},onScroll(){this.scrollTop=this.$refs.doc.scrollTop}}}),P=F,B=(n("3650"),Object(w["a"])(P,a,r,!1,null,null,null)),U=B.exports;const H=()=>{let e=d[0].children;for(let t=1;t<d.length;t++){let n=d[t].children;e.forEach(e=>{n.find(t=>t.path===e.path)||n.push({...e,lang:"zh"})})}};H();const j=(e,t)=>[...d.map(n=>({path:`/${e}/${n.lang}/`,redirect:`/${e}/${n.lang}/${t}/`})),...d.map(t=>({path:`/${e}/${t.lang}/`,component:U,children:t.children.map(e=>({path:e.path+"/:h?",component:()=>n("b834")(`./${e.lang||t.lang}/${e.path}/index.vue`)}))}))];i["default"].use(o["a"]);const G=[{path:"/index",name:"Index",component:()=>n.e("chunk-f132a990").then(n.bind(null,"9684"))},{path:"/",name:"Edit",component:()=>n.e("chunk-834ed67a").then(n.bind(null,"5fca"))},...j("doc","introduction"),...j("help","help1")],Y=new o["a"]({routes:G});t["a"]=Y},"440d":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABhVJREFUeF7tW2uME1UU/s4suwjyMBpw1e0UAkYCiWIkasJLScwaoySIrtiZRQJ0CiIRDfEVEuGHkUg0ogHZWdiV3c6ugUA0avCBkaiQSCAmGl8RIp1FBDWCBMGw3TmmsNNOZ2e6nWm3LbT917n33HvOd87cc+537xDK/Edlbj8qAFQi4BJBYHw0OuI8nZsHwnQwpgMcdFH9MBifsmDsr7li6IeHH5z/RyYTL4lXIKCp9QS8CmCSN3/RMRDW6aHw625yJQ+AqKkfAaj3Znh6bwLejUnKHKcxShoAsb1pNQR6sY/iRMcZ/JOjQQbfCKIb7G0EY25MWrKz7/NcoB1A2WDn5lvZML4CMDQ1Db0PZlWXlQ8yTR3oVGeTgWcATLX0O2XE4zOPPvb4t1bZko0AUVMbAbSZymYKYzcwAh3q58S4KzkGY1FMVlpKGoBgW/NYFngSCE8BmJVUloVpurx4r5egEzuapoHpy9QY/IouR54tWQBETW0FsMDJyDjxqGOhyF9eAKjd1jKqpjueTIMM3tklReaWHACBt5vGUTXtBjDGzcAqotpfQ+ETXgAItjddxwIds8js0CXloZICYGxH87U9zMf7M8xtFc9iMXwvuQYQvRQLhVeVFACi1vw1wLenGWLwGhaEagK/YHl/f9PlSF1/QFnbRU3lNGNZkGLy4o6SASCoqSsZWGdViJnru+TIJxdL33/3A3STpT1R5q4g5oOxxsjvTmBcjChjBkDb0sYl7OFBZ+472vD0uZIAYEzrhlqjptpmBE3RpfBBU8HeEjhRCeb8M+LxW+w1QGLQotUBde2b7hUEYVfKMlZ1KRKxW+paDXqBxOA1emNktZNI0QAQo03Pgehli1LzdUlpd1KybuvGm6l60HprUZOd/fwzg57skpSP3foXDYCgpnYyMM9UTBB6xh55dOkRN0Xrtr02pOr8iDkQeCIzT2DCNY4eZT7BhO9g8KHBGLbrkCyfzgRW0QCwl6m6pBRFl6JMmvBIBQDbRqUSAaX2CgQ6t0yhnp5FLGBCdituei+B6UcwH7BvP81eoqYeAHBb7//TuqSMzDRPQRfBvORe0xqHHHyxyjv7j8Xg3bqk3OOaAQqZBoNRdSETtvjxursMN+hSZLvZHoyqc5iQoqeY1+py5Hkn+bw4w0shFNSaNzJ4aT4BYEJLV0hZZAn/QwDGmf8JkGOSotnnLEopbE9P4EGTdHnhD14AEaMtE0Hx700ZJuzpCil3J/47ePQXo1q482jD4r+tcxRtM5Sv/Gzbiu4FYy0JWMWMO6yGuno/uukRIuGdZF/mwmyHBwgA5wBinCKC7tTIzKNBVJt6TZxp7UyR2csOeyNECgqAh/eqYJRYqQKQD1IUQP+cYIEB+A/AWZdAuDrteR5occqGExwgABLb051Ox1xkYGqsUdnXJwXaFsH8HIxkwQnaAehvn+7kPTsdbabB3vSY4OpSp7yEfedOdtf/uWzZmf7ToP+jsYQOWXGC9kIoIehhrUp2tbI3fQuhJh2ggCXFLdDlyNasCyEfh6NZc4IDUQoTsxSTI0k6OtCuziYByfQEYL0uKStKohROKBHQmjUCh/x4vq8MbdelcIP1+ZjW1quMmu6TqWf0hS6FZ7rNVxROUIyq94NoPsAP+wOCtjNxogTe6OhZTf0GwOTetjO6pAzPNE9iOyx0D2/0ckVmsDFsR4UT7Md7FU7QX3jnLpWveiNXTSoRkCuCfuVFTY0CkJK7PYOvdzvwTPQpKCfo1ygvcmKHuhyMN1LFEB5wu/xUlDToxRg/fYNtzbO4ij+z1AKrdSm8xj5WwTlBP8b4kRnX9tbo7qqqtCsv5t0Ac7yicIJ+jPErE9DUNwl4Ik2+l4MsGifo1xi/cqKmngKQfihy4YoMXUnAytQaUSBO0K8hfuX6nBG4DHTZXpJK2HvhQiNoNxiD3YAsGCfo15O5yo3asGHYkJHV60BY4jRWPjjBkr0oaTW4rn3zeIF4MpOxnEAzUmtAGVyVtQJRtpelTRDK/rr8hcWxnD+YMCOhrD+ZsZXE5fnRlAlCWX82l2uNkUm+aIzQQBrlZewKAF7Quhz7/g9P4cNulJCaPwAAAABJRU5ErkJggg=="},5439:function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);var i=n("2b0e"),o=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},a=[],r={name:"App",components:{}},l=r,c=(n("36f1"),n("2877")),d=Object(c["a"])(l,o,a,!1,null,null,null),s=d.exports,u=n("41cb"),h=n("c0d6"),p=n("5c96"),m=n.n(p),f=(n("0fae"),n("9c65"),n("0808"),n("c71c")),g=n("9225"),v=n("365c");i["default"].config.productionTip=!1;const T=new i["default"];i["default"].prototype.$bus=T,i["default"].use(m.a),i["default"].use(f["a"]);const x=()=>{g["a"].locale=Object(v["b"])(),new i["default"]({render:e=>e(s),router:u["a"],store:h["a"],i18n:g["a"]}).$mount("#app")};window.takeOverApp?(window.initApp=x,window.$bus=T):x()},5848:function(e,t,n){"use strict";const i=()=>({image:"/enJFNMHnedQTYTESGfDkctCp2.jpeg",imageTitle:"图片名称",imageSize:{width:1e3,height:563},icon:["priority_1"],tag:["标签1","标签2"],hyperlink:"http://lxqnsys.com/",hyperlinkTitle:"理想青年实验室",note:"理想青年实验室\n一个有意思的角落"}),o=(i(),i(),{root:{data:{text:"根节点"},children:[{data:{text:"二级节点",generalization:{text:"概要"}},children:[{data:{text:"分支主题"},children:[]},{data:{text:"分支主题"},children:[]}]}]}});t["a"]={...o,theme:{template:"classic4",config:{}},layout:"logicalStructure",config:{}}},"59d2":function(e,t,n){},"716d":function(e,t,n){},9225:function(e,t,n){"use strict";var i=n("2b0e"),o=n("a925"),a={baseStyle:{title:"BaseStyle",background:"Background",color:"Color",image:"Image",imageRepeat:"Image repeat",imagePosition:"Image position",imageSize:"Image size",line:"Line",width:"Width",style:"Style",lineRadius:"Radius",lineOfOutline:"Line of outline",showArrow:"Is show arrow",nodePadding:"Node padding",nodeMargin:"Node margin",horizontal:"Horizontal",vertical:"Vertical",maximumWidth:"Max width",maximumHeight:"Max height",icon:"Icon",size:"Size",level2Node:"Level2 node",belowLevel2Node:"Below level2 node",nodeBorderType:"Node border style",nodeUseLineStyle:"Use only has bottom border style",otherConfig:"Other config",enableFreeDrag:"Enable node free drag",watermark:"Watermark",showWatermark:"Is show watermark",onlyExport:"Only export",watermarkDefaultText:"Watermark text",watermarkText:"Watermark text",watermarkTextColor:"Text color",watermarkLineSpacing:"Line spacing",watermarkTextSpacing:"Text spacing",watermarkAngle:"Angle",watermarkTextOpacity:"Text opacity",watermarkTextFontSize:"Font size",belowNode:"Display below nodes",isEnableNodeRichText:"Enable node rich text editing",mousewheelAction:"Mouse wheel behavior",zoomView:"Zoom view",moveViewUpDown:"Move view up and down",associativeLine:"Associative line",associativeLineWidth:"Width",associativeLineColor:"Color",associativeLineActiveWidth:"Active width",associativeLineActiveColor:"Active color",mousewheelZoomActionReverse:"Mouse Wheel Zoom",mousewheelZoomActionReverse1:"Zoom out forward and zoom in back",mousewheelZoomActionReverse2:"Zoom in forward and zoom out back",createNewNodeBehavior:"Behavior of creating new node",default:"Active new node and editing",notActive:"Not active new node",activeOnly:"Only active new node but not editing",rootStyle:"Root Node",associativeLineText:"Associative line text",fontFamily:"Font family",fontSize:"Font size",isShowScrollbar:"Is show scrollbar",isUseHandDrawnLikeStyle:"Is use hand drawn like style",rootLineStartPos:"Root line start pos",center:"Center",right:"Right",rainbowLines:"Rainbow lines",notUseRainbowLines:"Not use rainbow lines"},color:{moreColor:"More color"},contextmenu:{insertSiblingNode:"Insert sibling node",insertChildNode:"Insert child node",insertParentNode:"Insert parent node",insertSummary:"Insert summary",moveUpNode:"Move up node",moveDownNode:"Move down node",deleteNode:"Delete node",deleteCurrentNode:"Only del cur node",copyNode:"Copy node",cutNode:"Cut node",pasteNode:"Paste node",backCenter:"Back root node",expandAll:"Expand all",unExpandAll:"Un expand all",expandTo:"Expand to",arrangeLayout:"Arrange layout",level1:"Level1",level2:"Level2",level3:"Level3",level4:"Level4",level5:"Level5",level6:"Level6",zenMode:"Zen mode",fitCanvas:"Fit canvas",removeImage:"Remove image",removeHyperlink:"Remove hyperlink",removeNote:"Remove note",removeCustomStyles:"Remove custom styles",removeAllNodeCustomStyles:"Remove all node custom styles",exportNodeToPng:"Export node to png"},count:{words:"Words",nodes:"Nodes"},dialog:{cancel:"Cancel",confirm:"Confirm"},export:{title:"Export",filename:"Filename",include:"Is include config like theme and structure",dedicatedFile:"Dedicated file",jsonFile:"json file",imageFile:"Image file",svgFile:"svg file",pdfFile:"pdf file",markdownFile:"markdown file",tips:"tips: .smm and .json file can be import",isTransparent:"Background is transparent",pngTips:"tips: Exporting pictures in rich text mode is time-consuming. It is recommended to export to svg format",svgTips:"tips: Exporting pictures in rich text mode is time-consuming",transformingDomToImages:"Converting nodes: ",notifyTitle:"Info",notifyMessage:"If the download is not triggered, check whether it is blocked by the browser",paddingX:"Padding x",paddingY:"Padding y",useMultiPageExport:"Export multi page",defaultFileName:"Mind map",addFooterTextPlaceholder:"For example: From simple-mind-map",addFooterText:"Add text at the footer"},fullscreen:{fullscreenShow:"Full screen show",fullscreenEdit:"Full screen edit"},demonstrate:{demonstrate:"Enter demonstration mode"},import:{title:"Import",selectFile:"Select file",supportFile:"Support .smm、.json、.xmind、.xlsx、.md file",enableFileTip:"Please select .smm、.json、.xmind、.xlsx、.md file",maxFileNum:"At most one file can be selected",notSelectTip:"Please select the file to import",fileContentError:"The file content is incorrect",importSuccess:"Import success",fileParsingFailed:"File parsing failed",xmindCanvasSelectDialogTitle:"Select the canvas to import"},navigatorToolbar:{openMiniMap:"Open mini map",closeMiniMap:"Close mini map",readonly:"Change to eadonly",edit:"Change to edit",backToRoot:"Back to root node",changeSourceCodeEdit:"Switch to source code editing mode"},nodeHyperlink:{title:"Link",link:"Href",name:"Name"},nodeIcon:{title:"Icon"},nodeImage:{title:"Image",imgTitle:"Title"},nodeNote:{title:"Note"},nodeTag:{title:"Tag",addTip:"Press Enter to add"},outline:{title:"Outline",nodeDefaultText:"Branch node"},scale:{zoomIn:"Zoom in",zoomOut:"Zoom out"},shortcutKey:{title:"Shortcut key"},strusture:{title:"Strusture"},style:{title:"Node style",normal:"Normal",active:"Active",text:"Text",fontFamily:"Font family",fontSize:"Font size",lineHeight:"Line height",color:"color",addFontWeight:"add font weight",italic:"Italic",textDecoration:"Text decoration",underline:"Underline",none:"None",lineThrough:"Line through",overline:"Overline",border:"Border",style:"Style",width:"Width",borderRadius:"Border radius",background:"Background",shape:"Shape",line:"Line",nodePadding:"Node padding",horizontal:"Horizontal",vertical:"Vertical",gradientStyle:"Gradient",startColor:"Start",endColor:"End",arrowDir:"Arrow dir",arrowDirStart:"Start",arrowDirEnd:"End"},theme:{title:"Theme",classics:"Classics",dark:"Darkness",simple:"Simple",coverTip:"You have currently customized the basic style, do you want to overwrite it?",tip:"Tip",cover:"Cover",reserve:"Reserve"},toolbar:{undo:"Undo",redo:"Redo",insertSiblingNode:"Sibling node",insertChildNode:"Child node",deleteNode:"Delete node",image:"Image",icon:"Icon",link:"Link",note:"Note",tag:"Tag",summary:"Summary",displayOutline:"Display outline",baseStyle:"Base style",theme:"Theme",strusture:"Strusture",newFile:"New file",openFile:"Open file",saveAs:"Save as",import:"Import",export:"Export",shortcutKey:"Shortcut key",associativeLine:"Associative line",painter:"Painter",formula:"Formula",attachment:"Attachment",more:"More",selectFileTip:"Please select a file",notSupportTip:"Your browser does not support this feature, or the current page is not using the HTTPS protocol",tip:"Tip",editingLocalFileTipFront:"Currently editing your local【",editingLocalFileTipEnd:"】file",fileContentError:"File content error",fileOpenFailed:"File open failed",defaultFileName:"Mind map",creatingTip:"Creating file",directory:"Directory",newFileTip:"Please export the currently edited file before creating a new one, otherwise the content will be lost",openFileTip:"Please export the currently edited file before opening it, otherwise the content will be lost"},edit:{newFeatureNoticeTitle:"New feature reminder",newFeatureNoticeMessage:"This update supports node rich text editing, But there are some defects, The most important impact is that the time to export the image is proportional to the number of nodes, Therefore, if you are more dependent on export requirements, you can use【Base style】-【Other config】-【Enable node rich text editing】Set to turn off rich text editing mode.",root:"Root node",splitByWrap:"Is automatically split nodes based on line breaks?",tip:"Tip",yes:"Yes",no:"No",exportError:"Export failed",dragTip:"Release here to import the file"},mouseAction:{tip1:"Current: Left click to drag the canvas, right click to box select nodes",tip2:"Current: Left click to box select nodes, right click to drag the canvas"},search:{searchPlaceholder:"Please enter the search content",replacePlaceholder:"Please enter replacement content",replace:"Replace",replaceAll:"Replace all",cancel:"Cancel"},nodeIconSidebar:{title:"Icon/Sticker",icon:"Icon",sticker:"Sticker"},formulaSidebar:{title:"Formula",placeholder:"Please enter LaTeX syntax",confirm:"Confirm",common:"Common formulas",tip:"Inserting formulas is not supported in non rich text mode"},richTextToolbar:{bold:"Bold",italic:"Italic",underline:"Underline",strike:"Strike",fontFamily:"Font family",fontSize:"Font size",color:"Color",backgroundColor:"Background color",removeFormat:"Clear Style"},other:{loading:"Loading, please wait..."},sourceCodeEdit:{sourceCodeTip:"It is not recommended to modify the style in rich text mode because it requires synchronous modification of data and HTML structure.",format:"Format",copy:"Copy",confirm:"Complete",close:"Close",formatErrorTip:"The JSON format is incorrect. Please check and try again",copyTip:"Copied to clipboard",formatTip:"Format complete"},attachment:{deleteAttachment:"Delete attachment",tip:"The attachment function is only available on the client side"}},r={baseStyle:{title:"基础样式",background:"背景",color:"颜色",image:"图片",imageRepeat:"图片重复",imagePosition:"图片位置",imageSize:"图片大小",line:"连线",width:"粗细",style:"风格",lineRadius:"圆角大小",lineOfOutline:"概要的连线",showArrow:"是否显示箭头",nodePadding:"节点内边距",nodeMargin:"节点外边距",horizontal:"水平",vertical:"垂直",maximumWidth:"显示的最大宽度",maximumHeight:"显示的最大高度",icon:"图标",size:"大小",level2Node:"二级节点",belowLevel2Node:"三级及以下节点",nodeBorderType:"节点边框风格",nodeUseLineStyle:"是否使用只有底边框的风格",otherConfig:"其他配置",enableFreeDrag:"是否开启节点自由拖拽",watermark:"水印",showWatermark:"是否显示水印",watermarkDefaultText:"水印文字",onlyExport:"是否仅在导出时显示",watermarkText:"水印文字",watermarkTextColor:"文字颜色",watermarkLineSpacing:"水印行间距",watermarkTextSpacing:"水印文字间距",watermarkAngle:"旋转角度",watermarkTextOpacity:"文字透明度",watermarkTextFontSize:"文字字号",belowNode:"显示在节点下方",isEnableNodeRichText:"是否开启节点富文本编辑",mousewheelAction:"鼠标滚轮行为",zoomView:"缩放视图",moveViewUpDown:"上下移动视图",associativeLine:"关联线",associativeLineWidth:"粗细",associativeLineColor:"颜色",associativeLineActiveWidth:"激活粗细",associativeLineActiveColor:"激活颜色",mousewheelZoomActionReverse:"鼠标滚轮缩放",mousewheelZoomActionReverse1:"向前缩小向后放大",mousewheelZoomActionReverse2:"向前放大向后缩小",createNewNodeBehavior:"创建新节点的行为",default:"激活新节点及进入编辑",notActive:"不激活新节点",activeOnly:"只激活新节点,不进入编辑",rootStyle:"根节点",associativeLineText:"关联线文字",fontFamily:"字体",fontSize:"字号",isShowScrollbar:"是否显示滚动条",isUseHandDrawnLikeStyle:"是否开启手绘风格",rootLineStartPos:"根节点连线起始位置",center:"中心",right:"右侧",rainbowLines:"彩虹线条",notUseRainbowLines:"不使用彩虹线条"},color:{moreColor:"更多颜色"},contextmenu:{insertSiblingNode:"插入同级节点",insertChildNode:"插入子级节点",insertParentNode:"插入父节点",insertSummary:"插入概要",moveUpNode:"上移节点",moveDownNode:"下移节点",deleteNode:"删除节点",deleteCurrentNode:"仅删除当前节点",copyNode:"复制节点",cutNode:"剪切节点",pasteNode:"粘贴节点",backCenter:"回到根节点",expandAll:"展开所有",unExpandAll:"收起所有",expandTo:"展开到",arrangeLayout:"一键整理布局",level1:"一级主题",level2:"二级主题",level3:"三级主题",level4:"四级主题",level5:"五级主题",level6:"六级主题",zenMode:"禅模式",fitCanvas:"适应画布",removeImage:"移除图片",removeHyperlink:"移除超链接",removeNote:"移除备注",removeCustomStyles:"一键去除自定义样式",removeAllNodeCustomStyles:"一键去除所有节点自定义样式",exportNodeToPng:"导出该节点为图片"},count:{words:"字数",nodes:"节点"},dialog:{cancel:"取 消",confirm:"确 定"},export:{title:"导出",filename:"导出文件名称",include:"是否包含主题、结构等配置数据",dedicatedFile:"专有文件",jsonFile:"json文件",imageFile:"图片文件",svgFile:"svg文件",pdfFile:"pdf文件",markdownFile:"markdown文件",tips:"tips:.smm和.json文件可用于导入",isTransparent:"背景是否透明",pngTips:"tips:富文本模式导出图片非常耗时,建议导出为svg格式",svgTips:"tips:富文本模式导出图片非常耗时",transformingDomToImages:"正在转换节点:",notifyTitle:"消息",notifyMessage:"如果没有触发下载,请检查是否被浏览器拦截了",paddingX:"水平内边距",paddingY:"垂直内边距",useMultiPageExport:"是否多页导出",defaultFileName:"思维导图",addFooterText:"底部添加文字",addFooterTextPlaceholder:"比如:来自simple-mind-map"},fullscreen:{fullscreenShow:"全屏查看",fullscreenEdit:"全屏编辑"},demonstrate:{demonstrate:"进入演示模式"},import:{title:"导入",selectFile:"选取文件",supportFile:"支持.smm、.json、.xmind、.xlsx、.md文件",enableFileTip:"请选择.smm、.json、.xmind、.xlsx、.md文件",maxFileNum:"最多只能选择一个文件",notSelectTip:"请选择要导入的文件",fileContentError:"文件内容有误",importSuccess:"导入成功",fileParsingFailed:"文件解析失败",xmindCanvasSelectDialogTitle:"选择要导入的画布"},navigatorToolbar:{openMiniMap:"开启小地图",closeMiniMap:"关闭小地图",readonly:"切换为只读模式",edit:"切换为编辑模式",backToRoot:"回到根节点",changeSourceCodeEdit:"切换为源码编辑模式"},nodeHyperlink:{title:"超链接",link:"链接",name:"名称"},nodeIcon:{title:"图标"},nodeImage:{title:"图片",imgTitle:"图片标题"},nodeNote:{title:"备注"},nodeTag:{title:"标签",addTip:"请按回车键添加"},outline:{title:"大纲",nodeDefaultText:"分支节点"},scale:{zoomIn:"放大",zoomOut:"缩小"},shortcutKey:{title:"快捷键"},strusture:{title:"结构"},style:{title:"节点样式",normal:"常态",active:"选中状态",text:"文字",fontFamily:"字体",fontSize:"字号",lineHeight:"行高",color:"颜色",addFontWeight:"加粗",italic:"斜体",textDecoration:"划线",none:"无",underline:"下划线",lineThrough:"中划线",overline:"上划线",border:"边框",style:"样式",width:"宽度",borderRadius:"圆角",background:"背景",shape:"形状",line:"线条",nodePadding:"节点内边距",horizontal:"水平",vertical:"垂直",gradientStyle:"渐变",startColor:"起始",endColor:"结束",arrowDir:"箭头位置",arrowDirStart:"头部",arrowDirEnd:"尾部"},theme:{title:"主题",classics:"经典",dark:"深色",simple:"朴素",coverTip:"你当前自定义过基础样式,是否覆盖?",tip:"提示",cover:"覆盖",reserve:"保留"},toolbar:{undo:"回退",redo:"前进",insertSiblingNode:"同级节点",insertChildNode:"子节点",deleteNode:"删除节点",image:"图片",icon:"图标",link:"超链接",note:"备注",tag:"标签",summary:"概要",displayOutline:"显示大纲",baseStyle:"基础样式",theme:"主题",strusture:"结构",newFile:"新建",openFile:"打开",saveAs:"另存为",import:"导入",export:"导出",shortcutKey:"快捷键",associativeLine:"关联线",painter:"格式刷",formula:"公式",attachment:"附件",more:"更多",selectFileTip:"请选择文件",notSupportTip:"你的浏览器不支持该功能,或者当前页面非https协议",tip:"提示",editingLocalFileTipFront:"当前正在编辑你本机的【",editingLocalFileTipEnd:"】文件",fileContentError:"文件内容有误",fileOpenFailed:"文件打开失败",defaultFileName:"思维导图",creatingTip:"正在创建文件",directory:"目录",newFileTip:"新建文件前请先导出当前编辑的文件,否则内容会丢失",openFileTip:"打开文件前请先导出当前编辑的文件,否则内容会丢"},edit:{newFeatureNoticeTitle:"新特性提醒",newFeatureNoticeMessage:"本次更新支持了节点富文本编辑,但是存在一定缺陷,最主要的影响是导出为图片的时间和节点数量成正比,所以对导出需求比较依赖的话可以通过【基础样式】-【其他配置】-【是否开启节点富文本编辑】设置关掉富文本编辑模式。",root:"根节点",splitByWrap:"是否按换行自动分割节点?",tip:"提示",yes:"是",no:"否",exportError:"导出失败",dragTip:"在此释放以导入该文件"},mouseAction:{tip1:"当前:左键拖动画布,右键框选节点",tip2:"当前:左键框选节点,右键拖动画布"},search:{searchPlaceholder:"请输入查找内容",replacePlaceholder:"请输入替换内容",replace:"替换",replaceAll:"全部替换",cancel:"取消"},nodeIconSidebar:{title:"图标/贴纸",icon:"图标",sticker:"贴纸"},formulaSidebar:{title:"公式",placeholder:"请输入 LaTeX 语法",confirm:"完成",common:"常用公式",tip:"非富文本模式下不支持插入公式"},richTextToolbar:{bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",fontFamily:"字体",fontSize:"字号",color:"字体颜色",backgroundColor:"背景颜色",removeFormat:"清除样式"},other:{loading:"正在加载,请稍后..."},sourceCodeEdit:{sourceCodeTip:"富文本模式下不建议修改样式,因为需要同步修改数据及html结构。",format:"格式化",copy:"复制",confirm:"完成",close:"关闭",formatErrorTip:"JSON格式有误,请检查后再试",copyTip:"已复制到剪贴板",formatTip:"格式化完成"},attachment:{deleteAttachment:"删除附件",tip:"附件功能仅在客户端可用"}},l={zh:r,en:a};i["default"].use(o["a"]);const c=new o["a"]({messages:l});t["a"]=c},"9c65":function(e,t,n){},b1fa:function(e,t,n){"use strict";n("5439")},b834:function(e,t,n){var i={"./en/associativeLine/index.vue":["708b","chunk-2d0d5cb9"],"./en/batchExecution/index.vue":["ed72","chunk-2d2308b0"],"./en/changelog/index.vue":["a6d3","chunk-2d208ffa"],"./en/client/index.vue":["0247","chunk-2d0a34fb"],"./en/command/index.vue":["9381","chunk-2d0e5089"],"./en/constructor/index.vue":["6a50","chunk-2d0d9fbc"],"./en/cooperate/index.vue":["f2be","chunk-2d22c6c5"],"./en/demonstrate/index.vue":["5d71","chunk-2d0d36df"],"./en/deploy/index.vue":["b1a3","chunk-2d20f137"],"./en/doExport/index.vue":["c6ec","chunk-2d217907"],"./en/drag/index.vue":["ff2d","chunk-2d238428"],"./en/formula/index.vue":["dec3","chunk-2d229d67"],"./en/handDrawnLikeStyle/index.vue":["d763","chunk-9d289278"],"./en/introduction/index.vue":["7f29","chunk-bb91a162"],"./en/keyCommand/index.vue":["2f7a","chunk-2d0be174"],"./en/keyboardNavigation/index.vue":["328f","chunk-2d0b92c3"],"./en/markdown/index.vue":["8102","chunk-2d0dd3b1"],"./en/miniMap/index.vue":["b98e","chunk-2d210a7a"],"./en/node/index.vue":["c133","chunk-2d216004"],"./en/nodeImgAdjust/index.vue":["48a3","chunk-2d0c226c"],"./en/painter/index.vue":["76a5","chunk-2d0d7809"],"./en/rainbowLines/index.vue":["8235","chunk-2d0dd7d2"],"./en/render/index.vue":["8e32","chunk-2d0e9742"],"./en/richText/index.vue":["4947","chunk-2d0c20be"],"./en/scrollbar/index.vue":["a950","chunk-2d209589"],"./en/search/index.vue":["bf42","chunk-2d21b2b8"],"./en/select/index.vue":["ddd1","chunk-2d2299c3"],"./en/start/index.vue":["b407","chunk-2d20f68f"],"./en/textEdit/index.vue":["9d03","chunk-2d0f0784"],"./en/touchEvent/index.vue":["a1cd","chunk-2d207d47"],"./en/translate/index.vue":["479a","chunk-2d0c1a01"],"./en/utils/index.vue":["144f","chunk-2d0ab10b"],"./en/view/index.vue":["16c7","chunk-2d0abe0f"],"./en/watermark/index.vue":["27ad","chunk-2d0b361e"],"./en/xmind/index.vue":["f127","chunk-2d22bd06"],"./zh/associativeLine/index.vue":["20fa","chunk-2d0b1c6f"],"./zh/batchExecution/index.vue":["e9ee","chunk-2d226d0a"],"./zh/changelog/index.vue":["9ac1","chunk-2d0f026c"],"./zh/client/index.vue":["92da","chunk-2d0e524c"],"./zh/command/index.vue":["6df4","chunk-2d0db0f2"],"./zh/constructor/index.vue":["6cfb","chunk-2d0dad5f"],"./zh/cooperate/index.vue":["a1ae","chunk-2d207d0a"],"./zh/course1/index.vue":["8e98","chunk-2d0e9802"],"./zh/course10/index.vue":["3f2a","chunk-2d0c5538"],"./zh/course11/index.vue":["33b0","chunk-2d0b9b64"],"./zh/course12/index.vue":["eb27","chunk-2d230098"],"./zh/course13/index.vue":["c1ec","chunk-2d216642"],"./zh/course14/index.vue":["e487","chunk-2d2254a4"],"./zh/course15/index.vue":["fb9a","chunk-2d2375fa"],"./zh/course16/index.vue":["18dc","chunk-2d0ac5dc"],"./zh/course17/index.vue":["4323","chunk-2d0c09f6"],"./zh/course18/index.vue":["91b3","chunk-2d0e4e1f"],"./zh/course19/index.vue":["ae22","chunk-77915045"],"./zh/course2/index.vue":["c187","chunk-2d2160a3"],"./zh/course20/index.vue":["158d","chunk-2d0ab546"],"./zh/course21/index.vue":["e410","chunk-2d2253c4"],"./zh/course22/index.vue":["d013","chunk-2d21d064"],"./zh/course23/index.vue":["a0a8","chunk-2d20791c"],"./zh/course24/index.vue":["2ad8","chunk-2d0bd3f9"],"./zh/course25/index.vue":["e6dd","chunk-2d2261a7"],"./zh/course26/index.vue":["20c6","chunk-2d0b1be7"],"./zh/course27/index.vue":["0805","chunk-2d0a4b03"],"./zh/course28/index.vue":["d920","chunk-2d21f249"],"./zh/course29/index.vue":["dfea","chunk-2d22a194"],"./zh/course3/index.vue":["0fcd","chunk-2d0afe0d"],"./zh/course4/index.vue":["32a6","chunk-2d0b978a"],"./zh/course5/index.vue":["3c76","chunk-2d0c4a65"],"./zh/course6/index.vue":["8e25","chunk-2d0e9726"],"./zh/course7/index.vue":["c13f","chunk-2d216037"],"./zh/course8/index.vue":["cc99","chunk-2d221c76"],"./zh/course9/index.vue":["b69b","chunk-2d20ff53"],"./zh/demonstrate/index.vue":["8e00","chunk-2d0e96e3"],"./zh/deploy/index.vue":["71bb","chunk-2d0d6590"],"./zh/doExport/index.vue":["1256","chunk-2d0aa978"],"./zh/drag/index.vue":["4604","chunk-2d0c14fc"],"./zh/formula/index.vue":["d53e","chunk-2d21e399"],"./zh/handDrawnLikeStyle/index.vue":["d2d5","chunk-1c3bec15"],"./zh/help1/index.vue":["05ec","chunk-2d0a4659"],"./zh/help2/index.vue":["83fa","chunk-2d0de1ec"],"./zh/help3/index.vue":["3de7","chunk-2d0c53b9"],"./zh/help4/index.vue":["f08f","chunk-2d22ba2e"],"./zh/help5/index.vue":["2c65","chunk-2d0bd5e6"],"./zh/help6/index.vue":["f8f3","chunk-2d22dd95"],"./zh/introduction/index.vue":["4710","chunk-337a3983"],"./zh/keyCommand/index.vue":["a43c","chunk-2d2082b9"],"./zh/keyboardNavigation/index.vue":["2c18","chunk-2d0bd54e"],"./zh/markdown/index.vue":["08d0","chunk-2d0a514a"],"./zh/miniMap/index.vue":["0168","chunk-2d0a3179"],"./zh/node/index.vue":["433b","chunk-2d0c0a44"],"./zh/nodeImgAdjust/index.vue":["1f8f","chunk-2d0b6d39"],"./zh/painter/index.vue":["5b22","chunk-2d0d2ec3"],"./zh/rainbowLines/index.vue":["4987","chunk-2d0c213a"],"./zh/render/index.vue":["6c31","chunk-2d0da701"],"./zh/richText/index.vue":["35c4","chunk-2d0ba309"],"./zh/scrollbar/index.vue":["3def","chunk-2d0c53e8"],"./zh/search/index.vue":["0503","chunk-2d0a3fbe"],"./zh/select/index.vue":["321a","chunk-2d0b91e5"],"./zh/start/index.vue":["7e57","chunk-2d0e2326"],"./zh/textEdit/index.vue":["c576","chunk-2d216f87"],"./zh/touchEvent/index.vue":["e021","chunk-2d2244e0"],"./zh/translate/index.vue":["1136","chunk-2d0aa579"],"./zh/utils/index.vue":["4738","chunk-2d0c191e"],"./zh/view/index.vue":["82ca","chunk-2d0dddce"],"./zh/watermark/index.vue":["848a","chunk-2d0de01b"],"./zh/xmind/index.vue":["8427","chunk-2d0ddf37"]};function o(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],o=t[0];return n.e(t[1]).then((function(){return n(o)}))}o.keys=function(){return Object.keys(i)},o.id="b834",e.exports=o},c0d6:function(e,t,n){"use strict";var i=n("2b0e"),o=n("2f62"),a=n("5848"),r=n("365c");i["default"].use(o["a"]);const l=new o["a"].Store({state:{mindMapData:null,isHandleLocalFile:!1,localConfig:{isZenMode:!1,openNodeRichText:!0,useLeftKeySelectionRightKeyDrag:!1,isShowScrollbar:!1,isUseHandDrawnLikeStyle:!1,isDark:!1},activeSidebar:"",isOutlineEdit:!1,isReadonly:!1,isSourceCodeEdit:!1,extraTextOnExport:""},mutations:{setMindMapData(e,t){e.mindMapData=t},setIsHandleLocalFile(e,t){e.isHandleLocalFile=t},setLocalConfig(e,t){e.localConfig={...e.localConfig,...t},Object(r["g"])(e.localConfig)},setActiveSidebar(e,t){e.activeSidebar=t},setIsOutlineEdit(e,t){e.isOutlineEdit=t},setIsReadonly(e,t){e.isReadonly=t},setIsSourceCodeEdit(e,t){e.isSourceCodeEdit=t},setExtraTextOnExport(e,t){e.extraTextOnExport=t}},actions:{getUserMindMapData(e){try{let{data:t}={data:{data:{mindMapData:a["a"]}}};e.commit("setMindMapData",t.data)}catch(t){console.log(t)}}}});t["a"]=l},d82e:function(e,t,n){},eca6:function(e,t,n){"use strict";n("716d")}});
|