mind-elixir 5.2.0 → 5.3.0

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.
Files changed (44) hide show
  1. package/LICENSE +21 -21
  2. package/dist/LayoutSsr.iife.js +1 -1
  3. package/dist/LayoutSsr.js +32 -31
  4. package/dist/MindElixir.css +1 -0
  5. package/dist/MindElixir.iife.js +4 -4
  6. package/dist/MindElixir.js +911 -954
  7. package/dist/MindElixirLite.css +1 -0
  8. package/dist/MindElixirLite.iife.js +4 -4
  9. package/dist/MindElixirLite.js +528 -585
  10. package/dist/example.iife.js +3 -3
  11. package/dist/example.js +1 -1
  12. package/dist/types/arrow.d.ts +1 -1
  13. package/dist/types/docs.d.ts +2 -2
  14. package/dist/types/index.d.ts +11 -11
  15. package/dist/types/methods.d.ts +39 -39
  16. package/dist/types/nodeOperation.d.ts +1 -1
  17. package/dist/types/plugin/keypress.d.ts +1 -1
  18. package/dist/types/summary.d.ts +1 -1
  19. package/dist/types/types/index.d.ts +9 -8
  20. package/dist/types/utils/index.d.ts +4 -404
  21. package/dist/types/utils/pubsub.d.ts +3 -2
  22. package/dist/types/utils/svg.d.ts +1 -1
  23. package/dist/types/viselect/src/EventEmitter.d.ts +13 -0
  24. package/dist/types/viselect/src/index.d.ts +112 -0
  25. package/dist/types/viselect/src/types.d.ts +85 -0
  26. package/dist/types/viselect/src/utils/arrayify.d.ts +1 -0
  27. package/dist/types/viselect/src/utils/browser.d.ts +2 -0
  28. package/dist/types/viselect/src/utils/css.d.ts +10 -0
  29. package/dist/types/viselect/src/utils/domRect.d.ts +1 -0
  30. package/dist/types/viselect/src/utils/events.d.ts +29 -0
  31. package/dist/types/viselect/src/utils/frames.d.ts +7 -0
  32. package/dist/types/viselect/src/utils/intersects.d.ts +9 -0
  33. package/dist/types/viselect/src/utils/matchesTrigger.d.ts +16 -0
  34. package/dist/types/viselect/src/utils/selectAll.d.ts +8 -0
  35. package/package.json +40 -36
  36. package/readme.md +430 -432
  37. package/dist/style.css +0 -1
  38. package/readme/es.md +0 -430
  39. package/readme/fr.md +0 -430
  40. package/readme/ja.md +0 -429
  41. package/readme/ko.md +0 -430
  42. package/readme/pt.md +0 -430
  43. package/readme/ru.md +0 -430
  44. package/readme/zh.md +0 -430
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 DjZhou
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2019 DjZhou
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1 +1 @@
1
- var LayoutSsr=function(p){"use strict";var T=(s=>(s.LHS="lhs",s.RHS="rhs",s))(T||{});const v=s=>`<div class="map-container"><div>${s}</div></div>`,j=function(s,c={}){const{direction:a=2}=c,o=e=>{const r={id:e.id,topic:e.topic,direction:e.direction,style:e.style,tags:e.tags,icons:e.icons,hyperLink:e.hyperLink,expanded:e.expanded,image:e.image,branchColor:e.branchColor,dangerouslySetInnerHTML:e.dangerouslySetInnerHTML,note:e.note};return e.children&&e.children.length>0&&(r.children=e.children.map(o)),r},u=o(s),g=s.children||[],m=[],f=[];if(a===2){let e=0,r=0;g.forEach(t=>{const l=o(t);t.direction===0?(l.direction=0,m.push(l),e+=1):t.direction===1?(l.direction=1,f.push(l),r+=1):e<=r?(l.direction=0,m.push(l),e+=1):(l.direction=1,f.push(l),r+=1)})}else a===0?g.forEach(e=>{const r=o(e);r.direction=0,m.push(r)}):g.forEach(e=>{const r=o(e);r.direction=1,f.push(r)});return{root:u,leftNodes:m,rightNodes:f,direction:a}},R=function(s,c={}){const{className:a=""}=c,o=(t,l=!1)=>{const W=`me${t.id}`,w="me-tpc";let L="";if(t.style){const n=[];t.style.color&&n.push(`color: ${t.style.color}`),t.style.background&&n.push(`background: ${t.style.background}`),t.style.fontSize&&n.push(`font-size: ${t.style.fontSize}px`),t.style.fontWeight&&n.push(`font-weight: ${t.style.fontWeight}`),n.length>0&&(L=` style="${n.join("; ")}"`)}let h="";if(t.dangerouslySetInnerHTML)h=t.dangerouslySetInnerHTML;else{if(h=$(t.topic),t.tags&&t.tags.length>0){const n=t.tags.map(i=>{if(typeof i=="string")return`<span class="me-tag">${$(i)}</span>`;{let y="me-tag";i.className&&(y+=` ${i.className}`);let S="";if(i.style){const H=Object.entries(i.style).filter(([I,d])=>d!=null&&d!=="").map(([I,d])=>`${I.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${d}`);H.length>0&&(S=` style="${H.join("; ")}"`)}return`<span class="${y}"${S}>${$(i.text)}</span>`}}).join("");h+=n}if(t.icons&&t.icons.length>0){const n=t.icons.map(i=>`<span class="me-icon">${i}</span>`).join("");h+=n}if(t.image){const{url:n,width:i,height:y,fit:S="cover"}=t.image,H=c.imageProxy?c.imageProxy(n):n;h+=`<img src="${$(H)}" width="${i}" height="${y}" style="object-fit: ${S}" alt="" />`}}const N=`<me-tpc class="${w}" data-nodeid="${W}"${L}>${h}</me-tpc>`;if(l)return`<me-root>${N}</me-root>`;let E="";return t.children&&t.children.length>0&&t.expanded!==!1&&(E=`<me-children>${t.children.map(i=>u(i)).join("")}</me-children>`),`<me-wrapper>${`<me-parent>${N}</me-parent>`}${E}</me-wrapper>`},u=t=>o(t,!1),g=o(s.root,!0),m=s.leftNodes.map(t=>u(t)).join(""),f=s.rightNodes.map(t=>u(t)).join(""),e=`<me-main class="${T.LHS}">${m}</me-main>`,r=`<me-main class="${T.RHS}">${f}</me-main>`;return v(`<div class="${a}">${e}${g}${r}</div>`)};function $(s){const c=typeof document<"u"?document.createElement("div"):null;return c?(c.textContent=s,c.innerHTML):s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}const b=function(s){return JSON.stringify(s,null,2)},M=function(s,c,a={}){return{nodeData:s,layoutResult:c,options:{direction:c.direction,...a},timestamp:Date.now()}};return p.getHydrationData=M,p.getSSRData=b,p.layoutSSR=j,p.renderSSRHTML=R,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),p}({});
1
+ var LayoutSsr=(function(p){"use strict";const T={LHS:"lhs",RHS:"rhs"},j=s=>`<div class="map-container"><div class="map-canvas">${s}</div></div>`,v=function(s,c={}){const{direction:a=2}=c,o=e=>{const n={id:e.id,topic:e.topic,direction:e.direction,style:e.style,tags:e.tags,icons:e.icons,hyperLink:e.hyperLink,expanded:e.expanded,image:e.image,branchColor:e.branchColor,dangerouslySetInnerHTML:e.dangerouslySetInnerHTML,note:e.note};return e.children&&e.children.length>0&&(n.children=e.children.map(o)),n},u=o(s),g=s.children||[],m=[],f=[];if(a===2){let e=0,n=0;g.forEach(t=>{const l=o(t);t.direction===0?(l.direction=0,m.push(l),e+=1):t.direction===1?(l.direction=1,f.push(l),n+=1):e<=n?(l.direction=0,m.push(l),e+=1):(l.direction=1,f.push(l),n+=1)})}else a===0?g.forEach(e=>{const n=o(e);n.direction=0,m.push(n)}):g.forEach(e=>{const n=o(e);n.direction=1,f.push(n)});return{root:u,leftNodes:m,rightNodes:f,direction:a}},R=function(s,c={}){const{className:a=""}=c,o=(t,l=!1)=>{const M=`me${t.id}`,W="me-tpc";let L="";if(t.style){const r=[];t.style.color&&r.push(`color: ${t.style.color}`),t.style.background&&r.push(`background: ${t.style.background}`),t.style.fontSize&&r.push(`font-size: ${t.style.fontSize}px`),t.style.fontWeight&&r.push(`font-weight: ${t.style.fontWeight}`),r.length>0&&(L=` style="${r.join("; ")}"`)}let h="";if(t.dangerouslySetInnerHTML)h=t.dangerouslySetInnerHTML;else{if(h=$(t.topic),t.tags&&t.tags.length>0){const r=t.tags.map(i=>{if(typeof i=="string")return`<span class="me-tag">${$(i)}</span>`;{let y="me-tag";i.className&&(y+=` ${i.className}`);let S="";if(i.style){const H=Object.entries(i.style).filter(([I,d])=>d!=null&&d!=="").map(([I,d])=>`${I.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${d}`);H.length>0&&(S=` style="${H.join("; ")}"`)}return`<span class="${y}"${S}>${$(i.text)}</span>`}}).join("");h+=r}if(t.icons&&t.icons.length>0){const r=t.icons.map(i=>`<span class="me-icon">${i}</span>`).join("");h+=r}if(t.image){const{url:r,width:i,height:y,fit:S="cover"}=t.image,H=c.imageProxy?c.imageProxy(r):r;h+=`<img src="${$(H)}" width="${i}" height="${y}" style="object-fit: ${S}" alt="" />`}}const N=`<me-tpc class="${W}" data-nodeid="${M}"${L}>${h}</me-tpc>`;if(l)return`<me-root>${N}</me-root>`;let E="";return t.children&&t.children.length>0&&t.expanded!==!1&&(E=`<me-children>${t.children.map(i=>u(i)).join("")}</me-children>`),`<me-wrapper>${`<me-parent>${N}</me-parent>`}${E}</me-wrapper>`},u=t=>o(t,!1),g=o(s.root,!0),m=s.leftNodes.map(t=>u(t)).join(""),f=s.rightNodes.map(t=>u(t)).join(""),e=`<me-main class="${T.LHS}">${m}</me-main>`,n=`<me-main class="${T.RHS}">${f}</me-main>`;return j(`<me-nodes class="${a}">${e}${g}${n}</me-nodes>`)};function $(s){const c=typeof document<"u"?document.createElement("div"):null;return c?(c.textContent=s,c.innerHTML):s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}const b=function(s){return JSON.stringify(s,null,2)},D=function(s,c,a={}){return{nodeData:s,layoutResult:c,options:{direction:c.direction,...a},timestamp:Date.now()}};return p.getHydrationData=D,p.getSSRData=b,p.layoutSSR=v,p.renderSSRHTML=R,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),p})({});
package/dist/LayoutSsr.js CHANGED
@@ -1,6 +1,8 @@
1
- var S = /* @__PURE__ */ ((s) => (s.LHS = "lhs", s.RHS = "rhs", s))(S || {});
2
- const j = (s) => `<div class="map-container"><div>${s}</div></div>`, b = function(s, c = {}) {
3
- const { direction: a = 2 } = c, o = (e) => {
1
+ const E = {
2
+ LHS: "lhs",
3
+ RHS: "rhs"
4
+ }, v = (s) => `<div class="map-container"><div class="map-canvas">${s}</div></div>`, b = function(s, c = {}) {
5
+ const { direction: a = 2 } = c, l = (e) => {
4
6
  const r = {
5
7
  id: e.id,
6
8
  topic: e.topic,
@@ -15,22 +17,21 @@ const j = (s) => `<div class="map-container"><div>${s}</div></div>`, b = functio
15
17
  dangerouslySetInnerHTML: e.dangerouslySetInnerHTML,
16
18
  note: e.note
17
19
  };
18
- return e.children && e.children.length > 0 && (r.children = e.children.map(o)), r;
19
- }, h = o(s), g = s.children || [], p = [], m = [];
20
+ return e.children && e.children.length > 0 && (r.children = e.children.map(l)), r;
21
+ }, h = l(s), g = s.children || [], p = [], m = [];
20
22
  if (a === 2) {
21
23
  let e = 0, r = 0;
22
24
  g.forEach((t) => {
23
- const l = o(t);
24
- t.direction === 0 ? (l.direction = 0, p.push(l), e += 1) : t.direction === 1 ? (l.direction = 1, m.push(l), r += 1) : e <= r ? (l.direction = 0, p.push(l), e += 1) : (l.direction = 1, m.push(l), r += 1);
25
- });
26
- } else
27
- a === 0 ? g.forEach((e) => {
28
- const r = o(e);
29
- r.direction = 0, p.push(r);
30
- }) : g.forEach((e) => {
31
- const r = o(e);
32
- r.direction = 1, m.push(r);
25
+ const o = l(t);
26
+ t.direction === 0 ? (o.direction = 0, p.push(o), e += 1) : t.direction === 1 ? (o.direction = 1, m.push(o), r += 1) : e <= r ? (o.direction = 0, p.push(o), e += 1) : (o.direction = 1, m.push(o), r += 1);
33
27
  });
28
+ } else a === 0 ? g.forEach((e) => {
29
+ const r = l(e);
30
+ r.direction = 0, p.push(r);
31
+ }) : g.forEach((e) => {
32
+ const r = l(e);
33
+ r.direction = 1, m.push(r);
34
+ });
34
35
  return {
35
36
  root: h,
36
37
  leftNodes: p,
@@ -38,12 +39,12 @@ const j = (s) => `<div class="map-container"><div>${s}</div></div>`, b = functio
38
39
  direction: a
39
40
  };
40
41
  }, w = function(s, c = {}) {
41
- const { className: a = "" } = c, o = (t, l = !1) => {
42
- const I = `me${t.id}`, v = "me-tpc";
43
- let T = "";
42
+ const { className: a = "" } = c, l = (t, o = !1) => {
43
+ const I = `me${t.id}`, j = "me-tpc";
44
+ let S = "";
44
45
  if (t.style) {
45
46
  const n = [];
46
- t.style.color && n.push(`color: ${t.style.color}`), t.style.background && n.push(`background: ${t.style.background}`), t.style.fontSize && n.push(`font-size: ${t.style.fontSize}px`), t.style.fontWeight && n.push(`font-weight: ${t.style.fontWeight}`), n.length > 0 && (T = ` style="${n.join("; ")}"`);
47
+ t.style.color && n.push(`color: ${t.style.color}`), t.style.background && n.push(`background: ${t.style.background}`), t.style.fontSize && n.push(`font-size: ${t.style.fontSize}px`), t.style.fontWeight && n.push(`font-weight: ${t.style.fontWeight}`), n.length > 0 && (S = ` style="${n.join("; ")}"`);
47
48
  }
48
49
  let f = "";
49
50
  if (t.dangerouslySetInnerHTML)
@@ -58,7 +59,7 @@ const j = (s) => `<div class="map-container"><div>${s}</div></div>`, b = functio
58
59
  i.className && (d += ` ${i.className}`);
59
60
  let $ = "";
60
61
  if (i.style) {
61
- const y = Object.entries(i.style).filter(([E, u]) => u != null && u !== "").map(([E, u]) => `${E.replace(/([A-Z])/g, "-$1").toLowerCase()}: ${u}`);
62
+ const y = Object.entries(i.style).filter(([N, u]) => u != null && u !== "").map(([N, u]) => `${N.replace(/([A-Z])/g, "-$1").toLowerCase()}: ${u}`);
62
63
  y.length > 0 && ($ = ` style="${y.join("; ")}"`);
63
64
  }
64
65
  return `<span class="${d}"${$}>${H(i.text)}</span>`;
@@ -75,21 +76,21 @@ const j = (s) => `<div class="map-container"><div>${s}</div></div>`, b = functio
75
76
  f += `<img src="${H(y)}" width="${i}" height="${d}" style="object-fit: ${$}" alt="" />`;
76
77
  }
77
78
  }
78
- const L = `<me-tpc class="${v}" data-nodeid="${I}"${T}>${f}</me-tpc>`;
79
- if (l)
80
- return `<me-root>${L}</me-root>`;
81
- let N = "";
82
- return t.children && t.children.length > 0 && t.expanded !== !1 && (N = `<me-children>${t.children.map((i) => h(i)).join("")}</me-children>`), `<me-wrapper>${`<me-parent>${L}</me-parent>`}${N}</me-wrapper>`;
83
- }, h = (t) => o(t, !1), g = o(s.root, !0), p = s.leftNodes.map((t) => h(t)).join(""), m = s.rightNodes.map((t) => h(t)).join(""), e = `<me-main class="${S.LHS}">${p}</me-main>`, r = `<me-main class="${S.RHS}">${m}</me-main>`;
84
- return j(`<div class="${a}">${e}${g}${r}</div>`);
79
+ const T = `<me-tpc class="${j}" data-nodeid="${I}"${S}>${f}</me-tpc>`;
80
+ if (o)
81
+ return `<me-root>${T}</me-root>`;
82
+ let L = "";
83
+ return t.children && t.children.length > 0 && t.expanded !== !1 && (L = `<me-children>${t.children.map((i) => h(i)).join("")}</me-children>`), `<me-wrapper>${`<me-parent>${T}</me-parent>`}${L}</me-wrapper>`;
84
+ }, h = (t) => l(t, !1), g = l(s.root, !0), p = s.leftNodes.map((t) => h(t)).join(""), m = s.rightNodes.map((t) => h(t)).join(""), e = `<me-main class="${E.LHS}">${p}</me-main>`, r = `<me-main class="${E.RHS}">${m}</me-main>`;
85
+ return v(`<me-nodes class="${a}">${e}${g}${r}</me-nodes>`);
85
86
  };
