mind-elixir 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".mind-elixir{--gap: 30px;--root-radius: 30px;--main-radius: 20px;--root-color: #ffffff;--root-bgcolor: #4c4f69;--root-border-color: rgba(0, 0, 0, 0);--main-color: #444446;--main-bgcolor: #ffffff;--topic-padding: 3px;--color: #777777;--bgcolor: #f6f6f6;--selected: #4dc4ff;--panel-color: #444446;--panel-bgcolor: #ffffff;--panel-border-color: #eaeaea;position:relative;-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}.mind-elixir .hyper-link{text-decoration:none;margin-left:.3em}.map-container{-webkit-user-select:none;user-select:none;height:100%;width:100%;overflow:scroll;font-size:15px}.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 .lhs{direction:rtl}.map-container .lhs me-tpc{direction:ltr}.map-container .map-canvas{height:20000px;width:20000px;position:relative;-webkit-user-select:none;user-select:none;transition:transform .3s;transform:scale(1);background-color:var(--bgcolor)}.map-container .map-canvas me-nodes{position:absolute;display:flex;justify-content:center;align-items:center;height:fit-content;width:fit-content}.map-container .map-canvas me-root{position:relative}.map-container .map-canvas me-root me-tpc{display:block;font-size:25px;color:var(--root-color);padding:10px var(--gap);border-radius:var(--root-radius);border:var(--root-border-color) 2px solid;white-space:pre-wrap;background-color:var(--root-bgcolor)}.map-container me-main>me-wrapper{position:relative;margin:45px 65px}.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-parent{position:relative;cursor:pointer;padding:6px var(--gap);margin-top:10px}.map-container me-parent me-tpc{position:relative;display:block;border-radius:3px;color:var(--color);pointer-events:all;max-width:35em;white-space:pre-wrap;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}.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}.map-container me-parent me-epd.minus:hover{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}.map-container .topiclinks text,.map-container .linkcontroller text,.map-container .summary text{pointer-events:all}.map-container .topiclinks .selected,.map-container .linkcontroller .selected,.map-container .summary .selected{pointer-events:none}.map-container .lines,.map-container .subLines{pointer-events:none;z-index:-1}.map-container .topiclinks *,.map-container .linkcontroller *{z-index:100}.map-container .topiclinks g{cursor:pointer}.map-container #input-box{position:absolute;top:0;left:0;width:max-content;max-width:35em;z-index:11;direction:ltr;-webkit-user-select:auto;user-select:auto;pointer-events:auto;background-color:var(--bgcolor)}.map-container me-tpc>*{pointer-events:none}.map-container me-tpc>a{pointer-events:auto}.map-container me-tpc>img{display:block;margin-bottom:8px;object-fit:cover}.map-container me-tpc>.text{display:inline-block}.map-container .circle{position:absolute;height:10px;width:10px;margin-top:-5px;margin-left:-5px;border-radius:100%;background:#757575;border:2px solid #ffffff;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-right:10px}.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:#f6f6f6;max-width:200px;width:fit-content;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:8px 16px;border-radius:6px;border:#666666 2px solid}.map-container .selection-area{background:#4f90f22d;border:1px solid #4f90f2}.mind-elixir .context-menu{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99}.mind-elixir .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}.mind-elixir .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}.mind-elixir .context-menu .menu-list li span{line-height:20px}.mind-elixir .context-menu .menu-list li a{color:#333;text-decoration:none}.mind-elixir .context-menu .menu-list li.disabled{display:none}.mind-elixir .context-menu .menu-list li:hover{filter:brightness(.95)}.mind-elixir .context-menu .menu-list li:last-child{border-bottom:0}.mind-elixir .context-menu .menu-list li span:last-child{float:right}.mind-elixir .context-menu .key{font-size:10px;background-color:#f1f1f1;color:#333;padding:2px 5px;border-radius:3px}.mind-elixir .tips{position:absolute;bottom:20px;left:50%;transform:translate(-50%);color:var(--panel-color);font-weight:bolder}.mind-elixir-toolbar{font-family:iconfont;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}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
2
  (function(e) {
3
- var t, n, o, s, i, r, c = '<svg><symbol id="icon-edit" viewBox="0 0 1024 1024"><path d="M423.765333 128a42.666667 42.666667 0 0 1 3.2 85.205333L423.765333 213.333333H234.666667a64 64 0 0 0-63.872 60.245334L170.666667 277.333333v512a64 64 0 0 0 60.245333 63.872L234.666667 853.333333h512a64 64 0 0 0 63.872-60.245333L810.666667 789.333333v-189.098666a42.666667 42.666667 0 0 1 85.205333-3.2l0.128 3.2V789.333333a149.333333 149.333333 0 0 1-144.213333 149.248L746.666667 938.666667h-512a149.333333 149.333333 0 0 1-149.248-144.213334L85.333333 789.333333v-512a149.333333 149.333333 0 0 1 144.213334-149.248L234.666667 128h189.098666z m324.949334-53.248a42.666667 42.666667 0 0 1 60.330666 0l150.869334 150.869333a42.666667 42.666667 0 0 1 0 60.330667l-329.386667 329.386667a42.666667 42.666667 0 0 1-29.44 12.458666l-153.386667 2.517334a42.666667 42.666667 0 0 1-43.349333-43.349334l2.56-153.386666a42.666667 42.666667 0 0 1 12.458667-29.44z m30.165333 90.496L491.946667 452.266667l-1.493334 91.989333 92.032-1.493333 286.976-286.976-90.538666-90.538667z" ></path></symbol><symbol id="icon-rising" viewBox="0 0 1024 1024"><path d="M553.173333 803.84h-64l0.021334-474.581333-224.021334 224-45.269333-45.226667L521.6 206.293333l301.717333 301.696-45.269333 45.269334-224.853333-224.896v475.477333z" ></path></symbol><symbol id="icon-falling" viewBox="0 0 1024 1024"><path d="M553.173333 238.314667h-64l0.021334 474.602666-224.021334-224-45.269333 45.226667L521.6 835.861333l301.717333-301.717333-45.269333-45.226667-224.853333 224.853334V238.336z" ></path></symbol><symbol id="icon-shanchu2" viewBox="0 0 1024 1024"><path d="M516.60601807 107.93026734c-82.64382935 0-149.71865844 65.51751709-152.5729065 147.77160644H171.37136841c-21.40603638 0-38.92044068 17.38504028-38.92044068 38.92126465 0 21.40686036 17.38504028 38.92208862 38.92126466 38.92208862h42.94308471v435.40136719c0 81.73498536 55.39828492 148.55026245 123.90106201 148.55026245h348.99444581c68.37341309 0 123.90106201-66.42553711 123.901062-148.55026245V333.80477906h38.92126465c21.40686036 0 38.92126464-17.38586426 38.92126465-38.92208863 0-21.40686036-17.38504028-38.92126464-38.92126465-38.92126465H668.91854859C666.45321656 173.44860839 599.24902344 107.93109131 516.60601807 107.93109131z m-79.65939331 147.77160644c2.85424805-42.16442872 37.2354126-74.85809326 79.78875732-74.85809326s76.93450927 32.82302857 79.39984131 74.85809326H436.94662476z m-98.86047364 589.01165771c-24.2611084 0-50.98754883-31.13717651-50.98754883-75.76693725V333.80477906h450.97036744V769.33551026c0 44.50039673-26.72644043 75.76776123-50.98754884 75.76776122H338.08615112v-0.38973999z m0 0" ></path><path d="M390.37063599 751.17263794c17.77313232 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.77478027 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.27124023 40.08883667 32.43493653 40.08883667z m117.41308594 0c17.7739563 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.7739563 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.66098023 40.08883667 32.43493653 40.08883667z m123.51049804 0c17.7739563 0 32.43493653-17.7739563 32.43493652-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43493652-40.08966065-17.7739563 0-32.43411255 17.77478027-32.43411255 40.08966065v228.72875976c0 22.18469239 14.14105224 40.08883667 32.43411255 40.08883667z m0 0" ></path></symbol><symbol id="icon-zijiedian" viewBox="0 0 1024 1024"><path d="M312.208 472c19.568-157.856 153.432-280 315.656-280 175.68 0 318.112 143.272 318.112 320S803.552 832 627.864 832c-162.224 0-296.08-122.144-315.656-280H120a40 40 0 0 1 0-80h192.208zM632 752c132.552 0 240-107.448 240-240 0-132.552-107.448-240-240-240-132.552 0-240 107.448-240 240 0 132.552 107.448 240 240 240z m-40-280v-80a40 40 0 0 1 80 0v80h80a40 40 0 0 1 0 80h-80v80a40 40 0 0 1-80 0v-80h-80a40 40 0 0 1 0-80h80z" ></path></symbol><symbol id="icon-tongjijiedian-" viewBox="0 0 1024 1024"><path d="M803.84 131.626667H410.24A59.733333 59.733333 0 0 0 350.506667 192v45.226667H199.68a51.626667 51.626667 0 0 0-51.626667 51.626666v465.92a51.626667 51.626667 0 0 0 51.626667 51.626667h187.52v-55.466667h-162.133333a21.333333 21.333333 0 0 1-21.333334-21.333333V313.386667a21.333333 21.333333 0 0 1 21.333334-21.333334h125.653333v64a59.733333 59.733333 0 0 0 59.733333 59.733334h393.386667a59.733333 59.733333 0 0 0 59.733333-59.733334V192a59.733333 59.733333 0 0 0-59.733333-60.373333z m4.266667 224.64a4.266667 4.266667 0 0 1-4.266667 4.266666H410.24a4.266667 4.266667 0 0 1-4.266667-4.266666V192a4.266667 4.266667 0 0 1 4.266667-4.266667h393.6a4.266667 4.266667 0 0 1 4.266667 4.266667zM716.16 749.44h-81.28v-81.493333a27.733333 27.733333 0 0 0-55.466667 0v81.28h-81.493333a27.733333 27.733333 0 1 0 0 55.466666h81.28v81.28a27.733333 27.733333 0 1 0 55.466667 0v-81.066666h81.28a27.733333 27.733333 0 0 0 0-55.466667z" ></path></symbol><symbol id="icon-close" viewBox="0 0 1024 1024"><path d="M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128L512.128 467.904l-263.04-263.84c-12.448-12.48-32.704-12.544-45.248-0.064-12.512 12.48-12.544 32.736-0.064 45.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248a31.937 31.937 0 0 0 22.688 9.44c8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408a31.94 31.94 0 0 0 22.592-9.344c12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z" fill="" ></path></symbol><symbol id="icon-menu" viewBox="0 0 1024 1024"><path d="M109.714 292.571h804.572c21.943 0 36.571-21.942 36.571-43.885 0-14.629-14.628-29.257-36.571-29.257H109.714c-21.943 0-36.571 14.628-36.571 36.571 0 14.629 14.628 36.571 36.571 36.571zM914.286 512H109.714c-21.943 0-36.571 14.629-36.571 36.571 0 14.629 14.628 36.572 36.571 36.572h804.572c21.943 0 36.571-21.943 36.571-43.886 0-14.628-14.628-29.257-36.571-29.257z m0 292.571H109.714c-21.943 0-36.571 14.629-36.571 36.572s14.628 36.571 36.571 36.571h804.572c21.943 0 36.571-21.943 36.571-36.571 0-21.943-14.628-36.572-36.571-36.572z" ></path></symbol><symbol id="icon-right" viewBox="0 0 1024 1024"><path d="M385 560.69999999L385 738.9c0 36.90000001 26.4 68.5 61.3 68.5l150.2 0c1.5 0 3-0.1 4.5-0.3 10.2 38.7 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-42 0-77.3 28.6-87.5 67.39999999-1.4-0.3-2.9-0.4-4.5-0.39999999L446.3 760.4c-6.8 0-14.3-8.9-14.3-21.49999999l0-427.00000001c0-12.7 7.40000001-21.5 14.30000001-21.5l150.19999999 0c1.5 0 3-0.2 4.5-0.4 10.2 38.8 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.4 0-49.9-40.5-90.6-90.5-90.59999999-42 0-77.3 28.6-87.5 67.39999999-1.4-0.2-2.9-0.4-4.49999999-0.4L446.3 243.3c-34.80000001 0-61.3 31.6-61.3 68.50000001L385 513.7l-79.1 0c-10.4-38.5-45.49999999-67-87.4-67-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c41.79999999 0 77.00000001-28.4 87.4-67L385 560.69999999z" fill="" ></path></symbol><symbol id="icon-left" viewBox="0 0 1024 1024"><path d="M639 463.30000001L639 285.1c0-36.90000001-26.4-68.5-61.3-68.5l-150.2 0c-1.5 0-3 0.1-4.5 0.3-10.2-38.7-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c42 0 77.3-28.6 87.5-67.39999999 1.4 0.3 2.9 0.4 4.5 0.39999999L577.7 263.6c6.8 0 14.3 8.9 14.3 21.49999999l0 427.00000001c0 12.7-7.40000001 21.5-14.30000001 21.5l-150.19999999 0c-1.5 0-3 0.2-4.5 0.4-10.2-38.8-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.4 0 49.9 40.5 90.6 90.5 90.59999999 42 0 77.3-28.6 87.5-67.39999999 1.4 0.2 2.9 0.4 4.49999999 0.4L577.7 780.7c34.80000001 0 61.3-31.6 61.3-68.50000001L639 510.3l79.1 0c10.4 38.5 45.49999999 67 87.4 67 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-41.79999999 0-77.00000001 28.4-87.4 67L639 463.30000001z" fill="" ></path></symbol><symbol id="icon-side" viewBox="0 0 1024 1024"><path d="M851.91168 328.45312c-59.97056 0-108.6208 48.47104-108.91264 108.36992l-137.92768 38.4a109.14304 109.14304 0 0 0-63.46752-46.58688l1.39264-137.11872c47.29344-11.86816 82.31936-54.66624 82.31936-105.64096 0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.76288-108.91776 108.91776c0 49.18784 32.60928 90.75712 77.38368 104.27392l-1.41312 138.87488a109.19936 109.19936 0 0 0-63.50336 48.55808l-138.93632-39.48544 0.01024-0.72704c0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.75776-108.91776 108.91776c0 60.15488 48.76288 108.91264 108.91776 108.91264 39.3984 0 73.91232-20.92032 93.03552-52.2496l139.19232 39.552-0.00512 0.2304c0 25.8304 9.00096 49.5616 24.02816 68.23424l-90.14272 132.63872a108.7488 108.7488 0 0 0-34.2528-5.504c-60.15488 0-108.91776 48.768-108.91776 108.91776 0 60.16 48.76288 108.91776 108.91776 108.91776 60.16 0 108.92288-48.75776 108.92288-108.91776 0-27.14624-9.9328-51.968-26.36288-71.04l89.04704-131.03104a108.544 108.544 0 0 0 37.6832 6.70208 108.672 108.672 0 0 0 36.48512-6.272l93.13792 132.57216a108.48256 108.48256 0 0 0-24.69888 69.0688c0 60.16 48.768 108.92288 108.91776 108.92288 60.16 0 108.91776-48.76288 108.91776-108.92288 0-60.14976-48.75776-108.91776-108.91776-108.91776a108.80512 108.80512 0 0 0-36.69504 6.3488l-93.07136-132.48a108.48768 108.48768 0 0 0 24.79616-72.22784l136.09984-37.888c18.99008 31.93856 53.84192 53.3504 93.69088 53.3504 60.16 0 108.92288-48.75776 108.92288-108.91264-0.00512-60.15488-48.77312-108.92288-108.92288-108.92288z" ></path></symbol><symbol id="icon-B" viewBox="0 0 1024 1024"><path d="M98.067692 65.457231H481.28c75.854769 0 132.411077 3.150769 169.668923 9.452307 37.336615 6.301538 70.656 19.534769 100.036923 39.620924 29.459692 20.007385 53.956923 46.710154 73.570462 80.029538 19.692308 33.398154 29.459692 70.734769 29.459692 112.167385 0 44.898462-12.130462 86.094769-36.233846 123.588923a224.886154 224.886154 0 0 1-98.461539 84.283077c58.368 17.092923 103.266462 46.08 134.695385 87.04 31.350154 40.96 47.025231 89.088 47.025231 144.462769 0 43.638154-10.082462 86.016-30.404923 127.212308-20.243692 41.196308-47.891692 74.043077-83.02277 98.697846-35.052308 24.654769-78.296615 39.778462-129.732923 45.449846-32.295385 3.465846-110.119385 5.671385-233.472 6.537846H98.067692V65.457231z m193.536 159.507692V446.621538h126.818462c75.460923 0 122.328615-1.024 140.603077-3.229538 33.083077-3.938462 59.155692-15.36 78.139077-34.343385 18.904615-18.904615 28.435692-43.874462 28.435692-74.830769 0-29.696-8.192-53.720615-24.497231-72.310154-16.384-18.510769-40.644923-29.696-72.940307-33.634461-19.140923-2.205538-74.279385-3.308308-165.415385-3.308308h-111.064615z m0 381.243077v256.315077h179.2c69.710769 0 113.979077-1.969231 132.726154-5.907692 28.750769-5.198769 52.145231-17.959385 70.262154-38.281847 18.116923-20.243692 27.096615-47.340308 27.096615-81.368615 0-28.750769-6.931692-53.169231-20.873846-73.255385a118.232615 118.232615 0 0 0-60.494769-43.795692c-26.387692-9.137231-83.574154-13.705846-171.638154-13.705846H291.603692z" ></path></symbol><symbol id="icon-a" viewBox="0 0 1024 1024"><path d="M757.76 665.6q0 20.48 1.536 34.304t7.68 22.016 18.944 12.288 34.304 4.096q-3.072 25.6-15.36 44.032-11.264 16.384-33.28 29.696t-62.976 13.312q-11.264 0-20.48-0.512t-17.408-2.56l-6.144-2.048-1.024 0q-4.096-1.024-10.24-4.096-2.048-2.048-4.096-2.048-1.024-1.024-2.048-1.024-14.336-8.192-23.552-17.408t-14.336-17.408q-6.144-10.24-9.216-20.48-63.488 75.776-178.176 75.776-48.128 0-88.064-15.36t-69.12-44.032-45.056-68.096-15.872-88.576 16.896-89.088 47.616-67.584 74.24-42.496 96.768-14.848q48.128 0 88.576 17.408t66.048 49.152q0-8.192 0.512-16.384t0.512-15.36q0-71.68-39.936-104.448t-128-32.768q-43.008 0-84.992 6.656t-84.992 17.92q14.336-28.672 25.088-47.616t24.064-29.184q30.72-24.576 158.72-24.576 79.872 0 135.168 13.824t90.624 43.52 51.2 75.264 15.872 108.032l0 200.704zM487.424 743.424q50.176 0 79.872-33.28t29.696-95.744q0-61.44-28.672-93.696t-76.8-32.256q-52.224 0-82.944 33.28t-30.72 94.72q0 58.368 31.744 92.672t77.824 34.304z" ></path></symbol><symbol id="icon-full" viewBox="0 0 1024 1024"><path d="M639.328 416c8.032 0 16.096-3.008 22.304-9.056l202.624-197.184-0.8 143.808c-0.096 17.696 14.144 32.096 31.808 32.192 0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808l1.248-222.208c0-0.672-0.352-1.248-0.384-1.92 0.032-0.512 0.288-0.896 0.288-1.408 0.032-17.664-14.272-32-31.968-32.032L671.552 96l-0.032 0c-17.664 0-31.968 14.304-32 31.968C639.488 145.632 653.824 160 671.488 160l151.872 0.224-206.368 200.8c-12.672 12.32-12.928 32.608-0.64 45.248C622.656 412.736 630.976 416 639.328 416z" ></path><path d="M896.032 639.552 896.032 639.552c-17.696 0-32 14.304-32.032 31.968l-0.224 151.872-200.832-206.4c-12.32-12.64-32.576-12.96-45.248-0.64-12.672 12.352-12.928 32.608-0.64 45.248l197.184 202.624-143.808-0.8c-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808-0.096 17.696 14.144 32.096 31.808 32.192l222.24 1.248c0.064 0 0.128 0 0.192 0 0.64 0 1.12-0.32 1.76-0.352 0.512 0.032 0.896 0.288 1.408 0.288l0.032 0c17.664 0 31.968-14.304 32-31.968L928 671.584C928.032 653.952 913.728 639.584 896.032 639.552z" ></path><path d="M209.76 159.744l143.808 0.8c0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808 0.096-17.696-14.144-32.096-31.808-32.192L131.68 95.328c-0.064 0-0.128 0-0.192 0-0.672 0-1.248 0.352-1.888 0.384-0.448 0-0.8-0.256-1.248-0.256 0 0-0.032 0-0.032 0-17.664 0-31.968 14.304-32 31.968L96 352.448c-0.032 17.664 14.272 32 31.968 32.032 0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968l0.224-151.936 200.832 206.4c6.272 6.464 14.624 9.696 22.944 9.696 8.032 0 16.096-3.008 22.304-9.056 12.672-12.32 12.96-32.608 0.64-45.248L209.76 159.744z" ></path><path d="M362.368 617.056l-202.624 197.184 0.8-143.808c0.096-17.696-14.144-32.096-31.808-32.192-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808l-1.248 222.24c0 0.704 0.352 1.312 0.384 2.016 0 0.448-0.256 0.832-0.256 1.312-0.032 17.664 14.272 32 31.968 32.032L352.448 928c0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968s-14.272-32-31.968-32.032l-151.936-0.224 206.4-200.832c12.672-12.352 12.96-32.608 0.64-45.248S375.008 604.704 362.368 617.056z" ></path></symbol><symbol id="icon-add" viewBox="0 0 1024 1024"><path d="M863.328 482.56l-317.344-1.12L545.984 162.816c0-17.664-14.336-32-32-32s-32 14.336-32 32l0 318.4L159.616 480.064c-0.032 0-0.064 0-0.096 0-17.632 0-31.936 14.24-32 31.904C127.424 529.632 141.728 544 159.392 544.064l322.592 1.152 0 319.168c0 17.696 14.336 32 32 32s32-14.304 32-32l0-318.944 317.088 1.12c0.064 0 0.096 0 0.128 0 17.632 0 31.936-14.24 32-31.904C895.264 496.992 880.96 482.624 863.328 482.56z" ></path></symbol><symbol id="icon-move" viewBox="0 0 1024 1024"><path d="M863.744 544 163.424 544c-17.664 0-32-14.336-32-32s14.336-32 32-32l700.32 0c17.696 0 32 14.336 32 32S881.44 544 863.744 544z" ></path></symbol><symbol id="icon-living" viewBox="0 0 1024 1024"><path d="M514.133333 488.533333m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="" ></path><path d="M512 64C264.533333 64 64 264.533333 64 512c0 236.8 183.466667 428.8 416 445.866667v-134.4c-53.333333-59.733333-200.533333-230.4-200.533333-334.933334 0-130.133333 104.533333-234.666667 234.666666-234.666666s234.666667 104.533333 234.666667 234.666666c0 61.866667-49.066667 153.6-145.066667 270.933334l-59.733333 68.266666V960C776.533333 942.933333 960 748.8 960 512c0-247.466667-200.533333-448-448-448z" fill="" ></path></symbol></svg>', l = (l = document.getElementsByTagName("script"))[l.length - 1].getAttribute("data-injectcss");
4
- if (l && !e.__iconfont__svg__cssinject__) {
3
+ var t, n, o, s, i, r, l = '<svg><symbol id="icon-edit" viewBox="0 0 1024 1024"><path d="M423.765333 128a42.666667 42.666667 0 0 1 3.2 85.205333L423.765333 213.333333H234.666667a64 64 0 0 0-63.872 60.245334L170.666667 277.333333v512a64 64 0 0 0 60.245333 63.872L234.666667 853.333333h512a64 64 0 0 0 63.872-60.245333L810.666667 789.333333v-189.098666a42.666667 42.666667 0 0 1 85.205333-3.2l0.128 3.2V789.333333a149.333333 149.333333 0 0 1-144.213333 149.248L746.666667 938.666667h-512a149.333333 149.333333 0 0 1-149.248-144.213334L85.333333 789.333333v-512a149.333333 149.333333 0 0 1 144.213334-149.248L234.666667 128h189.098666z m324.949334-53.248a42.666667 42.666667 0 0 1 60.330666 0l150.869334 150.869333a42.666667 42.666667 0 0 1 0 60.330667l-329.386667 329.386667a42.666667 42.666667 0 0 1-29.44 12.458666l-153.386667 2.517334a42.666667 42.666667 0 0 1-43.349333-43.349334l2.56-153.386666a42.666667 42.666667 0 0 1 12.458667-29.44z m30.165333 90.496L491.946667 452.266667l-1.493334 91.989333 92.032-1.493333 286.976-286.976-90.538666-90.538667z" ></path></symbol><symbol id="icon-rising" viewBox="0 0 1024 1024"><path d="M553.173333 803.84h-64l0.021334-474.581333-224.021334 224-45.269333-45.226667L521.6 206.293333l301.717333 301.696-45.269333 45.269334-224.853333-224.896v475.477333z" ></path></symbol><symbol id="icon-falling" viewBox="0 0 1024 1024"><path d="M553.173333 238.314667h-64l0.021334 474.602666-224.021334-224-45.269333 45.226667L521.6 835.861333l301.717333-301.717333-45.269333-45.226667-224.853333 224.853334V238.336z" ></path></symbol><symbol id="icon-shanchu2" viewBox="0 0 1024 1024"><path d="M516.60601807 107.93026734c-82.64382935 0-149.71865844 65.51751709-152.5729065 147.77160644H171.37136841c-21.40603638 0-38.92044068 17.38504028-38.92044068 38.92126465 0 21.40686036 17.38504028 38.92208862 38.92126466 38.92208862h42.94308471v435.40136719c0 81.73498536 55.39828492 148.55026245 123.90106201 148.55026245h348.99444581c68.37341309 0 123.90106201-66.42553711 123.901062-148.55026245V333.80477906h38.92126465c21.40686036 0 38.92126464-17.38586426 38.92126465-38.92208863 0-21.40686036-17.38504028-38.92126464-38.92126465-38.92126465H668.91854859C666.45321656 173.44860839 599.24902344 107.93109131 516.60601807 107.93109131z m-79.65939331 147.77160644c2.85424805-42.16442872 37.2354126-74.85809326 79.78875732-74.85809326s76.93450927 32.82302857 79.39984131 74.85809326H436.94662476z m-98.86047364 589.01165771c-24.2611084 0-50.98754883-31.13717651-50.98754883-75.76693725V333.80477906h450.97036744V769.33551026c0 44.50039673-26.72644043 75.76776123-50.98754884 75.76776122H338.08615112v-0.38973999z m0 0" ></path><path d="M390.37063599 751.17263794c17.77313232 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.77478027 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.27124023 40.08883667 32.43493653 40.08883667z m117.41308594 0c17.7739563 0 32.43411255-17.7739563 32.43411255-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43411255-40.08966065-17.7739563 0-32.43493653 17.77478027-32.43493653 40.08966065v228.72875976c0 22.18469239 14.66098023 40.08883667 32.43493653 40.08883667z m123.51049804 0c17.7739563 0 32.43493653-17.7739563 32.43493652-40.08883667V482.35504151c0-22.31488037-14.53079224-40.08966065-32.43493652-40.08966065-17.7739563 0-32.43411255 17.77478027-32.43411255 40.08966065v228.72875976c0 22.18469239 14.14105224 40.08883667 32.43411255 40.08883667z m0 0" ></path></symbol><symbol id="icon-zijiedian" viewBox="0 0 1024 1024"><path d="M312.208 472c19.568-157.856 153.432-280 315.656-280 175.68 0 318.112 143.272 318.112 320S803.552 832 627.864 832c-162.224 0-296.08-122.144-315.656-280H120a40 40 0 0 1 0-80h192.208zM632 752c132.552 0 240-107.448 240-240 0-132.552-107.448-240-240-240-132.552 0-240 107.448-240 240 0 132.552 107.448 240 240 240z m-40-280v-80a40 40 0 0 1 80 0v80h80a40 40 0 0 1 0 80h-80v80a40 40 0 0 1-80 0v-80h-80a40 40 0 0 1 0-80h80z" ></path></symbol><symbol id="icon-tongjijiedian-" viewBox="0 0 1024 1024"><path d="M803.84 131.626667H410.24A59.733333 59.733333 0 0 0 350.506667 192v45.226667H199.68a51.626667 51.626667 0 0 0-51.626667 51.626666v465.92a51.626667 51.626667 0 0 0 51.626667 51.626667h187.52v-55.466667h-162.133333a21.333333 21.333333 0 0 1-21.333334-21.333333V313.386667a21.333333 21.333333 0 0 1 21.333334-21.333334h125.653333v64a59.733333 59.733333 0 0 0 59.733333 59.733334h393.386667a59.733333 59.733333 0 0 0 59.733333-59.733334V192a59.733333 59.733333 0 0 0-59.733333-60.373333z m4.266667 224.64a4.266667 4.266667 0 0 1-4.266667 4.266666H410.24a4.266667 4.266667 0 0 1-4.266667-4.266666V192a4.266667 4.266667 0 0 1 4.266667-4.266667h393.6a4.266667 4.266667 0 0 1 4.266667 4.266667zM716.16 749.44h-81.28v-81.493333a27.733333 27.733333 0 0 0-55.466667 0v81.28h-81.493333a27.733333 27.733333 0 1 0 0 55.466666h81.28v81.28a27.733333 27.733333 0 1 0 55.466667 0v-81.066666h81.28a27.733333 27.733333 0 0 0 0-55.466667z" ></path></symbol><symbol id="icon-close" viewBox="0 0 1024 1024"><path d="M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128L512.128 467.904l-263.04-263.84c-12.448-12.48-32.704-12.544-45.248-0.064-12.512 12.48-12.544 32.736-0.064 45.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248a31.937 31.937 0 0 0 22.688 9.44c8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408a31.94 31.94 0 0 0 22.592-9.344c12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z" fill="" ></path></symbol><symbol id="icon-menu" viewBox="0 0 1024 1024"><path d="M109.714 292.571h804.572c21.943 0 36.571-21.942 36.571-43.885 0-14.629-14.628-29.257-36.571-29.257H109.714c-21.943 0-36.571 14.628-36.571 36.571 0 14.629 14.628 36.571 36.571 36.571zM914.286 512H109.714c-21.943 0-36.571 14.629-36.571 36.571 0 14.629 14.628 36.572 36.571 36.572h804.572c21.943 0 36.571-21.943 36.571-43.886 0-14.628-14.628-29.257-36.571-29.257z m0 292.571H109.714c-21.943 0-36.571 14.629-36.571 36.572s14.628 36.571 36.571 36.571h804.572c21.943 0 36.571-21.943 36.571-36.571 0-21.943-14.628-36.572-36.571-36.572z" ></path></symbol><symbol id="icon-right" viewBox="0 0 1024 1024"><path d="M385 560.69999999L385 738.9c0 36.90000001 26.4 68.5 61.3 68.5l150.2 0c1.5 0 3-0.1 4.5-0.3 10.2 38.7 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-42 0-77.3 28.6-87.5 67.39999999-1.4-0.3-2.9-0.4-4.5-0.39999999L446.3 760.4c-6.8 0-14.3-8.9-14.3-21.49999999l0-427.00000001c0-12.7 7.40000001-21.5 14.30000001-21.5l150.19999999 0c1.5 0 3-0.2 4.5-0.4 10.2 38.8 45.5 67.3 87.5 67.3 50 0 90.5-40.5 90.5-90.4 0-49.9-40.5-90.6-90.5-90.59999999-42 0-77.3 28.6-87.5 67.39999999-1.4-0.2-2.9-0.4-4.49999999-0.4L446.3 243.3c-34.80000001 0-61.3 31.6-61.3 68.50000001L385 513.7l-79.1 0c-10.4-38.5-45.49999999-67-87.4-67-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c41.79999999 0 77.00000001-28.4 87.4-67L385 560.69999999z" fill="" ></path></symbol><symbol id="icon-left" viewBox="0 0 1024 1024"><path d="M639 463.30000001L639 285.1c0-36.90000001-26.4-68.5-61.3-68.5l-150.2 0c-1.5 0-3 0.1-4.5 0.3-10.2-38.7-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.5s40.5 90.5 90.5 90.5c42 0 77.3-28.6 87.5-67.39999999 1.4 0.3 2.9 0.4 4.5 0.39999999L577.7 263.6c6.8 0 14.3 8.9 14.3 21.49999999l0 427.00000001c0 12.7-7.40000001 21.5-14.30000001 21.5l-150.19999999 0c-1.5 0-3 0.2-4.5 0.4-10.2-38.8-45.5-67.3-87.5-67.3-50 0-90.5 40.5-90.5 90.4 0 49.9 40.5 90.6 90.5 90.59999999 42 0 77.3-28.6 87.5-67.39999999 1.4 0.2 2.9 0.4 4.49999999 0.4L577.7 780.7c34.80000001 0 61.3-31.6 61.3-68.50000001L639 510.3l79.1 0c10.4 38.5 45.49999999 67 87.4 67 50 0 90.5-40.5 90.5-90.5s-40.5-90.5-90.5-90.5c-41.79999999 0-77.00000001 28.4-87.4 67L639 463.30000001z" fill="" ></path></symbol><symbol id="icon-side" viewBox="0 0 1024 1024"><path d="M851.91168 328.45312c-59.97056 0-108.6208 48.47104-108.91264 108.36992l-137.92768 38.4a109.14304 109.14304 0 0 0-63.46752-46.58688l1.39264-137.11872c47.29344-11.86816 82.31936-54.66624 82.31936-105.64096 0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.76288-108.91776 108.91776c0 49.18784 32.60928 90.75712 77.38368 104.27392l-1.41312 138.87488a109.19936 109.19936 0 0 0-63.50336 48.55808l-138.93632-39.48544 0.01024-0.72704c0-60.15488-48.76288-108.91776-108.91776-108.91776s-108.91776 48.75776-108.91776 108.91776c0 60.15488 48.76288 108.91264 108.91776 108.91264 39.3984 0 73.91232-20.92032 93.03552-52.2496l139.19232 39.552-0.00512 0.2304c0 25.8304 9.00096 49.5616 24.02816 68.23424l-90.14272 132.63872a108.7488 108.7488 0 0 0-34.2528-5.504c-60.15488 0-108.91776 48.768-108.91776 108.91776 0 60.16 48.76288 108.91776 108.91776 108.91776 60.16 0 108.92288-48.75776 108.92288-108.91776 0-27.14624-9.9328-51.968-26.36288-71.04l89.04704-131.03104a108.544 108.544 0 0 0 37.6832 6.70208 108.672 108.672 0 0 0 36.48512-6.272l93.13792 132.57216a108.48256 108.48256 0 0 0-24.69888 69.0688c0 60.16 48.768 108.92288 108.91776 108.92288 60.16 0 108.91776-48.76288 108.91776-108.92288 0-60.14976-48.75776-108.91776-108.91776-108.91776a108.80512 108.80512 0 0 0-36.69504 6.3488l-93.07136-132.48a108.48768 108.48768 0 0 0 24.79616-72.22784l136.09984-37.888c18.99008 31.93856 53.84192 53.3504 93.69088 53.3504 60.16 0 108.92288-48.75776 108.92288-108.91264-0.00512-60.15488-48.77312-108.92288-108.92288-108.92288z" ></path></symbol><symbol id="icon-B" viewBox="0 0 1024 1024"><path d="M98.067692 65.457231H481.28c75.854769 0 132.411077 3.150769 169.668923 9.452307 37.336615 6.301538 70.656 19.534769 100.036923 39.620924 29.459692 20.007385 53.956923 46.710154 73.570462 80.029538 19.692308 33.398154 29.459692 70.734769 29.459692 112.167385 0 44.898462-12.130462 86.094769-36.233846 123.588923a224.886154 224.886154 0 0 1-98.461539 84.283077c58.368 17.092923 103.266462 46.08 134.695385 87.04 31.350154 40.96 47.025231 89.088 47.025231 144.462769 0 43.638154-10.082462 86.016-30.404923 127.212308-20.243692 41.196308-47.891692 74.043077-83.02277 98.697846-35.052308 24.654769-78.296615 39.778462-129.732923 45.449846-32.295385 3.465846-110.119385 5.671385-233.472 6.537846H98.067692V65.457231z m193.536 159.507692V446.621538h126.818462c75.460923 0 122.328615-1.024 140.603077-3.229538 33.083077-3.938462 59.155692-15.36 78.139077-34.343385 18.904615-18.904615 28.435692-43.874462 28.435692-74.830769 0-29.696-8.192-53.720615-24.497231-72.310154-16.384-18.510769-40.644923-29.696-72.940307-33.634461-19.140923-2.205538-74.279385-3.308308-165.415385-3.308308h-111.064615z m0 381.243077v256.315077h179.2c69.710769 0 113.979077-1.969231 132.726154-5.907692 28.750769-5.198769 52.145231-17.959385 70.262154-38.281847 18.116923-20.243692 27.096615-47.340308 27.096615-81.368615 0-28.750769-6.931692-53.169231-20.873846-73.255385a118.232615 118.232615 0 0 0-60.494769-43.795692c-26.387692-9.137231-83.574154-13.705846-171.638154-13.705846H291.603692z" ></path></symbol><symbol id="icon-a" viewBox="0 0 1024 1024"><path d="M757.76 665.6q0 20.48 1.536 34.304t7.68 22.016 18.944 12.288 34.304 4.096q-3.072 25.6-15.36 44.032-11.264 16.384-33.28 29.696t-62.976 13.312q-11.264 0-20.48-0.512t-17.408-2.56l-6.144-2.048-1.024 0q-4.096-1.024-10.24-4.096-2.048-2.048-4.096-2.048-1.024-1.024-2.048-1.024-14.336-8.192-23.552-17.408t-14.336-17.408q-6.144-10.24-9.216-20.48-63.488 75.776-178.176 75.776-48.128 0-88.064-15.36t-69.12-44.032-45.056-68.096-15.872-88.576 16.896-89.088 47.616-67.584 74.24-42.496 96.768-14.848q48.128 0 88.576 17.408t66.048 49.152q0-8.192 0.512-16.384t0.512-15.36q0-71.68-39.936-104.448t-128-32.768q-43.008 0-84.992 6.656t-84.992 17.92q14.336-28.672 25.088-47.616t24.064-29.184q30.72-24.576 158.72-24.576 79.872 0 135.168 13.824t90.624 43.52 51.2 75.264 15.872 108.032l0 200.704zM487.424 743.424q50.176 0 79.872-33.28t29.696-95.744q0-61.44-28.672-93.696t-76.8-32.256q-52.224 0-82.944 33.28t-30.72 94.72q0 58.368 31.744 92.672t77.824 34.304z" ></path></symbol><symbol id="icon-full" viewBox="0 0 1024 1024"><path d="M639.328 416c8.032 0 16.096-3.008 22.304-9.056l202.624-197.184-0.8 143.808c-0.096 17.696 14.144 32.096 31.808 32.192 0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808l1.248-222.208c0-0.672-0.352-1.248-0.384-1.92 0.032-0.512 0.288-0.896 0.288-1.408 0.032-17.664-14.272-32-31.968-32.032L671.552 96l-0.032 0c-17.664 0-31.968 14.304-32 31.968C639.488 145.632 653.824 160 671.488 160l151.872 0.224-206.368 200.8c-12.672 12.32-12.928 32.608-0.64 45.248C622.656 412.736 630.976 416 639.328 416z" ></path><path d="M896.032 639.552 896.032 639.552c-17.696 0-32 14.304-32.032 31.968l-0.224 151.872-200.832-206.4c-12.32-12.64-32.576-12.96-45.248-0.64-12.672 12.352-12.928 32.608-0.64 45.248l197.184 202.624-143.808-0.8c-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808-0.096 17.696 14.144 32.096 31.808 32.192l222.24 1.248c0.064 0 0.128 0 0.192 0 0.64 0 1.12-0.32 1.76-0.352 0.512 0.032 0.896 0.288 1.408 0.288l0.032 0c17.664 0 31.968-14.304 32-31.968L928 671.584C928.032 653.952 913.728 639.584 896.032 639.552z" ></path><path d="M209.76 159.744l143.808 0.8c0.064 0 0.128 0 0.192 0 17.6 0 31.904-14.208 32-31.808 0.096-17.696-14.144-32.096-31.808-32.192L131.68 95.328c-0.064 0-0.128 0-0.192 0-0.672 0-1.248 0.352-1.888 0.384-0.448 0-0.8-0.256-1.248-0.256 0 0-0.032 0-0.032 0-17.664 0-31.968 14.304-32 31.968L96 352.448c-0.032 17.664 14.272 32 31.968 32.032 0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968l0.224-151.936 200.832 206.4c6.272 6.464 14.624 9.696 22.944 9.696 8.032 0 16.096-3.008 22.304-9.056 12.672-12.32 12.96-32.608 0.64-45.248L209.76 159.744z" ></path><path d="M362.368 617.056l-202.624 197.184 0.8-143.808c0.096-17.696-14.144-32.096-31.808-32.192-0.064 0-0.128 0-0.192 0-17.6 0-31.904 14.208-32 31.808l-1.248 222.24c0 0.704 0.352 1.312 0.384 2.016 0 0.448-0.256 0.832-0.256 1.312-0.032 17.664 14.272 32 31.968 32.032L352.448 928c0 0 0.032 0 0.032 0 17.664 0 31.968-14.304 32-31.968s-14.272-32-31.968-32.032l-151.936-0.224 206.4-200.832c12.672-12.352 12.96-32.608 0.64-45.248S375.008 604.704 362.368 617.056z" ></path></symbol><symbol id="icon-add" viewBox="0 0 1024 1024"><path d="M863.328 482.56l-317.344-1.12L545.984 162.816c0-17.664-14.336-32-32-32s-32 14.336-32 32l0 318.4L159.616 480.064c-0.032 0-0.064 0-0.096 0-17.632 0-31.936 14.24-32 31.904C127.424 529.632 141.728 544 159.392 544.064l322.592 1.152 0 319.168c0 17.696 14.336 32 32 32s32-14.304 32-32l0-318.944 317.088 1.12c0.064 0 0.096 0 0.128 0 17.632 0 31.936-14.24 32-31.904C895.264 496.992 880.96 482.624 863.328 482.56z" ></path></symbol><symbol id="icon-move" viewBox="0 0 1024 1024"><path d="M863.744 544 163.424 544c-17.664 0-32-14.336-32-32s14.336-32 32-32l700.32 0c17.696 0 32 14.336 32 32S881.44 544 863.744 544z" ></path></symbol><symbol id="icon-living" viewBox="0 0 1024 1024"><path d="M514.133333 488.533333m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="" ></path><path d="M512 64C264.533333 64 64 264.533333 64 512c0 236.8 183.466667 428.8 416 445.866667v-134.4c-53.333333-59.733333-200.533333-230.4-200.533333-334.933334 0-130.133333 104.533333-234.666667 234.666666-234.666666s234.666667 104.533333 234.666667 234.666666c0 61.866667-49.066667 153.6-145.066667 270.933334l-59.733333 68.266666V960C776.533333 942.933333 960 748.8 960 512c0-247.466667-200.533333-448-448-448z" fill="" ></path></symbol></svg>', c = (c = document.getElementsByTagName("script"))[c.length - 1].getAttribute("data-injectcss");
4
+ if (c && !e.__iconfont__svg__cssinject__) {
5
5
  e.__iconfont__svg__cssinject__ = !0;
6
6
  try {
7
7
  document.write(
@@ -15,7 +15,7 @@
15
15
  }
16
16
  t = function() {
17
17
  var d, a, p, g;
18
- (g = document.createElement("div")).innerHTML = c, c = null, (p = g.getElementsByTagName("svg")[0]) && (p.setAttribute("aria-hidden", "true"), p.style.position = "absolute", p.style.width = 0, p.style.height = 0, p.style.overflow = "hidden", d = p, (a = document.body).firstChild ? (g = d, (p = a.firstChild).parentNode.insertBefore(g, p)) : a.appendChild(d));
18
+ (g = document.createElement("div")).innerHTML = l, l = null, (p = g.getElementsByTagName("svg")[0]) && (p.setAttribute("aria-hidden", "true"), p.style.position = "absolute", p.style.width = 0, p.style.height = 0, p.style.overflow = "hidden", d = p, (a = document.body).firstChild ? (g = d, (p = a.firstChild).parentNode.insertBefore(g, p)) : a.appendChild(d));
19
19
  }, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(t, 0) : (n = function() {
20
20
  document.removeEventListener("DOMContentLoaded", n, !1), t();
21
21
  }, document.addEventListener("DOMContentLoaded", n, !1)) : document.attachEvent && (o = t, s = e.document, i = !1, (r = function() {
@@ -31,6 +31,7 @@
31
31
  })(window);
32
32
  const T = 0, z = 1, re = 2, $e = {
33
33
  name: "Latte",
34
+ type: "light",
34
35
  palette: ["#dd7878", "#ea76cb", "#8839ef", "#e64553", "#fe640b", "#df8e1d", "#40a02b", "#209fb5", "#1e66f5", "#7287fd"],
35
36
  cssVar: {
36
37
  "--gap": "30px",
@@ -44,6 +45,7 @@ const T = 0, z = 1, re = 2, $e = {
44
45
  }
45
46
  }, Oe = {
46
47
  name: "Dark",
48
+ type: "dark",
47
49
  palette: ["#848FA0", "#748BE9", "#D2F9FE", "#4145A5", "#789AFA", "#706CF4", "#EF987F", "#775DD5", "#FCEECF", "#DA7FBC"],
48
50
  cssVar: {
49
51
  "--main-color": "#ffffff",
@@ -90,12 +92,12 @@ function Pe(e, t, n, o) {
90
92
  const s = o - t, i = e - n;
91
93
  let r = Math.atan(Math.abs(s) / Math.abs(i)) / 3.14 * 180;
92
94
  i < 0 && s > 0 && (r = 180 - r), i < 0 && s < 0 && (r = 180 + r), i > 0 && s < 0 && (r = 360 - r);
93
- const c = 15, l = 30, u = r + l, d = r - l;
95
+ const l = 15, c = 30, u = r + c, d = r - c;
94
96
  return {
95
- x1: n + Math.cos(Math.PI * u / 180) * c,
96
- y1: o - Math.sin(Math.PI * u / 180) * c,
97
- x2: n + Math.cos(Math.PI * d / 180) * c,
98
- y2: o - Math.sin(Math.PI * d / 180) * c
97
+ x1: n + Math.cos(Math.PI * u / 180) * l,
98
+ y1: o - Math.sin(Math.PI * u / 180) * l,
99
+ x2: n + Math.cos(Math.PI * d / 180) * l,
100
+ y2: o - Math.sin(Math.PI * d / 180) * l
99
101
  };
100
102
  }
101
103
  function X() {
@@ -124,7 +126,7 @@ const $ = (e, t) => {
124
126
  }, N = (e, t) => {
125
127
  for (const n in t)
126
128
  e.setAttribute(n, t[n]);
127
- }, le = (e) => e ? e.tagName === "ME-TPC" : !1, ce = (e) => e.filter((t) => {
129
+ }, ce = (e) => e ? e.tagName === "ME-TPC" : !1, le = (e) => e.filter((t) => {
128
130
  for (let n = 0; n < e.length; n++) {
129
131
  if (t === e[n])
130
132
  continue;
@@ -168,7 +170,7 @@ function ot(e) {
168
170
  const n = t.target;
169
171
  if (n.tagName === "ME-EPD")
170
172
  e.expandNode(n.previousSibling);
171
- else if (le(n))
173
+ else if (ce(n))
172
174
  e.selectNode(n, !1, t);
173
175
  else if (e.editable)
174
176
  n.tagName === "text" ? n.dataset.type === "custom-link" ? e.selectArrow(n.parentElement) : e.selectSummary(n.parentElement) : n.className;
@@ -178,7 +180,7 @@ function ot(e) {
178
180
  if (!e.editable)
179
181
  return;
180
182
  const n = t.target;
181
- le(n) ? e.beginEdit(n) : n.tagName === "text" && (n.dataset.type === "custom-link" ? e.editArrowLabel(n.parentElement) : e.editSummary(n.parentElement));
183
+ ce(n) ? e.beginEdit(n) : n.tagName === "text" && (n.dataset.type === "custom-link" ? e.editArrowLabel(n.parentElement) : e.editSummary(n.parentElement));
182
184
  }), e.map.addEventListener("mousemove", (t) => {
183
185
  t.target.contentEditable !== "true" && k.onMove(t, e.container);
184
186
  }), e.map.addEventListener("mousedown", (t) => {
@@ -240,11 +242,11 @@ const st = {
240
242
  const s = se.createElement("me-main");
241
243
  s.className = "rhs";
242
244
  for (let i = 0; i < t.length; i++) {
243
- const r = t[i], { grp: c } = e.createWrapper(r);
244
- e.direction === re ? r.direction === T ? o.appendChild(c) : s.appendChild(c) : e.direction === T ? o.appendChild(c) : s.appendChild(c);
245
+ const r = t[i], { grp: l } = e.createWrapper(r);
246
+ e.direction === re ? r.direction === T ? o.appendChild(l) : s.appendChild(l) : e.direction === T ? o.appendChild(l) : s.appendChild(l);
245
247
  }
246
248
  e.nodes.appendChild(o), e.nodes.appendChild(n), e.nodes.appendChild(s), e.nodes.appendChild(e.lines);
247
- }, ct = function(e, t) {
249
+ }, lt = function(e, t) {
248
250
  const n = se.createElement("me-children");
249
251
  for (let o = 0; o < t.length; o++) {
250
252
  const s = t[o], { grp: i } = e.createWrapper(s);
@@ -265,7 +267,7 @@ const st = {
265
267
  const n = t.image;
266
268
  if (n.url && n.width && n.height) {
267
269
  const o = _.createElement("img");
268
- o.src = n.url, o.style.width = n.width + "px", o.style.height = n.height + "px", e.appendChild(o), e.image = o;
270
+ o.src = n.url, o.style.width = n.width + "px", o.style.height = n.height + "px", n.fit && (o.style.objectFit = n.fit), e.appendChild(o), e.image = o;
269
271
  }
270
272
  } else
271
273
  e.image && (e.image = void 0);
@@ -275,9 +277,9 @@ const st = {
275
277
  }
276
278
  if (t.hyperLink) {
277
279
  const n = _.createElement("a");
278
- n.className = "hyper-link", n.target = "_blank", n.innerText = "🔗", n.href = t.hyperLink, e.appendChild(n), e.linkContainer = n;
280
+ n.className = "hyper-link", n.target = "_blank", n.innerText = "🔗", n.href = t.hyperLink, e.appendChild(n), e.link = n;
279
281
  } else
280
- e.linkContainer && (e.linkContainer = void 0);
282
+ e.link && (e.link = void 0);
281
283
  if (t.icons && t.icons.length) {
282
284
  const n = _.createElement("span");
283
285
  n.className = "icons", n.innerHTML = t.icons.map((o) => `<span>${ne(o)}</span>`).join(""), e.appendChild(n), e.icons = n;
@@ -288,12 +290,12 @@ const st = {
288
290
  n.className = "tags", n.innerHTML = t.tags.map((o) => `<span>${ne(o)}</span>`).join(""), e.appendChild(n), e.tags = n;
289
291
  } else
290
292
  e.tags && (e.tags = void 0);
291
- }, lt = function(e, t) {
293
+ }, ct = function(e, t) {
292
294
  const n = _.createElement("me-wrapper"), { p: o, tpc: s } = this.createParent(e);
293
295
  if (n.appendChild(o), !t && e.children && e.children.length > 0) {
294
296
  const i = pe(e.expanded);
295
297
  if (o.appendChild(i), e.expanded !== !1) {
296
- const r = ct(this, e.children);
298
+ const r = lt(this, e.children);
297
299
  n.appendChild(r);
298
300
  }
299
301
  }
@@ -389,14 +391,14 @@ const ut = function(e) {
389
391
  o.id = "input-box", o.textContent = s, o.contentEditable = "true", o.spellcheck = !1;
390
392
  const i = t.getAttribute("x"), r = t.getAttribute("y");
391
393
  o.style.cssText = `min-width:88px;position:absolute;left:${i}px;top:${r}px;`;
392
- const c = t.getAttribute("text-anchor");
393
- c === "end" ? o.style.cssText += "transform: translate(-100%, -100%);" : c === "middle" ? o.style.cssText += "transform: translate(-50%, -100%);" : o.style.cssText += "transform: translate(0, -100%);", o.focus(), Be(o), o.addEventListener("keydown", (l) => {
394
- l.stopPropagation();
395
- const u = l.key;
394
+ const l = t.getAttribute("text-anchor");
395
+ l === "end" ? o.style.cssText += "transform: translate(-100%, -100%);" : l === "middle" ? o.style.cssText += "transform: translate(-50%, -100%);" : o.style.cssText += "transform: translate(0, -100%);", o.focus(), Be(o), o.addEventListener("keydown", (c) => {
396
+ c.stopPropagation();
397
+ const u = c.key;
396
398
  if (u === "Enter" || u === "Tab") {
397
- if (l.shiftKey)
399
+ if (c.shiftKey)
398
400
  return;
399
- l.preventDefault(), o.blur(), e.map.focus();
401
+ c.preventDefault(), o.blur(), e.map.focus();
400
402
  }
401
403
  }), o.addEventListener("blur", () => {
402
404
  o && n(o);
@@ -406,23 +408,23 @@ const ut = function(e) {
406
408
  this.nodes.style.top = `${1e4 - this.nodes.offsetHeight / 2}px`, this.nodes.style.left = `${1e4 - o - s / 2}px`;
407
409
  const r = this.map.querySelectorAll("me-main > me-wrapper");
408
410
  this.lines.innerHTML = "";
409
- for (let c = 0; c < r.length; c++) {
410
- const l = r[c], u = l.querySelector("me-tpc"), { offsetLeft: d, offsetTop: a } = $(this.nodes, u), p = u.offsetWidth, g = u.offsetHeight, f = l.parentNode.className, m = this.generateMainBranch({ pT: n, pL: o, pW: s, pH: i, cT: a, cL: d, cW: p, cH: g, direction: f, containerHeight: this.nodes.offsetHeight }), h = this.theme.palette, v = u.nodeObj.branchColor || h[c % h.length];
411
+ for (let l = 0; l < r.length; l++) {
412
+ const c = r[l], u = c.querySelector("me-tpc"), { offsetLeft: d, offsetTop: a } = $(this.nodes, u), p = u.offsetWidth, g = u.offsetHeight, f = c.parentNode.className, m = this.generateMainBranch({ pT: n, pL: o, pW: s, pH: i, cT: a, cL: d, cW: p, cH: g, direction: f, containerHeight: this.nodes.offsetHeight }), h = this.theme.palette, v = u.nodeObj.branchColor || h[l % h.length];
411
413
  u.style.borderColor = v, this.lines.appendChild(He(m, v, "3"));
412
- const y = l.children[0].children[1];
413
- if (y && (y.style.top = (y.parentNode.offsetHeight - y.offsetHeight) / 2 + "px", f === "lhs" ? y.style.left = "-10px" : y.style.right = "-10px"), e && e !== l)
414
+ const y = c.children[0].children[1];
415
+ if (y && (y.style.top = (y.parentNode.offsetHeight - y.offsetHeight) / 2 + "px", f === "lhs" ? y.style.left = "-10px" : y.style.right = "-10px"), e && e !== c)
414
416
  continue;
415
- const b = Y("subLines"), x = l.lastChild;
416
- x.tagName === "svg" && x.remove(), l.appendChild(b), Re(this, b, v, l, f, !0);
417
+ const b = Y("subLines"), x = c.lastChild;
418
+ x.tagName === "svg" && x.remove(), c.appendChild(b), Re(this, b, v, c, f, !0);
417
419
  }
418
420
  this.renderArrow(), this.renderSummary(), this.bus.fire("linkDiv");
419
421
  }, Re = function(e, t, n, o, s, i) {
420
- const r = o.firstChild, c = o.children[1].children;
421
- if (c.length === 0)
422
+ const r = o.firstChild, l = o.children[1].children;
423
+ if (l.length === 0)
422
424
  return;
423
- const l = r.offsetTop, u = r.offsetLeft, d = r.offsetWidth, a = r.offsetHeight;
424
- for (let p = 0; p < c.length; p++) {
425
- const g = c[p], f = g.firstChild, m = f.offsetTop, h = f.offsetLeft, v = f.offsetWidth, y = f.offsetHeight, b = f.firstChild.nodeObj.branchColor || n, x = e.generateSubBranch({ pT: l, pL: u, pW: d, pH: a, cT: m, cL: h, cW: v, cH: y, direction: s, isFirst: i });
425
+ const c = r.offsetTop, u = r.offsetLeft, d = r.offsetWidth, a = r.offsetHeight;
426
+ for (let p = 0; p < l.length; p++) {
427
+ const g = l[p], f = g.firstChild, m = f.offsetTop, h = f.offsetLeft, v = f.offsetWidth, y = f.offsetHeight, b = f.firstChild.nodeObj.branchColor || n, x = e.generateSubBranch({ pT: c, pL: u, pW: d, pH: a, cT: m, cL: h, cW: v, cH: y, direction: s, isFirst: i });
426
428
  t.appendChild(He(x, b, "2"));
427
429
  const w = f.children[1];
428
430
  if (w) {
@@ -572,8 +574,8 @@ function mt(e, t) {
572
574
  }, o = (b, x, w) => {
573
575
  const S = document.createElement("li");
574
576
  return S.id = b, S.innerHTML = `<span>${ne(x)}</span><span ${w ? 'class="key"' : ""}>${ne(w)}</span>`, S;
575
- }, s = xe[e.locale] ? e.locale : "en", i = xe[s], r = o("cm-add_child", i.addChild, "Tab"), c = o("cm-add_parent", i.addParent, "Ctrl + Enter"), l = o("cm-add_sibling", i.addSibling, "Enter"), u = o("cm-remove_child", i.removeNode, "Delete"), d = o("cm-fucus", i.focus, ""), a = o("cm-unfucus", i.cancelFocus, ""), p = o("cm-up", i.moveUp, "PgUp"), g = o("cm-down", i.moveDown, "Pgdn"), f = o("cm-link", i.link, ""), m = o("cm-summary", i.summary, ""), h = document.createElement("ul");
576
- if (h.className = "menu-list", h.appendChild(r), h.appendChild(c), h.appendChild(l), h.appendChild(u), (!t || t.focus) && (h.appendChild(d), h.appendChild(a)), h.appendChild(p), h.appendChild(g), h.appendChild(m), (!t || t.link) && h.appendChild(f), t && t.extend)
577
+ }, s = xe[e.locale] ? e.locale : "en", i = xe[s], r = o("cm-add_child", i.addChild, "Tab"), l = o("cm-add_parent", i.addParent, "Ctrl + Enter"), c = o("cm-add_sibling", i.addSibling, "Enter"), u = o("cm-remove_child", i.removeNode, "Delete"), d = o("cm-fucus", i.focus, ""), a = o("cm-unfucus", i.cancelFocus, ""), p = o("cm-up", i.moveUp, "PgUp"), g = o("cm-down", i.moveDown, "Pgdn"), f = o("cm-link", i.link, ""), m = o("cm-summary", i.summary, ""), h = document.createElement("ul");
578
+ if (h.className = "menu-list", h.appendChild(r), h.appendChild(l), h.appendChild(c), h.appendChild(u), (!t || t.focus) && (h.appendChild(d), h.appendChild(a)), h.appendChild(p), h.appendChild(g), h.appendChild(m), (!t || t.link) && h.appendChild(f), t && t.extend)
577
579
  for (let b = 0; b < t.extend.length; b++) {
578
580
  const x = t.extend[b], w = o(x.name, x.name, x.key || "");
579
581
  h.appendChild(w), w.onclick = (S) => {
@@ -587,8 +589,8 @@ function mt(e, t) {
587
589
  if (b.preventDefault(), !e.editable)
588
590
  return;
589
591
  const x = b.target;
590
- if (le(x)) {
591
- x.parentElement.tagName === "ME-ROOT" ? y = !0 : y = !1, y ? (d.className = "disabled", p.className = "disabled", g.className = "disabled", c.className = "disabled", l.className = "disabled", u.className = "disabled") : (d.className = "", p.className = "", g.className = "", c.className = "", l.className = "", u.className = ""), e.currentNodes || e.selectNode(x), v.hidden = !1, k.mousedown && (k.mousedown = !1), h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "";
592
+ if (ce(x)) {
593
+ x.parentElement.tagName === "ME-ROOT" ? y = !0 : y = !1, y ? (d.className = "disabled", p.className = "disabled", g.className = "disabled", l.className = "disabled", c.className = "disabled", u.className = "disabled") : (d.className = "", p.className = "", g.className = "", l.className = "", c.className = "", u.className = ""), e.currentNodes || e.selectNode(x), v.hidden = !1, k.mousedown && (k.mousedown = !1), h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "";
592
594
  const w = h.getBoundingClientRect(), S = h.offsetHeight, O = h.offsetWidth, W = b.clientY - w.top, P = b.clientX - w.left;
593
595
  S + W > window.innerHeight ? (h.style.top = "", h.style.bottom = "0px") : (h.style.bottom = "", h.style.top = W + 15 + "px"), O + P > window.innerWidth ? (h.style.left = "", h.style.right = "0px") : (h.style.right = "", h.style.left = P + 10 + "px");
594
596
  }
@@ -596,9 +598,9 @@ function mt(e, t) {
596
598
  b.target === v && (v.hidden = !0);
597
599
  }, r.onclick = () => {
598
600
  e.addChild(), v.hidden = !0;
599
- }, c.onclick = () => {
600
- e.insertParent(), v.hidden = !0;
601
601
  }, l.onclick = () => {
602
+ e.insertParent(), v.hidden = !0;
603
+ }, c.onclick = () => {
602
604
  y || (e.insertSibling("after"), v.hidden = !0);
603
605
  }, u.onclick = () => {
604
606
  y || (e.removeNode(), v.hidden = !0);
@@ -627,7 +629,7 @@ function mt(e, t) {
627
629
  }, m.onclick = () => {
628
630
  v.hidden = !0, e.createSummary(), e.unselectNodes();
629
631
  }, () => {
630
- r.onclick = null, c.onclick = null, l.onclick = null, u.onclick = null, d.onclick = null, a.onclick = null, p.onclick = null, g.onclick = null, f.onclick = null, m.onclick = null, v.onclick = null, e.container.oncontextmenu = null;
632
+ r.onclick = null, l.onclick = null, c.onclick = null, u.onclick = null, d.onclick = null, a.onclick = null, p.onclick = null, g.onclick = null, f.onclick = null, m.onclick = null, v.onclick = null, e.container.oncontextmenu = null;
631
633
  };
632
634
  }
633
635
  const gt = (e) => {
@@ -780,39 +782,39 @@ function Ct(e) {
780
782
  let t = null, n = null, o = null;
781
783
  const s = Nt(e), i = 12;
782
784
  e.map.addEventListener("dragstart", (r) => {
783
- var l, u;
784
- const c = r.target;
785
- if ((c == null ? void 0 : c.tagName) !== "ME-TPC") {
785
+ var c, u;
786
+ const l = r.target;
787
+ if ((l == null ? void 0 : l.tagName) !== "ME-TPC") {
786
788
  r.preventDefault();
787
789
  return;
788
790
  }
789
- (l = e.currentNodes) != null && l.includes(c) || (e.unselectNodes(), e.selectNode(c)), e.currentNodes ? (t = e.currentNodes, s.innerHTML = e.currentNodes.length + " nodes") : (t = [c], s.innerHTML = c.innerHTML);
791
+ (c = e.currentNodes) != null && c.includes(l) || (e.unselectNodes(), e.selectNode(l)), e.currentNodes ? (t = e.currentNodes, s.innerHTML = e.currentNodes.length + " nodes") : (t = [l], s.innerHTML = l.innerHTML);
790
792
  for (const d of t)
791
793
  d.parentElement.parentElement.style.opacity = "0.5";
792
794
  (u = r.dataTransfer) == null || u.setDragImage(s, 0, 0), k.clear();
793
795
  }), e.map.addEventListener("dragend", async (r) => {
794
796
  if (!t)
795
797
  return;
796
- for (const l of t)
797
- l.parentElement.parentElement.style.opacity = "1";
798
- const c = r.target;
799
- c.style.opacity = "", o && (de(o), n === "before" ? e.moveNodeBefore(t, o) : n === "after" ? e.moveNodeAfter(t, o) : n === "in" && e.moveNodeIn(t, o), t = null);
798
+ for (const c of t)
799
+ c.parentElement.parentElement.style.opacity = "1";
800
+ const l = r.target;
801
+ l.style.opacity = "", o && (de(o), n === "before" ? e.moveNodeBefore(t, o) : n === "after" ? e.moveNodeAfter(t, o) : n === "in" && e.moveNodeIn(t, o), t = null);
800
802
  }), e.map.addEventListener(
801
803
  "dragover",
802
804
  tt(function(r) {
803
805
  if (!t)
804
806
  return;
805
807
  de(o);
806
- const c = ae.elementFromPoint(r.clientX, r.clientY - i);
807
- if (Ne(c, t)) {
808
- o = c;
809
- const l = c.getBoundingClientRect().y;
810
- r.clientY > l + c.clientHeight ? n = "after" : n = "in";
808
+ const l = ae.elementFromPoint(r.clientX, r.clientY - i);
809
+ if (Ne(l, t)) {
810
+ o = l;
811
+ const c = l.getBoundingClientRect().y;
812
+ r.clientY > c + l.clientHeight ? n = "after" : n = "in";
811
813
  } else {
812
- const l = ae.elementFromPoint(r.clientX, r.clientY + i);
813
- if (Ne(l, t)) {
814
- o = l;
815
- const u = l.getBoundingClientRect().y;
814
+ const c = ae.elementFromPoint(r.clientX, r.clientY + i);
815
+ if (Ne(c, t)) {
816
+ o = c;
817
+ const u = c.getBoundingClientRect().y;
816
818
  r.clientY < u ? n = "before" : n = "in";
817
819
  } else
818
820
  n = o = null;
@@ -1043,8 +1045,8 @@ class qe extends jt {
1043
1045
  };
1044
1046
  for (const d of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))
1045
1047
  typeof this[d] == "function" && (this[d] = this[d].bind(this));
1046
- const { document: c, selectionAreaClass: l, selectionContainerClass: u } = this._options;
1047
- this._area = c.createElement("div"), this._clippingElement = c.createElement("div"), this._clippingElement.appendChild(this._area), this._area.classList.add(l), u && this._clippingElement.classList.add(u), j(this._area, {
1048
+ const { document: l, selectionAreaClass: c, selectionContainerClass: u } = this._options;
1049
+ this._area = l.createElement("div"), this._clippingElement = l.createElement("div"), this._clippingElement.appendChild(this._area), this._area.classList.add(c), u && this._clippingElement.classList.add(u), j(this._area, {
1048
1050
  willChange: "top, left, bottom, right, width, height",
1049
1051
  top: 0,
1050
1052
  left: 0,
@@ -1065,10 +1067,10 @@ class qe extends jt {
1065
1067
  s(n, "mousedown", this._onTapStart), o.touch && s(n, "touchstart", this._onTapStart, { passive: !1 });
1066
1068
  }
1067
1069
  _onTapStart(t, n = !1) {
1068
- const { x: o, y: s, target: i } = Q(t), { document: r, startAreas: c, boundaries: l, features: u, behaviour: d } = this._options, a = i.getBoundingClientRect();
1070
+ const { x: o, y: s, target: i } = Q(t), { document: r, startAreas: l, boundaries: c, features: u, behaviour: d } = this._options, a = i.getBoundingClientRect();
1069
1071
  if (t instanceof MouseEvent && !Pt(t, d.triggers))
1070
1072
  return;
1071
- const p = F(c, r), g = F(l, r);
1073
+ const p = F(l, r), g = F(c, r);
1072
1074
  this._targetElement = g.find(
1073
1075
  (v) => Se(v.getBoundingClientRect(), a)
1074
1076
  );
@@ -1086,10 +1088,10 @@ class qe extends jt {
1086
1088
  i = s.target;
1087
1089
  else if (n === "touch") {
1088
1090
  this.resolveSelectables();
1089
- const { x: c, y: l } = s;
1091
+ const { x: l, y: c } = s;
1090
1092
  i = this._selectables.find((u) => {
1091
1093
  const { right: d, left: a, top: p, bottom: g } = u.getBoundingClientRect();
1092
- return c < d && c > a && l < g && l > p;
1094
+ return l < d && l > a && c < g && c > p;
1093
1095
  });
1094
1096
  }
1095
1097
  if (!i)
@@ -1103,19 +1105,19 @@ class qe extends jt {
1103
1105
  }
1104
1106
  const { stored: r } = this._selection;
1105
1107
  if (this._emitEvent("start", t), t.shiftKey && o && this._latestElement) {
1106
- const c = this._latestElement, [l, u] = c.compareDocumentPosition(i) & 4 ? [i, c] : [c, i], d = [...this._selectables.filter(
1107
- (a) => a.compareDocumentPosition(l) & 4 && a.compareDocumentPosition(u) & 2
1108
- ), l, u];
1109
- this.select(d), this._latestElement = c;
1108
+ const l = this._latestElement, [c, u] = l.compareDocumentPosition(i) & 4 ? [i, l] : [l, i], d = [...this._selectables.filter(
1109
+ (a) => a.compareDocumentPosition(c) & 4 && a.compareDocumentPosition(u) & 2
1110
+ ), c, u];
1111
+ this.select(d), this._latestElement = l;
1110
1112
  } else
1111
- r.includes(i) && (r.length === 1 || t.ctrlKey || r.every((c) => this._selection.stored.includes(c))) ? this.deselect(i) : (this.select(i), this._latestElement = i);
1113
+ r.includes(i) && (r.length === 1 || t.ctrlKey || r.every((l) => this._selection.stored.includes(l))) ? this.deselect(i) : (this.select(i), this._latestElement = i);
1112
1114
  }
1113
1115
  _delayedTapMove(t) {
1114
- const { container: n, document: o, behaviour: { startThreshold: s } } = this._options, { x1: i, y1: r } = this._areaLocation, { x: c, y: l } = Q(t);
1116
+ const { container: n, document: o, behaviour: { startThreshold: s } } = this._options, { x1: i, y1: r } = this._areaLocation, { x: l, y: c } = Q(t);
1115
1117
  if (
1116
1118
  // Single number for both coordinates
1117
- typeof s == "number" && H(c + l - (i + r)) >= s || // Different x and y threshold
1118
- typeof s == "object" && H(c - i) >= s.x || H(l - r) >= s.y
1119
+ typeof s == "number" && H(l + c - (i + r)) >= s || // Different x and y threshold
1120
+ typeof s == "object" && H(l - i) >= s.x || H(c - r) >= s.y
1119
1121
  ) {
1120
1122
  if (L(o, ["mousemove", "touchmove"], this._delayedTapMove, { passive: !1 }), this._emitEvent("beforedrag", t) === !1) {
1121
1123
  L(o, ["mouseup", "touchcancel", "touchend"], this._onTapStop);
@@ -1146,16 +1148,16 @@ class qe extends jt {
1146
1148
  }));
1147
1149
  }
1148
1150
  _onTapMove(t) {
1149
- const { _scrollSpeed: n, _areaLocation: o, _options: s, _frame: i } = this, { speedDivider: r } = s.behaviour.scrolling, c = this._targetElement, { x: l, y: u } = Q(t);
1150
- if (o.x2 = l, o.y2 = u, this._scrollAvailable && !this._scrollingActive && (n.y || n.x)) {
1151
+ const { _scrollSpeed: n, _areaLocation: o, _options: s, _frame: i } = this, { speedDivider: r } = s.behaviour.scrolling, l = this._targetElement, { x: c, y: u } = Q(t);
1152
+ if (o.x2 = c, o.y2 = u, this._scrollAvailable && !this._scrollingActive && (n.y || n.x)) {
1151
1153
  this._scrollingActive = !0;
1152
1154
  const d = () => {
1153
1155
  if (!n.x && !n.y) {
1154
1156
  this._scrollingActive = !1;
1155
1157
  return;
1156
1158
  }
1157
- const { scrollTop: a, scrollLeft: p } = c;
1158
- n.y && (c.scrollTop += ke(n.y / r), o.y1 -= c.scrollTop - a), n.x && (c.scrollLeft += ke(n.x / r), o.x1 -= c.scrollLeft - p), i.next(t), requestAnimationFrame(d);
1159
+ const { scrollTop: a, scrollLeft: p } = l;
1160
+ n.y && (l.scrollTop += ke(n.y / r), o.y1 -= l.scrollTop - a), n.x && (l.scrollLeft += ke(n.x / r), o.x1 -= l.scrollLeft - p), i.next(t), requestAnimationFrame(d);
1159
1161
  };
1160
1162
  requestAnimationFrame(d);
1161
1163
  } else
@@ -1178,10 +1180,10 @@ class qe extends jt {
1178
1180
  this._scrollSpeed.y += o * n, this._scrollSpeed.x += s * n, this._onTapMove(t), t.preventDefault();
1179
1181
  }
1180
1182
  _recalculateSelectionAreaRect() {
1181
- const { _scrollSpeed: t, _areaLocation: n, _targetElement: o, _options: s } = this, { scrollTop: i, scrollHeight: r, clientHeight: c, scrollLeft: l, scrollWidth: u, clientWidth: d } = o, a = this._targetRect, { x1: p, y1: g } = n;
1183
+ const { _scrollSpeed: t, _areaLocation: n, _targetElement: o, _options: s } = this, { scrollTop: i, scrollHeight: r, clientHeight: l, scrollLeft: c, scrollWidth: u, clientWidth: d } = o, a = this._targetRect, { x1: p, y1: g } = n;
1182
1184
  let { x2: f, y2: m } = n;
1183
1185
  const { behaviour: { scrolling: { startScrollMargins: h } } } = s;
1184
- f < a.left + h.x ? (t.x = l ? -H(a.left - f + h.x) : 0, f = f < a.left ? a.left : f) : f > a.right - h.x ? (t.x = u - l - d ? H(a.left + a.width - f - h.x) : 0, f = f > a.right ? a.right : f) : t.x = 0, m < a.top + h.y ? (t.y = i ? -H(a.top - m + h.y) : 0, m = m < a.top ? a.top : m) : m > a.bottom - h.y ? (t.y = r - i - c ? H(a.top + a.height - m - h.y) : 0, m = m > a.bottom ? a.bottom : m) : t.y = 0;
1186
+ f < a.left + h.x ? (t.x = c ? -H(a.left - f + h.x) : 0, f = f < a.left ? a.left : f) : f > a.right - h.x ? (t.x = u - c - d ? H(a.left + a.width - f - h.x) : 0, f = f > a.right ? a.right : f) : t.x = 0, m < a.top + h.y ? (t.y = i ? -H(a.top - m + h.y) : 0, m = m < a.top ? a.top : m) : m > a.bottom - h.y ? (t.y = r - i - l ? H(a.top + a.height - m - h.y) : 0, m = m > a.bottom ? a.bottom : m) : t.y = 0;
1185
1187
  const v = Me(p, f), y = Me(g, m), b = _e(p, f), x = _e(g, m);
1186
1188
  this._areaRect = new DOMRect(v, y, b - v, x - y);
1187
1189
  }
@@ -1195,12 +1197,12 @@ class qe extends jt {
1195
1197
  L(this._targetElement, "scroll", this._onStartAreaScroll), L(s, ["mousemove", "touchmove"], this._delayedTapMove), L(s, ["touchmove", "mousemove"], this._onTapMove), L(s, ["mouseup", "touchcancel", "touchend"], this._onTapStop), L(s, "scroll", this._onScroll), this._keepSelection(), t && r && i.singleTap.allow ? this._onSingleTap(t) : !r && !n && (this._updateElementSelection(), this._emitEvent("stop", t)), this._scrollSpeed.x = 0, this._scrollSpeed.y = 0, L(this._targetElement, "wheel", this._manualScroll, { passive: !0 }), this._clippingElement.remove(), (o = this._frame) == null || o.cancel(), j(this._area, "display", "none");
1196
1198
  }
1197
1199
  _updateElementSelection() {
1198
- const { _selectables: t, _options: n, _selection: o, _areaRect: s } = this, { stored: i, selected: r, touched: c } = o, { intersect: l, overlap: u } = n.behaviour, d = u === "invert", a = [], p = [], g = [];
1200
+ const { _selectables: t, _options: n, _selection: o, _areaRect: s } = this, { stored: i, selected: r, touched: l } = o, { intersect: c, overlap: u } = n.behaviour, d = u === "invert", a = [], p = [], g = [];
1199
1201
  for (let m = 0; m < t.length; m++) {
1200
1202
  const h = t[m];
1201
- if (Se(s, h.getBoundingClientRect(), l)) {
1203
+ if (Se(s, h.getBoundingClientRect(), c)) {
1202
1204
  if (r.includes(h))
1203
- i.includes(h) && !c.includes(h) && c.push(h);
1205
+ i.includes(h) && !l.includes(h) && l.push(h);
1204
1206
  else if (d && i.includes(h)) {
1205
1207
  g.push(h);
1206
1208
  continue;
@@ -1227,20 +1229,20 @@ class qe extends jt {
1227
1229
  });
1228
1230
  }
1229
1231
  _keepSelection() {
1230
- const { _options: t, _selection: n } = this, { selected: o, changed: s, touched: i, stored: r } = n, c = o.filter((l) => !r.includes(l));
1232
+ const { _options: t, _selection: n } = this, { selected: o, changed: s, touched: i, stored: r } = n, l = o.filter((c) => !r.includes(c));
1231
1233
  switch (t.behaviour.overlap) {
1232
1234
  case "drop": {
1233
1235
  n.stored = [
1234
- ...c,
1235
- ...r.filter((l) => !i.includes(l))
1236
+ ...l,
1237
+ ...r.filter((c) => !i.includes(c))
1236
1238
  // Elements not touched
1237
1239
  ];
1238
1240
  break;
1239
1241
  }
1240
1242
  case "invert": {
1241
1243
  n.stored = [
1242
- ...c,
1243
- ...r.filter((l) => !s.removed.includes(l))
1244
+ ...l,
1245
+ ...r.filter((c) => !s.removed.includes(c))
1244
1246
  // Elements not removed from selection
1245
1247
  ];
1246
1248
  break;
@@ -1248,7 +1250,7 @@ class qe extends jt {
1248
1250
  case "keep": {
1249
1251
  n.stored = [
1250
1252
  ...r,
1251
- ...o.filter((l) => !r.includes(l))
1253
+ ...o.filter((c) => !r.includes(c))
1252
1254
  // Newly added
1253
1255
  ];
1254
1256
  break;
@@ -1313,7 +1315,7 @@ class qe extends jt {
1313
1315
  */
1314
1316
  select(t, n = !1) {
1315
1317
  const { changed: o, selected: s, stored: i } = this._selection, r = F(t, this._options.document).filter(
1316
- (c) => !s.includes(c) && !i.includes(c)
1318
+ (l) => !s.includes(l) && !i.includes(l)
1317
1319
  );
1318
1320
  return i.push(...r), s.push(...r), o.added.push(...r), o.removed = [], this._latestElement = void 0, n || (this._emitEvent("move", null), this._emitEvent("stop", null)), r;
1319
1321
  }
@@ -1324,10 +1326,10 @@ class qe extends jt {
1324
1326
  */
1325
1327
  deselect(t, n = !1) {
1326
1328
  const { selected: o, stored: s, changed: i } = this._selection, r = F(t, this._options.document).filter(
1327
- (c) => o.includes(c) || s.includes(c)
1329
+ (l) => o.includes(l) || s.includes(l)
1328
1330
  );
1329
- r.length && (this._selection.stored = s.filter((c) => !r.includes(c)), this._selection.selected = o.filter((c) => !r.includes(c)), this._selection.changed.added = [], this._selection.changed.removed.push(
1330
- ...r.filter((c) => !i.removed.includes(c))
1331
+ r.length && (this._selection.stored = s.filter((l) => !r.includes(l)), this._selection.selected = o.filter((l) => !r.includes(l)), this._selection.changed.added = [], this._selection.changed.removed.push(
1332
+ ...r.filter((l) => !i.removed.includes(l))
1331
1333
  ), this._latestElement = void 0, n || (this._emitEvent("move", null), this._emitEvent("stop", null)));
1332
1334
  }
1333
1335
  }
@@ -1446,8 +1448,8 @@ const It = function(e, t) {
1446
1448
  if (G(o), s.children[1])
1447
1449
  s.nextSibling.appendChild(n);
1448
1450
  else {
1449
- const c = e.createChildren([n]);
1450
- s.appendChild(pe(!0)), s.insertAdjacentElement("afterend", c);
1451
+ const l = e.createChildren([n]);
1452
+ s.appendChild(pe(!0)), s.insertAdjacentElement("afterend", l);
1451
1453
  }
1452
1454
  e.linkDiv(n.offsetParent);
1453
1455
  } else
@@ -1500,8 +1502,8 @@ const It = function(e, t) {
1500
1502
  }
1501
1503
  const i = n || this.generateNewObj();
1502
1504
  Ft(i, e, s), D(this.nodeData);
1503
- const r = o.parentElement, { grp: c, top: l } = this.createWrapper(i);
1504
- r.parentElement.insertAdjacentElement(We[e], c), this.linkDiv(c.offsetParent), n || this.editTopic(l.firstChild), this.selectNode(l.firstChild, !0), this.bus.fire("operation", {
1505
+ const r = o.parentElement, { grp: l, top: c } = this.createWrapper(i);
1506
+ r.parentElement.insertAdjacentElement(We[e], l), this.linkDiv(l.offsetParent), n || this.editTopic(c.firstChild), this.selectNode(c.firstChild, !0), this.bus.fire("operation", {
1505
1507
  name: "insertSibling",
1506
1508
  type: e,
1507
1509
  obj: i
@@ -1516,10 +1518,10 @@ const It = function(e, t) {
1516
1518
  return;
1517
1519
  const s = t || this.generateNewObj();
1518
1520
  qt(o, s), D(this.nodeData);
1519
- const i = n.parentElement.parentElement, { grp: r, top: c } = this.createWrapper(s, !0);
1520
- c.appendChild(pe(!0)), i.insertAdjacentElement("afterend", r);
1521
- const l = this.createChildren([i]);
1522
- c.insertAdjacentElement("afterend", l), this.linkDiv(), t || this.editTopic(c.firstChild), this.selectNode(c.firstChild, !0), this.bus.fire("operation", {
1521
+ const i = n.parentElement.parentElement, { grp: r, top: l } = this.createWrapper(s, !0);
1522
+ l.appendChild(pe(!0)), i.insertAdjacentElement("afterend", r);
1523
+ const c = this.createChildren([i]);
1524
+ l.insertAdjacentElement("afterend", c), this.linkDiv(), t || this.editTopic(l.firstChild), this.selectNode(l.firstChild, !0), this.bus.fire("operation", {
1523
1525
  name: "insertParent",
1524
1526
  obj: s
1525
1527
  });
@@ -1547,7 +1549,7 @@ const It = function(e, t) {
1547
1549
  obj: s
1548
1550
  });
1549
1551
  }, Xt = function(e, t) {
1550
- e = ce(e);
1552
+ e = le(e);
1551
1553
  const n = [];
1552
1554
  for (let o = 0; o < e.length; o++) {
1553
1555
  const s = e[o], i = ue(s.nodeObj);
@@ -1555,8 +1557,8 @@ const It = function(e, t) {
1555
1557
  const r = ge(this, t, i);
1556
1558
  if (!r)
1557
1559
  return;
1558
- const { newNodeObj: c } = r;
1559
- n.push(c);
1560
+ const { newNodeObj: l } = r;
1561
+ n.push(l);
1560
1562
  }
1561
1563
  this.selectNodes(n.map((o) => C(o.id))), this.bus.fire("operation", {
1562
1564
  name: "copyNodes",
@@ -1592,10 +1594,10 @@ const It = function(e, t) {
1592
1594
  const n = t.nodeObj;
1593
1595
  if (!n.parent)
1594
1596
  throw new Error("Can not remove root node");
1595
- const o = n.parent.children, s = o.findIndex((c) => c === n), i = me(n);
1597
+ const o = n.parent.children, s = o.findIndex((l) => l === n), i = me(n);
1596
1598
  if (Ve(t, i), o.length !== 0) {
1597
- const c = o[s] || o[s - 1];
1598
- this.selectNode(C(c.id));
1599
+ const l = o[s] || o[s - 1];
1600
+ this.selectNode(C(l.id));
1599
1601
  } else
1600
1602
  this.selectNode(C(n.parent.id));
1601
1603
  this.linkDiv(), this.bus.fire("operation", {
@@ -1605,7 +1607,7 @@ const It = function(e, t) {
1605
1607
  originParentId: (r = n == null ? void 0 : n.parent) == null ? void 0 : r.id
1606
1608
  });
1607
1609
  }, Qt = function(e) {
1608
- e = ce(e);
1610
+ e = le(e);
1609
1611
  for (const t of e) {
1610
1612
  const n = t.nodeObj;
1611
1613
  if (!n.parent)
@@ -1618,7 +1620,7 @@ const It = function(e, t) {
1618
1620
  objs: e.map((t) => t.nodeObj)
1619
1621
  });
1620
1622
  }, en = function(e, t) {
1621
- e = ce(e);
1623
+ e = le(e);
1622
1624
  const n = t.nodeObj;
1623
1625
  n.expanded === !1 && (this.expandNode(t, !0), t = C(n.id));
1624
1626
  for (const o of e) {
@@ -1633,13 +1635,13 @@ const It = function(e, t) {
1633
1635
  toObj: n
1634
1636
  });
1635
1637
  }, Ue = (e, t, n, o) => {
1636
- e = ce(e), t === "after" && (e = e.reverse());
1638
+ e = le(e), t === "after" && (e = e.reverse());
1637
1639
  const s = n.nodeObj;
1638
1640
  for (const i of e) {
1639
1641
  const r = i.nodeObj;
1640
1642
  Ie(t, r, s), D(o.nodeData), G(i);
1641
- const c = i.parentElement.parentNode;
1642
- n.parentElement.parentNode.insertAdjacentElement(We[t], c);
1643
+ const l = i.parentElement.parentNode;
1644
+ n.parentElement.parentNode.insertAdjacentElement(We[t], l);
1643
1645
  }
1644
1646
  o.linkDiv(), o.bus.fire("operation", {
1645
1647
  name: t === "before" ? "moveNodeBefore" : "moveNodeAfter",
@@ -1691,9 +1693,9 @@ const rn = function(e, t, n) {
1691
1693
  }
1692
1694
  e.className = "selected", e.scrollIntoView({ block: "nearest", inline: "nearest" }), this.currentNode = e, t ? this.bus.fire("selectNewNode", e.nodeObj) : this.bus.fire("selectNode", e.nodeObj, n);
1693
1695
  }
1694
- }, cn = function() {
1696
+ }, ln = function() {
1695
1697
  this.currentNode && (this.currentNode.className = ""), this.currentNode = null, this.bus.fire("unselectNode");
1696
- }, ln = function(e) {
1698
+ }, cn = function(e) {
1697
1699
  this.clearSelection();
1698
1700
  for (const t of e)
1699
1701
  t.className = "selected";
@@ -1783,10 +1785,10 @@ const rn = function(e, t, n) {
1783
1785
  refresh: _n,
1784
1786
  scale: gn,
1785
1787
  selectNode: rn,
1786
- selectNodes: ln,
1788
+ selectNodes: cn,
1787
1789
  setLocale: Cn,
1788
1790
  toCenter: vn,
1789
- unselectNode: cn,
1791
+ unselectNode: ln,
1790
1792
  unselectNodes: an
1791
1793
  }, Symbol.toStringTag, { value: "Module" })), kn = function(e) {
1792
1794
  return {
@@ -1818,12 +1820,12 @@ const rn = function(e, t, n) {
1818
1820
  create: kn
1819
1821
  };
1820
1822
  function ie(e, t, n) {
1821
- const { offsetLeft: o, offsetTop: s } = $(e.nodes, t), i = t.offsetWidth, r = t.offsetHeight, c = o + i / 2, l = s + r / 2, u = c + n.x, d = l + n.y;
1823
+ const { offsetLeft: o, offsetTop: s } = $(e.nodes, t), i = t.offsetWidth, r = t.offsetHeight, l = o + i / 2, c = s + r / 2, u = l + n.x, d = c + n.y;
1822
1824
  return {
1823
1825
  w: i,
1824
1826
  h: r,
1825
- cx: c,
1826
- cy: l,
1827
+ cx: l,
1828
+ cy: c,
1827
1829
  ctrlX: u,
1828
1830
  ctrlY: d
1829
1831
  };
@@ -1848,10 +1850,10 @@ const Tn = function(e, t, n, o) {
1848
1850
  if (!t || !n)
1849
1851
  return;
1850
1852
  performance.now();
1851
- const i = ie(e, t, o.delta1), r = ie(e, n, o.delta2), { x: c, y: l } = q(i), { ctrlX: u, ctrlY: d } = i, { ctrlX: a, ctrlY: p } = r, { x: g, y: f } = q(r), m = Pe(a, p, g, f), h = ft(
1852
- `M ${c} ${l} C ${u} ${d} ${a} ${p} ${g} ${f}`,
1853
+ const i = ie(e, t, o.delta1), r = ie(e, n, o.delta2), { x: l, y: c } = q(i), { ctrlX: u, ctrlY: d } = i, { ctrlX: a, ctrlY: p } = r, { x: g, y: f } = q(r), m = Pe(a, p, g, f), h = ft(
1854
+ `M ${l} ${c} C ${u} ${d} ${a} ${p} ${g} ${f}`,
1853
1855
  `M ${m.x1} ${m.y1} L ${g} ${f} L ${m.x2} ${m.y2}`
1854
- ), v = c / 8 + u * 3 / 8 + a * 3 / 8 + g / 8, y = l / 8 + d * 3 / 8 + p * 3 / 8 + f / 8, b = Tn(o.label, v, y, e.theme.cssVar["--color"]);
1856
+ ), v = l / 8 + u * 3 / 8 + a * 3 / 8 + g / 8, y = c / 8 + d * 3 / 8 + p * 3 / 8 + f / 8, b = Tn(o.label, v, y, e.theme.cssVar["--color"]);
1855
1857
  h.appendChild(b), h.arrowObj = o, h.dataset.linkid = o.id, e.linkSvgGroup.appendChild(h), s || (e.arrows.push(o), e.currentArrow = h, Ze(e, o, i, r)), performance.now();
1856
1858
  }, Ln = function(e, t) {
1857
1859
  const n = {
@@ -1895,47 +1897,47 @@ const Tn = function(e, t, n, o) {
1895
1897
  }, Ze = function(e, t, n, o) {
1896
1898
  var p;
1897
1899
  e.linkController.style.display = "initial", e.P2.style.display = "initial", e.P3.style.display = "initial", e.nodes.appendChild(e.linkController), e.nodes.appendChild(e.P2), e.nodes.appendChild(e.P3);
1898
- let { x: s, y: i } = q(n), { ctrlX: r, ctrlY: c } = n, { ctrlX: l, ctrlY: u } = o, { x: d, y: a } = q(o);
1899
- e.P2.style.cssText = `top:${c}px;left:${r}px;`, e.P3.style.cssText = `top:${u}px;left:${l}px;`, N(e.line1, {
1900
+ let { x: s, y: i } = q(n), { ctrlX: r, ctrlY: l } = n, { ctrlX: c, ctrlY: u } = o, { x: d, y: a } = q(o);
1901
+ e.P2.style.cssText = `top:${l}px;left:${r}px;`, e.P3.style.cssText = `top:${u}px;left:${c}px;`, N(e.line1, {
1900
1902
  x1: s + "",
1901
1903
  y1: i + "",
1902
1904
  x2: r + "",
1903
- y2: c + ""
1905
+ y2: l + ""
1904
1906
  }), N(e.line2, {
1905
- x1: l + "",
1907
+ x1: c + "",
1906
1908
  y1: u + "",
1907
1909
  x2: d + "",
1908
1910
  y2: a + ""
1909
1911
  }), e.helper1 && (e.helper1.destory(e.map), (p = e.helper2) == null || p.destory(e.map)), e.helper1 = Le.create(e.P2), e.helper2 = Le.create(e.P3), e.helper1.init(e.map, (g, f) => {
1910
1912
  var y;
1911
- r = r + g / e.scaleVal, c = c + f / e.scaleVal;
1912
- const m = q({ ...n, ctrlX: r, ctrlY: c });
1913
+ r = r + g / e.scaleVal, l = l + f / e.scaleVal;
1914
+ const m = q({ ...n, ctrlX: r, ctrlY: l });
1913
1915
  s = m.x, i = m.y;
1914
- const h = s / 8 + r * 3 / 8 + l * 3 / 8 + d / 8, v = i / 8 + c * 3 / 8 + u * 3 / 8 + a / 8;
1915
- e.P2.style.top = c + "px", e.P2.style.left = r + "px", (y = e.currentArrow) == null || y.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${c} ${l} ${u} ${d} ${a}`), N(e.currentArrow.children[2], {
1916
+ const h = s / 8 + r * 3 / 8 + c * 3 / 8 + d / 8, v = i / 8 + l * 3 / 8 + u * 3 / 8 + a / 8;
1917
+ e.P2.style.top = l + "px", e.P2.style.left = r + "px", (y = e.currentArrow) == null || y.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${l} ${c} ${u} ${d} ${a}`), N(e.currentArrow.children[2], {
1916
1918
  x: h + "",
1917
1919
  y: v + ""
1918
1920
  }), N(e.line1, {
1919
1921
  x1: s + "",
1920
1922
  y1: i + "",
1921
1923
  x2: r + "",
1922
- y2: c + ""
1923
- }), t.delta1.x = r - n.cx, t.delta1.y = c - n.cy;
1924
+ y2: l + ""
1925
+ }), t.delta1.x = r - n.cx, t.delta1.y = l - n.cy;
1924
1926
  }), e.helper2.init(e.map, (g, f) => {
1925
1927
  var b, x;
1926
- l = l + g / e.scaleVal, u = u + f / e.scaleVal;
1927
- const m = q({ ...o, ctrlX: l, ctrlY: u });
1928
+ c = c + g / e.scaleVal, u = u + f / e.scaleVal;
1929
+ const m = q({ ...o, ctrlX: c, ctrlY: u });
1928
1930
  d = m.x, a = m.y;
1929
- const h = s / 8 + r * 3 / 8 + l * 3 / 8 + d / 8, v = i / 8 + c * 3 / 8 + u * 3 / 8 + a / 8, y = Pe(l, u, d, a);
1930
- e.P3.style.top = u + "px", e.P3.style.left = l + "px", (b = e.currentArrow) == null || b.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${c} ${l} ${u} ${d} ${a}`), (x = e.currentArrow) == null || x.children[1].setAttribute("d", `M ${y.x1} ${y.y1} L ${d} ${a} L ${y.x2} ${y.y2}`), N(e.currentArrow.children[2], {
1931
+ const h = s / 8 + r * 3 / 8 + c * 3 / 8 + d / 8, v = i / 8 + l * 3 / 8 + u * 3 / 8 + a / 8, y = Pe(c, u, d, a);
1932
+ e.P3.style.top = u + "px", e.P3.style.left = c + "px", (b = e.currentArrow) == null || b.children[0].setAttribute("d", `M ${s} ${i} C ${r} ${l} ${c} ${u} ${d} ${a}`), (x = e.currentArrow) == null || x.children[1].setAttribute("d", `M ${y.x1} ${y.y1} L ${d} ${a} L ${y.x2} ${y.y2}`), N(e.currentArrow.children[2], {
1931
1933
  x: h + "",
1932
1934
  y: v + ""
1933
1935
  }), N(e.line2, {
1934
- x1: l + "",
1936
+ x1: c + "",
1935
1937
  y1: u + "",
1936
1938
  x2: d + "",
1937
1939
  y2: a + ""
1938
- }), t.delta2.x = l - o.cx, t.delta2.y = u - o.cy;
1940
+ }), t.delta2.x = c - o.cx, t.delta2.y = u - o.cy;
1939
1941
  });
1940
1942
  };
1941
1943
  function $n() {
@@ -1975,7 +1977,7 @@ const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1975
1977
  tidyArrow: Pn,
1976
1978
  unselectArrow: Dn
1977
1979
  }, Symbol.toStringTag, { value: "Module" })), Hn = function(e) {
1978
- var l, u;
1980
+ var c, u;
1979
1981
  if (e.length === 0)
1980
1982
  throw new Error("No selected node.");
1981
1983
  if (e.length === 1) {
@@ -2002,18 +2004,18 @@ const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2002
2004
  let o = 0;
2003
2005
  e:
2004
2006
  for (; o < t; o++) {
2005
- const d = (l = n[0][o]) == null ? void 0 : l.node;
2007
+ const d = (c = n[0][o]) == null ? void 0 : c.node;
2006
2008
  for (let a = 1; a < n.length; a++)
2007
2009
  if (((u = n[a][o]) == null ? void 0 : u.node) !== d)
2008
2010
  break e;
2009
2011
  }
2010
2012
  if (!o)
2011
2013
  throw new Error("Can not select root node.");
2012
- const s = n.map((d) => d[o - 1].index).sort(), i = s[0] || 0, r = s[s.length - 1] || 0, c = n[0][o - 1].node;
2013
- if (!c.parent)
2014
+ const s = n.map((d) => d[o - 1].index).sort(), i = s[0] || 0, r = s[s.length - 1] || 0, l = n[0][o - 1].node;
2015
+ if (!l.parent)
2014
2016
  throw new Error("Please select nodes in the same main topic.");
2015
2017
  return {
2016
- parent: c.id,
2018
+ parent: l.id,
2017
2019
  start: i,
2018
2020
  end: r
2019
2021
  };
@@ -2044,13 +2046,13 @@ const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2044
2046
  return o.parent ? s = (i = n.closest("me-main")) == null ? void 0 : i.className : s = (r = C(o.children[t].id).closest("me-main")) == null ? void 0 : r.className, s;
2045
2047
  }, Qe = function(e, t) {
2046
2048
  var S;
2047
- const { id: n, text: o, parent: s, start: i, end: r } = t, c = e.nodes, u = C(s).nodeObj, d = Fn(t);
2049
+ const { id: n, text: o, parent: s, start: i, end: r } = t, l = e.nodes, u = C(s).nodeObj, d = Fn(t);
2048
2050
  let a = 1 / 0, p = 0, g = 0, f = 0;
2049
2051
  for (let O = i; O <= r; O++) {
2050
2052
  const W = (S = u.children) == null ? void 0 : S[O];
2051
2053
  if (!W)
2052
2054
  return e.removeSummary(n), null;
2053
- const P = Rn(W.id), { offsetLeft: J, offsetTop: ve } = $(c, P);
2055
+ const P = Rn(W.id), { offsetLeft: J, offsetTop: ve } = $(l, P);
2054
2056
  O === i && (g = ve + 20), O === r && (f = ve + P.offsetHeight - 20), J < a && (a = J), P.offsetWidth + J > p && (p = P.offsetWidth + J);
2055
2057
  }
2056
2058
  let m, h;
@@ -2132,23 +2134,23 @@ function Jn(e, t, n, o) {
2132
2134
  const s = document.createElementNS(M, "g");
2133
2135
  let i = "";
2134
2136
  return e.text ? i = e.text.textContent : i = e.childNodes[0].textContent, i.split(`
2135
- `).forEach((c, l) => {
2137
+ `).forEach((l, c) => {
2136
2138
  const u = document.createElementNS(M, "text");
2137
2139
  N(u, {
2138
2140
  x: n + parseInt(t.paddingLeft) + "",
2139
- y: o + parseInt(t.paddingTop) + Gn(t.lineHeight, t.fontSize) * (l + 1) + parseFloat(t.fontSize) * (l + 1) + "",
2141
+ y: o + parseInt(t.paddingTop) + Gn(t.lineHeight, t.fontSize) * (c + 1) + parseFloat(t.fontSize) * (c + 1) + "",
2140
2142
  "text-anchor": "start",
2141
2143
  "font-family": t.fontFamily,
2142
2144
  "font-size": `${t.fontSize}`,
2143
2145
  "font-weight": `${t.fontWeight}`,
2144
2146
  fill: `${t.color}`
2145
- }), u.innerHTML = c, s.appendChild(u);
2147
+ }), u.innerHTML = l, s.appendChild(u);
2146
2148
  }), s;
2147
2149
  }
2148
2150
  function Zn(e, t, n, o) {
2149
- var c;
2151
+ var l;
2150
2152
  let s = "";
2151
- (c = e.nodeObj) != null && c.dangerouslySetInnerHTML ? s = e.nodeObj.dangerouslySetInnerHTML : e.text ? s = e.text.textContent : s = e.childNodes[0].textContent;
2153
+ (l = e.nodeObj) != null && l.dangerouslySetInnerHTML ? s = e.nodeObj.dangerouslySetInnerHTML : e.text ? s = e.text.textContent : s = e.childNodes[0].textContent;
2152
2154
  const i = document.createElementNS(M, "foreignObject");
2153
2155
  N(i, {
2154
2156
  x: n + parseInt(t.paddingLeft) + "",
@@ -2189,10 +2191,10 @@ function ee(e, t, n = !1) {
2189
2191
  stroke: o.borderColor,
2190
2192
  "stroke-width": o.borderWidth
2191
2193
  });
2192
- const c = document.createElementNS(M, "g");
2193
- c.appendChild(r);
2194
- let l;
2195
- return n ? l = Zn(t, o, s, i) : l = Jn(t, o, s, i), c.appendChild(l), c;
2194
+ const l = document.createElementNS(M, "g");
2195
+ l.appendChild(r);
2196
+ let c;
2197
+ return n ? c = Zn(t, o, s, i) : c = Jn(t, o, s, i), l.appendChild(c), l;
2196
2198
  }
2197
2199
  function eo(e, t) {
2198
2200
  const n = getComputedStyle(t), { offsetLeft: o, offsetTop: s } = $(e.nodes, t), i = document.createElementNS(M, "a"), r = document.createElementNS(M, "text");
@@ -2218,19 +2220,19 @@ function to(e, t) {
2218
2220
  }
2219
2221
  const te = 100, no = '<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">', oo = (e, t = !1) => {
2220
2222
  var a, p, g;
2221
- const n = e.nodes, o = n.offsetHeight + te * 2, s = n.offsetWidth + te * 2, i = Xn(o + "px", s + "px"), r = document.createElementNS(M, "svg"), c = document.createElementNS(M, "rect");
2222
- N(c, {
2223
+ const n = e.nodes, o = n.offsetHeight + te * 2, s = n.offsetWidth + te * 2, i = Xn(o + "px", s + "px"), r = document.createElementNS(M, "svg"), l = document.createElementNS(M, "rect");
2224
+ N(l, {
2223
2225
  x: "0",
2224
2226
  y: "0",
2225
2227
  width: `${s}`,
2226
2228
  height: `${o}`,
2227
2229
  fill: e.theme.cssVar["--bgcolor"]
2228
- }), i.appendChild(c), n.querySelectorAll(".subLines").forEach((f) => {
2230
+ }), i.appendChild(l), n.querySelectorAll(".subLines").forEach((f) => {
2229
2231
  const m = f.cloneNode(!0), { offsetLeft: h, offsetTop: v } = $(n, f.parentElement);
2230
2232
  m.setAttribute("x", `${h}`), m.setAttribute("y", `${v}`), r.appendChild(m);
2231
2233
  });
2232
- const l = (a = n.querySelector(".lines")) == null ? void 0 : a.cloneNode(!0);
2233
- l && r.appendChild(l);
2234
+ const c = (a = n.querySelector(".lines")) == null ? void 0 : a.cloneNode(!0);
2235
+ c && r.appendChild(c);
2234
2236
  const u = (p = n.querySelector(".topiclinks")) == null ? void 0 : p.cloneNode(!0);
2235
2237
  u && r.appendChild(u);
2236
2238
  const d = (g = n.querySelector(".summary")) == null ? void 0 : g.cloneNode(!0);
@@ -2263,18 +2265,18 @@ function io(e) {
2263
2265
  const ro = function(e = !1, t) {
2264
2266
  const n = oo(this, e), o = so(n, t);
2265
2267
  return new Blob([o], { type: "image/svg+xml" });
2266
- }, co = async function(e = !1, t) {
2268
+ }, lo = async function(e = !1, t) {
2267
2269
  const n = this.exportSvg(e, t), o = await io(n);
2268
2270
  return new Promise((s, i) => {
2269
2271
  const r = new Image();
2270
2272
  r.setAttribute("crossOrigin", "anonymous"), r.onload = () => {
2271
- const c = document.createElement("canvas");
2272
- c.width = r.width, c.height = r.height, c.getContext("2d").drawImage(r, 0, 0), c.toBlob(s, "image/png", 1);
2273
+ const l = document.createElement("canvas");
2274
+ l.width = r.width, l.height = r.height, l.getContext("2d").drawImage(r, 0, 0), l.toBlob(s, "image/png", 1);
2273
2275
  }, r.src = o, r.onerror = i;
2274
2276
  });
2275
- }, lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2277
+ }, co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2276
2278
  __proto__: null,
2277
- exportPng: co,
2279
+ exportPng: lo,
2278
2280
  exportSvg: ro
2279
2281
  }, Symbol.toStringTag, { value: "Module" }));
2280
2282
  function ao(e, t) {
@@ -2294,7 +2296,7 @@ const ho = {
2294
2296
  layout: it,
2295
2297
  linkDiv: pt,
2296
2298
  editTopic: ut,
2297
- createWrapper: lt,
2299
+ createWrapper: ct,
2298
2300
  createParent: at,
2299
2301
  createChildren: dt,
2300
2302
  createTopic: ht,
@@ -2304,35 +2306,35 @@ const ho = {
2304
2306
  ...et,
2305
2307
  ...Bn,
2306
2308
  ...Yn,
2307
- ...lo,
2309
+ ...co,
2308
2310
  init(e) {
2309
2311
  if (!e || !e.nodeData)
2310
2312
  return new Error("MindElixir: `data` is required");
2311
2313
  e.direction !== void 0 && (this.direction = e.direction), this.changeTheme(e.theme || this.theme, !1), this.nodeData = e.nodeData, D(this.nodeData), this.arrows = e.arrows || [], this.summaries = e.summaries || [], this.tidyArrow(), this.toolBar && Tt(this), this.keypress && wt(this), this.editable && Bt(this), this.contextMenu && this.disposable.push(mt(this, this.contextMenuOption)), this.draggable && Ct(this), this.allowUndo && _t(this), this.toCenter(), this.layout(), this.linkDiv();
2312
2314
  },
2313
2315
  destroy() {
2314
- var e, t;
2315
- this.disposable.forEach((n) => n()), (e = this.mindElixirBox) == null || e.remove(), this.mindElixirBox = void 0, this.nodeData = void 0, this.arrows = void 0, this.summaries = void 0, this.currentArrow = void 0, this.currentNode = void 0, this.currentNodes = void 0, this.currentSummary = void 0, this.waitCopy = void 0, this.theme = void 0, this.direction = void 0, this.bus = void 0, this.container = void 0, this.map = void 0, this.lines = void 0, this.linkController = void 0, this.linkSvgGroup = void 0, this.P2 = void 0, this.P3 = void 0, this.line1 = void 0, this.line2 = void 0, this.nodes = void 0, (t = this.selection) == null || t.destroy(), this.selection = void 0;
2316
+ var e;
2317
+ this.disposable.forEach((t) => t()), this.mindElixirBox && (this.mindElixirBox.innerHTML = ""), this.mindElixirBox = void 0, this.nodeData = void 0, this.arrows = void 0, this.summaries = void 0, this.currentArrow = void 0, this.currentNode = void 0, this.currentNodes = void 0, this.currentSummary = void 0, this.waitCopy = void 0, this.theme = void 0, this.direction = void 0, this.bus = void 0, this.container = void 0, this.map = void 0, this.lines = void 0, this.linkController = void 0, this.linkSvgGroup = void 0, this.P2 = void 0, this.P3 = void 0, this.line1 = void 0, this.line2 = void 0, this.nodes = void 0, (e = this.selection) == null || e.destroy(), this.selection = void 0;
2316
2318
  }
2317
2319
  };
2318
- function uo({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: c, direction: l, containerHeight: u }) {
2320
+ function uo({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: l, direction: c, containerHeight: u }) {
2319
2321
  let d = t + n / 2;
2320
2322
  const a = e + o / 2;
2321
2323
  let p;
2322
- l === "lhs" ? p = i + r : p = i;
2323
- const g = s + c / 2, m = (1 - Math.abs(g - a) / u) * 0.25 * (n / 2);
2324
- return l === "lhs" ? d = d - n / 10 - m : d = d + n / 10 + m, `M ${d} ${a} Q ${d} ${g} ${p} ${g}`;
2324
+ c === "lhs" ? p = i + r : p = i;
2325
+ const g = s + l / 2, m = (1 - Math.abs(g - a) / u) * 0.25 * (n / 2);
2326
+ return c === "lhs" ? d = d - n / 10 - m : d = d + n / 10 + m, `M ${d} ${a} Q ${d} ${g} ${p} ${g}`;
2325
2327
  }
2326
- function fo({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: c, direction: l, isFirst: u }) {
2328
+ function fo({ pT: e, pL: t, pW: n, pH: o, cT: s, cL: i, cW: r, cH: l, direction: c, isFirst: u }) {
2327
2329
  const d = parseInt(this.mindElixirBox.style.getPropertyValue("--gap"));
2328
2330
  let a = 0, p = 0;
2329
2331
  u ? a = e + o / 2 : a = e + o;
2330
- const g = s + c;
2332
+ const g = s + l;
2331
2333
  let f = 0, m = 0, h = 0;
2332
2334
  const v = Math.abs(a - g) / 300 * d;
2333
- return l === "lhs" ? (h = t, f = h + d, m = h - d, p = i + d, `M ${f} ${a} C ${h} ${a} ${h + v} ${g} ${m} ${g} H ${p}`) : (h = t + n, f = h - d, m = h + d, p = i + r - d, `M ${f} ${a} C ${h} ${a} ${h - v} ${g} ${m} ${g} H ${p}`);
2335
+ return c === "lhs" ? (h = t, f = h + d, m = h - d, p = i + d, `M ${f} ${a} C ${h} ${a} ${h + v} ${g} ${m} ${g} H ${p}`) : (h = t + n, f = h - d, m = h + d, p = i + r - d, `M ${f} ${a} C ${h} ${a} ${h - v} ${g} ${m} ${g} H ${p}`);
2334
2336
  }
2335
- const po = "4.3.0", U = document;
2337
+ const po = "4.3.2", U = document;
2336
2338
  function A({
2337
2339
  el: e,
2338
2340
  direction: t,
@@ -2341,8 +2343,8 @@ function A({
2341
2343
  editable: s,
2342
2344
  contextMenu: i,
2343
2345
  contextMenuOption: r,
2344
- toolBar: c,
2345
- keypress: l,
2346
+ toolBar: l,
2347
+ keypress: c,
2346
2348
  mouseSelectionButton: u,
2347
2349
  selectionContainer: d,
2348
2350
  before: a,
@@ -2357,7 +2359,7 @@ function A({
2357
2359
  const b = Object.prototype.toString.call(e);
2358
2360
  if (b === "[object HTMLDivElement]" ? y = e : b === "[object String]" && (y = document.querySelector(e)), !y)
2359
2361
  throw new Error("MindElixir: el is not a valid element");
2360
- y.className += " mind-elixir", y.innerHTML = "", this.mindElixirBox = y, this.disposable = [], this.before = a || {}, this.locale = n || "en", this.contextMenuOption = r, this.contextMenu = i === void 0 ? !0 : i, this.toolBar = c === void 0 ? !0 : c, this.keypress = l === void 0 ? !0 : l, this.mouseSelectionButton = u || 0, this.direction = typeof t == "number" ? t : 1, this.draggable = o === void 0 ? !0 : o, this.newTopicName = p || "new node", this.editable = s === void 0 ? !0 : s, this.allowUndo = g === void 0 ? !1 : g, this.currentNode = null, this.currentArrow = null, this.scaleVal = 1, this.tempDirection = null, this.generateMainBranch = f || uo, this.generateSubBranch = m || fo, this.overflowHidden = h || !1, this.bus = st.create(), this.container = U.createElement("div"), this.selectionContainer = d || this.container, this.container.className = "map-container";
2362
+ y.className += " mind-elixir", y.innerHTML = "", this.mindElixirBox = y, this.disposable = [], this.before = a || {}, this.locale = n || "en", this.contextMenuOption = r, this.contextMenu = i === void 0 ? !0 : i, this.toolBar = l === void 0 ? !0 : l, this.keypress = c === void 0 ? !0 : c, this.mouseSelectionButton = u || 0, this.direction = typeof t == "number" ? t : 1, this.draggable = o === void 0 ? !0 : o, this.newTopicName = p || "new node", this.editable = s === void 0 ? !0 : s, this.allowUndo = g === void 0 ? !1 : g, this.currentNode = null, this.currentArrow = null, this.scaleVal = 1, this.tempDirection = null, this.generateMainBranch = f || uo, this.generateSubBranch = m || fo, this.overflowHidden = h || !1, this.bus = st.create(), this.container = U.createElement("div"), this.selectionContainer = d || this.container, this.container.className = "map-container";
2361
2363
  const x = window.matchMedia("(prefers-color-scheme: dark)");
2362
2364
  this.theme = v || (x.matches ? Oe : $e);
2363
2365
  const w = U.createElement("div");