86
87
  function H(s) {
87
88
  const c = typeof document < "u" ? document.createElement("div") : null;
88
89
  return c ? (c.textContent = s, c.innerHTML) : s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
89
90
  }
90
- const R = function(s) {
91
+ const C = function(s) {
91
92
  return JSON.stringify(s, null, 2);
92
- }, F = function(s, c, a = {}) {
93
+ }, R = function(s, c, a = {}) {
93
94
  return {
94
95
  nodeData: s,
95
96
  layoutResult: c,
@@ -101,8 +102,8 @@ const R = function(s) {
101
102
  };
102
103
  };
103
104
  export {
104
- F as getHydrationData,
105
- R as getSSRData,
105
+ R as getHydrationData,
106
+ C as getSSRData,
106
107
  b as layoutSSR,
107
108
  w as renderSSRHTML
108
109
  };
@@ -0,0 +1 @@
1
+ .map-container{-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;-webkit-user-select:none;user-select:none;height:100%;width:100%;overflow:hidden;font-size:15px;outline:none;touch-action:none;background-color:var(--bgcolor)}.map-container *{box-sizing:border-box}.map-container::-webkit-scrollbar{width:0px;height:0px}.map-container .selected{outline:2px solid var(--selected);outline-offset:1px}.map-container.space-pressed,.map-container.space-pressed *{cursor:grab!important}.map-container.space-pressed:active,.map-container.space-pressed:active *{cursor:grabbing!important}.map-container .hyper-link{text-decoration:none;margin-left:.3em}.map-container me-main>me-wrapper>me-parent>me-epd{top:50%;transform:translateY(-50%)}.map-container me-epd{top:100%;transform:translateY(-50%)}.map-container .lhs{direction:rtl}.map-container .lhs>me-wrapper>me-parent>me-epd{left:-10px}.map-container .lhs me-epd{left:5px}.map-container .lhs me-tpc{direction:ltr}.map-container .rhs>me-wrapper>me-parent>me-epd{right:-10px}.map-container .rhs me-epd{right:5px}.map-container .map-canvas{position:relative;-webkit-user-select:none;user-select:none;width:fit-content;transform:scale(1)}.map-container .map-canvas me-nodes{position:relative;display:flex;justify-content:center;align-items:center;height:max-content;width:max-content;padding:var(--map-padding)}.map-container me-main>me-wrapper{position:relative;margin:var(--main-gap-y) var(--main-gap-x)}.map-container me-main>me-wrapper>me-parent{margin:10px;padding:0}.map-container me-main>me-wrapper>me-parent>me-tpc{border-radius:var(--main-radius);background-color:var(--main-bgcolor);border:2px solid var(--main-color);color:var(--main-color);padding:8px 25px}.map-container me-wrapper{display:block;pointer-events:none;width:fit-content}.map-container me-children,.map-container me-parent{display:inline-block;vertical-align:middle}.map-container me-root{position:relative;margin:45px 0;z-index:10}.map-container me-root me-tpc{font-size:25px;color:var(--root-color);padding:10px 30px;border-radius:var(--root-radius);border:var(--root-border-color) 2px solid;background-color:var(--root-bgcolor)}.map-container me-parent{position:relative;cursor:pointer;padding:6px var(--node-gap-x);margin-top:var(--node-gap-y);z-index:10}.map-container me-parent me-tpc{position:relative;border-radius:3px;color:var(--color);padding:var(--topic-padding)}.map-container me-parent me-tpc .insert-preview{position:absolute;width:100%;left:0;z-index:9}.map-container me-parent me-tpc .show{background:#7ad5ff;pointer-events:none;opacity:.7;border-radius:3px}.map-container me-parent me-tpc .before{height:14px;top:-14px}.map-container me-parent me-tpc .in{height:100%;top:0}.map-container me-parent me-tpc .after{height:14px;bottom:-14px}.map-container me-parent me-epd{position:absolute;height:18px;width:18px;opacity:.8;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NDcxNzI0MiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNDgwaC0xMzguNjY2NjY3VjM0MS4zMzMzMzNjMC0xNy4wNjY2NjctMTQuOTMzMzMzLTMyLTMyLTMycy0zMiAxNC45MzMzMzMtMzIgMzJ2MTM4LjY2NjY2N0gzNDEuMzMzMzMzYy0xNy4wNjY2NjcgMC0zMiAxNC45MzMzMzMtMzIgMzJzMTQuOTMzMzMzIDMyIDMyIDMyaDEzOC42NjY2NjdWNjgyLjY2NjY2N2MwIDE3LjA2NjY2NyAxNC45MzMzMzMgMzIgMzIgMzJzMzItMTQuOTMzMzMzIDMyLTMydi0xMzguNjY2NjY3SDY4Mi42NjY2NjdjMTcuMDY2NjY3IDAgMzItMTQuOTMzMzMzIDMyLTMycy0xNC45MzMzMzMtMzItMzItMzJ6Ij48L3BhdGg+Cjwvc3ZnPg==);background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:all;z-index:9}.map-container me-parent me-epd.minus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgdD0iMTY1NjY1NTU2NDk4NSIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHZlcnNpb249IjEuMSIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+CiAgICA8cGF0aCBkPSJNNTEyIDc0LjY2NjY2N0MyNzAuOTMzMzMzIDc0LjY2NjY2NyA3NC42NjY2NjcgMjcwLjkzMzMzMyA3NC42NjY2NjcgNTEyUzI3MC45MzMzMzMgOTQ5LjMzMzMzMyA1MTIgOTQ5LjMzMzMzMyA5NDkuMzMzMzMzIDc1My4wNjY2NjcgOTQ5LjMzMzMzMyA1MTIgNzUzLjA2NjY2NyA3NC42NjY2NjcgNTEyIDc0LjY2NjY2N3oiIHN0cm9rZS13aWR0aD0iNTQiIHN0cm9rZT0nYmxhY2snIGZpbGw9J3doaXRlJyA+PC9wYXRoPgogICAgPHBhdGggZD0iTTY4Mi42NjY2NjcgNTQ0SDM0MS4zMzMzMzNjLTE3LjA2NjY2NyAwLTMyLTE0LjkzMzMzMy0zMi0zMnMxNC45MzMzMzMtMzIgMzItMzJoMzQxLjMzMzMzNGMxNy4wNjY2NjcgMCAzMiAxNC45MzMzMzMgMzIgMzJzLTE0LjkzMzMzMyAzMi0zMiAzMnoiPjwvcGF0aD4KPC9zdmc+)!important;transition:opacity .3s;opacity:0}@media (hover: hover){.map-container me-parent me-epd.minus:hover{opacity:.8}}@media (hover: none){.map-container me-parent me-epd.minus{opacity:.8}}.map-container .icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.map-container .lines,.map-container .summary,.map-container .subLines,.map-container .topiclinks,.map-container .linkcontroller{position:absolute;height:102%;width:100%;top:0;left:0}.map-container .topiclinks,.map-container .linkcontroller,.map-container .summary{pointer-events:none;z-index:20}.map-container .summary>g,.map-container .topiclinks>g{cursor:pointer;pointer-events:stroke;z-index:20}.map-container .label-container{z-index:21}.map-container .lines,.map-container .subLines{pointer-events:none}.map-container #input-box{position:absolute;top:0;left:0;width:max-content;max-width:35em;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:auto;color:var(--color);background-color:var(--bgcolor);outline:1px solid #ccc;border-radius:2px;z-index:100}.map-container me-tpc{display:block;max-width:35em;white-space:pre-wrap;pointer-events:all}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a,.map-container me-tpc>iframe{pointer-events:auto}.map-container me-tpc>.text{display:inline-block}.map-container me-tpc>.text a{pointer-events:auto}.map-container me-tpc>img{display:block;margin-bottom:8px;object-fit:cover}.map-container .circle{position:absolute;height:10px;width:10px;margin-top:-5px;margin-left:-5px;border-radius:100%;background:#757575;border:2px solid #ffffff;z-index:50;cursor:pointer}.map-container .tags{direction:ltr}.map-container .tags span{display:inline-block;border-radius:3px;padding:2px 4px;background:#d6f0f8;color:#276f86;margin:2px 4px 0 0;font-size:12px;line-height:1.3em}.map-container .icons{display:inline-block;direction:ltr;margin-left:5px}.map-container .icons span{display:inline-block;line-height:1.3em}.map-container .mind-elixir-ghost{position:fixed;top:-100%;left:-100%;box-sizing:content-box;opacity:.5;background-color:var(--main-bgcolor);border:2px solid var(--main-color);color:var(--main-color);max-width:200px;width:fit-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:8px 16px;border-radius:6px}.map-container .selection-area{background:#4f90f22d;border:1px solid #4f90f2}.map-container .svg-label{position:absolute;left:0;top:0;display:flex;align-items:center;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.2;padding:2px;pointer-events:auto;cursor:pointer;z-index:10;max-width:200px;border-radius:3px;padding:var(--topic-padding)}.map-container h1{font-size:1.5rem;font-weight:700;color:var(--selected)}.map-container h2{font-size:1.25rem;font-weight:600;color:var(--selected)}.map-container h3{font-size:1.125rem;font-weight:600;color:var(--selected)}.map-container h4{font-size:1rem;font-weight:600;color:var(--selected)}.map-container h5{font-size:.875rem;font-weight:600;color:var(--selected)}.map-container h6{font-size:.875rem;font-weight:500;margin:.1rem 0;color:var(--selected);font-style:italic}.map-container strong.asterisk-emphasis,.map-container em{color:var(--selected)}.map-container strong.underscore-emphasis{background:#ffeb3b40;padding:.05em .15em;border-radius:.15em}.map-container a{color:var(--selected)}.map-container a:hover{color:var(--selected);text-decoration:underline}.map-container .context-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99}.map-container .context-menu .menu-list{position:fixed;list-style:none;margin:0;padding:0;color:var(--panel-color);box-shadow:0 12px 15px #0003;border-radius:5px;overflow:hidden}.map-container .context-menu .menu-list li{min-width:200px;overflow:hidden;white-space:nowrap;padding:6px 10px;background:var(--panel-bgcolor);border-bottom:1px solid var(--panel-border-color);cursor:pointer}.map-container .context-menu .menu-list li span{line-height:20px}.map-container .context-menu .menu-list li a{color:#333;text-decoration:none}.map-container .context-menu .menu-list li.disabled{display:none}.map-container .context-menu .menu-list li:hover{filter:brightness(.95)}.map-container .context-menu .menu-list li:last-child{border-bottom:0}.map-container .context-menu .menu-list li span:last-child{float:right}.map-container .context-menu .key{font-size:10px;background-color:#f1f1f1;color:#333;padding:2px 5px;border-radius:3px}.map-container .tips{position:absolute;bottom:28px;left:50%;transform:translate(-50%);color:var(--panel-color);background:var(--panel-bgcolor);opacity:.8;padding:5px 10px;border-radius:5px;font-weight:700}.mind-elixir-toolbar{position:absolute;color:var(--panel-color);background:var(--panel-bgcolor);padding:10px;border-radius:5px;box-shadow:0 1px 2px #0003}.mind-elixir-toolbar svg{display:inline-block}.mind-elixir-toolbar span:active{opacity:.5}.mind-elixir-toolbar.rb{right:20px;bottom:20px}.mind-elixir-toolbar.rb span+span{margin-left:10px}.mind-elixir-toolbar.lt{font-size:20px;left:20px;top:20px}.mind-elixir-toolbar.lt span{display:block}.mind-elixir-toolbar.lt span+span{margin-top:10px}