@codernote/record-tree 2.8.7 → 2.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +396 -390
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,45 +1,45 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.color-panel[data-v-d2cde42f]{background:#fff;border:1px solid #f2f2f2;width:164px;padding:5px 5px 0}.color-panel ul[data-v-d2cde42f]{list-style-type:none;margin:0}.color-panel ul li[data-v-d2cde42f]{display:inline-block;margin:0 5px;width:20px;height:20px;border-radius:100%;border:1px solid #f2f2f2;display:inline-flex;align-items:center;justify-content:center}.node-complex[data-v-6cfd6a1b]{display:flex;flex-direction:row;align-self:center;outline:none}.holder[data-v-6cfd6a1b]{width:0px;overflow:hidden;border-width:1px;border-style:solid;border-color:transparent;outline:none}.node-element[data-v-6cfd6a1b]{display:inline-block;position:relative;margin:5px 1px}.node-element:hover .node-del[data-v-6cfd6a1b]{display:block}.node-image img[data-v-6cfd6a1b]{outline:none}.node-audio[data-v-6cfd6a1b]{width:300px}.node-audio audio[data-v-6cfd6a1b]{width:300px;outline:none}.node-video video[data-v-6cfd6a1b]{outline:none;-o-object-fit:cover;object-fit:cover;background-color:#000}.node-del[data-v-6cfd6a1b]{cursor:pointer;display:none;width:15px;height:15px;position:absolute;top:-3px;right:-3px;background-color:#e6f7ff;background-size:100% 100%;border-radius:50%}.node-del[data-v-6cfd6a1b]:before,.node-del[data-v-6cfd6a1b]:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:10px;background-color:#595959}.node-del[data-v-6cfd6a1b]:before{transform:translate(-50%,-50%) rotate(45deg)}.node-del[data-v-6cfd6a1b]:after{transform:translate(-50%,-50%) rotate(-45deg)}.node-file-wrap[data-v-6cfd6a1b]{width:260px;padding:10px 16px;display:flex;background:#f2f2f2;border-radius:5px;justify-content:center;align-items:center}.node-file-left[data-v-6cfd6a1b]{flex:1}.node-file-left h6[data-v-6cfd6a1b]{font-size:14px;font-weight:700;margin:0 0 5px;padding:0;white-space:nowrap}.node-file-left p[data-v-6cfd6a1b]{margin:0;padding:0;font-size:12px;color:#999}.node-file-right a[data-v-6cfd6a1b]{color:#52a770;font-size:14px}@keyframes blinkBorder-6cfd6a1b{0%,to{border-color:transparent}50%{border-color:#333}}.node-complex .holder[data-v-6cfd6a1b]:focus{animation:blinkBorder-6cfd6a1b 1s infinite}.fullscreen-handle[data-v-6cfd6a1b]{width:15px;height:15px;position:absolute;bottom:0;right:16px;cursor:pointer;background:#fff9}.resize-handle[data-v-6cfd6a1b]{width:15px;height:15px;position:absolute;bottom:0;right:0;cursor:se-resize;transform:rotate(90deg);background:#fff9}.resize-handle svg[data-v-6cfd6a1b]{cursor:se-resize}.media-placeholder[data-v-6cfd6a1b]{-o-object-fit:contain;object-fit:contain;border:1px dashed #d0d0d0;border-radius:4px;background:#fafafa;display:flex;align-items:center;justify-content:center;width:50px;height:50px}.media-placeholder img[data-v-6cfd6a1b]{width:20px;height:20px;animation:bounce-6cfd6a1b 1s ease-in-out infinite}.media-fail[data-v-6cfd6a1b]{-o-object-fit:contain;object-fit:contain;border-radius:4px;display:flex;align-items:center;justify-content:center}.media-fail img[data-v-6cfd6a1b]{width:40px;height:40px}@keyframes bounce-6cfd6a1b{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.ProseMirror{outline:none}.node-div[data-v-40ce1bbb]{display:flex;align-items:center;position:relative;margin-bottom:8px}.node-div>div[data-v-40ce1bbb]{flex:1}.node-icon[data-v-40ce1bbb]{touch-action:manipulation;position:relative;width:21px;height:21px;border-radius:100%;box-sizing:border-box;border:5px solid #fff;background-color:#fff;cursor:pointer;align-self:flex-start}.node-icon-with-children[data-v-40ce1bbb]:before{content:"";position:absolute;top:-20px;right:-30px;bottom:-10px;left:-20px;z-index:5}.node-icon-todo[data-v-40ce1bbb]{border-radius:0}.node-icon .node-circle[data-v-40ce1bbb]{display:block;position:absolute;width:7px;height:7px;left:50%;top:50%;transform:translate(-50%) translateY(-50%);border-radius:10px;background-color:#eee}.node-finished[data-v-40ce1bbb]{text-decoration:line-through;color:#999}.node-ul[data-v-dc61c4c0]{display:grid;grid-template-rows:1fr;transition:.25s grid-template-rows ease}.node-ul ul[data-v-dc61c4c0]{background-color:#fff;margin:0;padding:0;list-style:none;overflow:hidden}.node-li[data-v-dc61c4c0]{padding:0;list-style:none;margin:0;line-height:1.5;position:relative;overflow:hidden}[data-v-dc61c4c0] .sublevel .node-li{margin-left:15px}[data-v-dc61c4c0] .drag-over-top:before{content:"";width:100%;height:1px;top:0;background-color:#eee;position:absolute;z-index:100}[data-v-dc61c4c0] .drag-over-center{background-color:#eee}[data-v-dc61c4c0] .drag-over-bottom:after{content:"";width:100%;height:1px;background-color:#eee;position:absolute;bottom:0;z-index:100}[data-v-dc61c4c0] .has-child:not(.collapsed) .drag-over-bottom:after{left:15px}.collapsed>.node-ul[data-v-dc61c4c0]{grid-template-rows:0fr}[data-v-dc61c4c0] .collapsed .node-icon .node-line{display:none}[data-v-dc61c4c0] .collapsed.has-child>.node-div>.node-icon{background-color:#ddd}.tree-title[data-v-dc61c4c0]{padding-left:25px;font-weight:700;outline:none;font-size:1.125rem;line-height:1.5;width:100%}[data-v-dc61c4c0] .node-li.has-child.collapsed .node-icon:after{background-color:#aaa}[data-v-dc61c4c0] .node-li.dragging .node-icon .node-line{display:none}[data-v-dc61c4c0] .has-child>.node-div>.node-icon .node-line{content:"";position:absolute;top:20px;left:50%;height:9999px;width:1px;background-color:#f2f2f2}[data-v-dc61c4c0] .has-child>.node-div>.node-icon:hover .node-line{background-color:var(--line-color)}.dragging-image{max-width:300px;opacity:.5}.record-tree-popper-content{display:flex;flex-wrap:wrap;padding:10px;box-shadow:0 2px 12px #1d1c1c1f;border:1px solid rgba(29,28,28,.12);border-radius:5px;overflow:hidden;background:#fff;z-index:9999}.record-tree-popper-content-item{padding:8px 10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.record-tree-popper-content-item.active{background:#f2f2f2}.record-tree-title-bar{position:relative;display:flex;padding:3px 0 5px}.record-tree-title{padding-left:25px;font-weight:700;outline:none;font-size:18px;line-height:1.5;width:100%}.record-tree-popper-reference{display:flex;position:absolute;top:0;left:0;text-align:center;border-radius:9999px;color:#fff}.record-tree-empty-icon{display:inline-block;border-radius:9999px}.record-tree-title .node-text{margin-left:0!important}.record-tree-title-bar .popper{transform:translate3d(0,22px,0)!important}.record-tree-title-finished{text-decoration:line-through;color:#999}.record-audio[data-v-e59bd63b]{position:absolute;background:#fff;padding:20px;width:400px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.record-audio .recwave[data-v-e59bd63b]{width:300px;height:40px}.record-audio .audio-item[data-v-e59bd63b]{margin-top:10px;display:flex;align-items:center}.record-audio .audio-item a[data-v-e59bd63b]{color:#52a770;margin-left:10px;font-size:12px;cursor:pointer}.record-audio .audio-text[data-v-e59bd63b]{background:#f5f5f5;margin-top:10px;padding:8px 12px;border-radius:5px}.record-audio .buttons[data-v-e59bd63b]{margin-top:10px;display:flex;align-items:center}.record-audio .buttons .btn[data-v-e59bd63b]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.record-audio .buttons .finish[data-v-e59bd63b]{color:#fff;background:#1677ff;border:1px solid #1677ff}.record-audio .buttons .disabled[data-v-e59bd63b]{background:#eee;cursor:default;border-color:#eee}.record-audio .buttons .cancel[data-v-e59bd63b]{border:1px solid #eee}.record-audio .buttons .oper[data-v-e59bd63b]{margin-right:10px}.record-audio .main[data-v-e59bd63b]{display:flex;align-items:center}.record-audio .duration[data-v-e59bd63b]{width:60px;margin-left:10px;color:#999;font-size:12px}.wrap[data-v-e59bd63b]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-e59bd63b]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-audio-mobile[data-v-e59bd63b]{display:flex;width:100vw;position:absolute;background:#fff;padding:20px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:999;align-items:center}.record-audio-mobile .recwave[data-v-e59bd63b]{flex:1;height:30px}.record-audio-mobile .oper[data-v-e59bd63b]{margin-right:10px}.record-video[data-v-9c809fcc]{position:absolute;background:#fff;padding:20px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.video-item[data-v-9c809fcc]{width:300px}.buttons[data-v-9c809fcc]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-9c809fcc]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-9c809fcc]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-9c809fcc]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-9c809fcc]{border:1px solid #eee}.buttons .oper[data-v-9c809fcc]{margin-right:10px}.wrap[data-v-9c809fcc]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-9c809fcc]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-video[data-v-69fc6ef1]{position:absolute;background:#fff;padding:20px;left:50%;top:50%;width:452px;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.video-item[data-v-69fc6ef1]{width:200px}.img-item[data-v-69fc6ef1]{width:200px;height:150px;border:1px dashed #eee;margin-left:10px}.img-item img[data-v-69fc6ef1]{width:200px}.record-content[data-v-69fc6ef1]{display:flex}.buttons[data-v-69fc6ef1]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-69fc6ef1]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-69fc6ef1]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-69fc6ef1]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-69fc6ef1]{border:1px solid #eee}.buttons .oper[data-v-69fc6ef1]{margin-right:10px}.wrap[data-v-69fc6ef1]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-69fc6ef1]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-tree-mobile .record-tree{height:calc(100vh - 45px);overflow-y:scroll}.record-tree-mobile .record-tree-main{padding-left:0;padding-right:0}.record-tree-mobile .record-tree-options{padding:12px 0;display:flex;position:fixed}.record-tree-mobile .node-icon{margin-right:8px;border:3px solid #fff}.record-tree-mobile .node-icon .node-circle{width:10px;height:10px}.record-tree-mobile .node-file-wrap{width:200px}.record-tree-mobile .node-file-right{display:none}.record-tree-mobile .node-image img{width:auto;max-height:80px}.record-tree-mobile .node-audio,.record-tree-mobile .node-video{width:200px}.record-tree-mobile .node-audio audio{width:200px;outline:none}.record-tree-mobile .node-video video{width:200px;outline:none}.record-tree-container{position:relative;height:100%}.record-tree-main{padding-left:15px;padding-right:15px;overflow:scroll;flex:1}.record-tree{position:relative;padding-bottom:40px;display:flex;flex-direction:column;overflow:hidden;height:100%}.record-tree.record-tree-nobar{padding-bottom:0}.record-tree-options{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:space-between;padding:5px 0;background:#fff;border-top:1px dotted #ddd;align-items:center}.record-tree-option-left{display:flex;flex:1}.record-tree-option-left-fixed{display:flex;position:relative;align-items:center;padding:0 10px}.record-tree-option-left-fixed:after{content:"";position:absolute;right:0;width:1px;background:#eee;height:20px;top:50%;transform:translateY(-50%)}.record-tree-option-left-scroll{display:flex;padding:0 10px;flex:1;align-items:center}.record-tree-option-left-scroll::-webkit-scrollbar{display:none}.record-tree-option-left-scroll-mobile{overflow-x:scroll}.record-tree-option-right{display:flex;align-items:center;justify-content:center;padding:0 10px;font-size:16px;position:relative}.record-tree-option-right:before{content:"";position:absolute;left:0;width:1px;background:#eee;height:20px;top:50%;transform:translateY(-50%)}.record-tree-option-item{margin:0 5px;cursor:pointer;display:flex;justify-content:center;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}img:fullscreen{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;-o-object-fit:contain;object-fit:contain}.record-tree .node-text{flex:1;border:none;outline:none;word-break:break-all;overflow:hidden;-webkit-user-select:text;-moz-user-select:text;user-select:text}.record-tree .node-text a{color:#0076ff;cursor:pointer}.record-tree .node-text mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}.record-tree .node-text p{line-height:1.3}.date-popover{display:block;padding:5px 10px;background:#333;border-radius:4px;position:fixed;z-index:9999;transform:translate(-50%,-120%);font-size:12px;color:#666;text-align:center;transition:opacity .3s;color:#fff}.date-popover:after{content:"";position:absolute;top:95%;left:50%;transform:translate(-50%);border-width:6px;border-style:solid;border-color:#333 transparent transparent transparent}.date-popover.date-popover--bottom{transform:translate(-50%,20%)}.date-popover.date-popover--bottom:after{top:auto;bottom:95%;border-color:transparent transparent #333 transparent}.tiptap p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.top-bar{display:flex}.top-bar-left{flex:1}.top-bar-right{width:80px;display:flex;justify-content:center;align-items:center}.record-tree-lock{position:absolute;left:0;right:0;top:0;background:#fff;opacity:.5;pointer-events:none;height:100%}.record-tree-clipboard{position:fixed;left:0;top:0;right:0;display:flex;justify-content:space-between;background:#eee;padding:8px 20px;z-index:999}.record-tree-clipboard-text{flex:1;font-size:12px;color:#333;min-width:0}.record-tree-clipboard-text p{color:#999}.record-tree-clipboard-text div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.record-tree-clipboard-operation{display:flex;align-items:center;justify-content:center}.record-tree-context-menu{position:fixed;z-index:10000;background:#fff;border-radius:6px;box-shadow:0 2px 12px #00000026;padding:4px 0;min-width:120px}.record-tree-context-menu .context-menu-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;font-size:14px;color:#333;transition:background-color .2s}.record-tree-context-menu .context-menu-item:hover{background-color:#f5f5f5}.record-tree-context-menu .context-menu-item svg{margin-right:8px}.record-tree-context-menu .context-menu-item span{white-space:nowrap}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { openBlock as tt, createElementBlock as ut, createElementVNode as Ze, createVNode as bt, unref as We, Fragment as S0, renderList as T0, normalizeStyle as Pt, reactive as Ia, ref as ot, watch as Wt, withModifiers as Dt, normalizeClass as Ot, createCommentVNode as Tt, toDisplayString as Jt, nextTick as Ht, onMounted as G0, onBeforeUnmount as q0, createBlock as Ut, onUnmounted as _0, computed as e0, resolveComponent as Oa, createSlots as ca, withCtx as M0, pushScopeId as Fa, popScopeId as Na, Teleport as Ha } from "vue";
3
- import da from "vue3-popper";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.color-panel[data-v-d2cde42f]{background:#fff;border:1px solid #f2f2f2;width:164px;padding:5px 5px 0}.color-panel ul[data-v-d2cde42f]{list-style-type:none;margin:0}.color-panel ul li[data-v-d2cde42f]{display:inline-block;margin:0 5px;width:20px;height:20px;border-radius:100%;border:1px solid #f2f2f2;display:inline-flex;align-items:center;justify-content:center}.node-complex[data-v-6cfd6a1b]{display:flex;flex-direction:row;align-self:center;outline:none}.holder[data-v-6cfd6a1b]{width:0px;overflow:hidden;border-width:1px;border-style:solid;border-color:transparent;outline:none}.node-element[data-v-6cfd6a1b]{display:inline-block;position:relative;margin:5px 1px}.node-element:hover .node-del[data-v-6cfd6a1b]{display:block}.node-image img[data-v-6cfd6a1b]{outline:none}.node-audio[data-v-6cfd6a1b]{width:300px}.node-audio audio[data-v-6cfd6a1b]{width:300px;outline:none}.node-video video[data-v-6cfd6a1b]{outline:none;-o-object-fit:cover;object-fit:cover;background-color:#000}.node-del[data-v-6cfd6a1b]{cursor:pointer;display:none;width:15px;height:15px;position:absolute;top:-3px;right:-3px;background-color:#e6f7ff;background-size:100% 100%;border-radius:50%}.node-del[data-v-6cfd6a1b]:before,.node-del[data-v-6cfd6a1b]:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:10px;background-color:#595959}.node-del[data-v-6cfd6a1b]:before{transform:translate(-50%,-50%) rotate(45deg)}.node-del[data-v-6cfd6a1b]:after{transform:translate(-50%,-50%) rotate(-45deg)}.node-file-wrap[data-v-6cfd6a1b]{width:260px;padding:10px 16px;display:flex;background:#f2f2f2;border-radius:5px;justify-content:center;align-items:center}.node-file-left[data-v-6cfd6a1b]{flex:1}.node-file-left h6[data-v-6cfd6a1b]{font-size:14px;font-weight:700;margin:0 0 5px;padding:0;white-space:nowrap}.node-file-left p[data-v-6cfd6a1b]{margin:0;padding:0;font-size:12px;color:#999}.node-file-right a[data-v-6cfd6a1b]{color:#52a770;font-size:14px}@keyframes blinkBorder-6cfd6a1b{0%,to{border-color:transparent}50%{border-color:#333}}.node-complex .holder[data-v-6cfd6a1b]:focus{animation:blinkBorder-6cfd6a1b 1s infinite}.fullscreen-handle[data-v-6cfd6a1b]{width:15px;height:15px;position:absolute;bottom:0;right:16px;cursor:pointer;background:#fff9}.resize-handle[data-v-6cfd6a1b]{width:15px;height:15px;position:absolute;bottom:0;right:0;cursor:se-resize;transform:rotate(90deg);background:#fff9}.resize-handle svg[data-v-6cfd6a1b]{cursor:se-resize}.media-placeholder[data-v-6cfd6a1b]{-o-object-fit:contain;object-fit:contain;border:1px dashed #d0d0d0;border-radius:4px;background:#fafafa;display:flex;align-items:center;justify-content:center;width:50px;height:50px}.media-placeholder img[data-v-6cfd6a1b]{width:20px;height:20px;animation:bounce-6cfd6a1b 1s ease-in-out infinite}.media-fail[data-v-6cfd6a1b]{-o-object-fit:contain;object-fit:contain;border-radius:4px;display:flex;align-items:center;justify-content:center}.media-fail img[data-v-6cfd6a1b]{width:40px;height:40px}@keyframes bounce-6cfd6a1b{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.ProseMirror{outline:none}.node-div[data-v-40ce1bbb]{display:flex;align-items:center;position:relative;margin-bottom:8px}.node-div>div[data-v-40ce1bbb]{flex:1}.node-icon[data-v-40ce1bbb]{touch-action:manipulation;position:relative;width:21px;height:21px;border-radius:100%;box-sizing:border-box;border:5px solid #fff;background-color:#fff;cursor:pointer;align-self:flex-start}.node-icon-with-children[data-v-40ce1bbb]:before{content:"";position:absolute;top:-20px;right:-30px;bottom:-10px;left:-20px;z-index:5}.node-icon-todo[data-v-40ce1bbb]{border-radius:0}.node-icon .node-circle[data-v-40ce1bbb]{display:block;position:absolute;width:7px;height:7px;left:50%;top:50%;transform:translate(-50%) translateY(-50%);border-radius:10px;background-color:#eee}.node-finished[data-v-40ce1bbb]{text-decoration:line-through;color:#999}.node-ul[data-v-dc61c4c0]{display:grid;grid-template-rows:1fr;transition:.25s grid-template-rows ease}.node-ul ul[data-v-dc61c4c0]{background-color:#fff;margin:0;padding:0;list-style:none;overflow:hidden}.node-li[data-v-dc61c4c0]{padding:0;list-style:none;margin:0;line-height:1.5;position:relative;overflow:hidden}[data-v-dc61c4c0] .sublevel .node-li{margin-left:15px}[data-v-dc61c4c0] .drag-over-top:before{content:"";width:100%;height:1px;top:0;background-color:#eee;position:absolute;z-index:100}[data-v-dc61c4c0] .drag-over-center{background-color:#eee}[data-v-dc61c4c0] .drag-over-bottom:after{content:"";width:100%;height:1px;background-color:#eee;position:absolute;bottom:0;z-index:100}[data-v-dc61c4c0] .has-child:not(.collapsed) .drag-over-bottom:after{left:15px}.collapsed>.node-ul[data-v-dc61c4c0]{grid-template-rows:0fr}[data-v-dc61c4c0] .collapsed .node-icon .node-line{display:none}[data-v-dc61c4c0] .collapsed.has-child>.node-div>.node-icon{background-color:#ddd}.tree-title[data-v-dc61c4c0]{padding-left:25px;font-weight:700;outline:none;font-size:1.125rem;line-height:1.5;width:100%}[data-v-dc61c4c0] .node-li.has-child.collapsed .node-icon:after{background-color:#aaa}[data-v-dc61c4c0] .node-li.dragging .node-icon .node-line{display:none}[data-v-dc61c4c0] .has-child>.node-div>.node-icon .node-line{content:"";position:absolute;top:20px;left:50%;height:9999px;width:1px;background-color:#f2f2f2}[data-v-dc61c4c0] .has-child>.node-div>.node-icon:hover .node-line{background-color:var(--line-color)}.dragging-image{max-width:300px;opacity:.5}.record-tree-popper-content{display:flex;flex-wrap:wrap;padding:10px;box-shadow:0 2px 12px #1d1c1c1f;border:1px solid rgba(29,28,28,.12);border-radius:5px;overflow:hidden;background:#fff;z-index:9999}.record-tree-popper-content-item{padding:8px 10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.record-tree-popper-content-item.active{background:#f2f2f2}.record-tree-title-bar{position:relative;display:flex;padding:3px 0 5px}.record-tree-title{padding-left:25px;font-weight:700;outline:none;font-size:18px;line-height:1.5;width:100%}.record-tree-popper-reference{display:flex;position:absolute;top:0;left:0;text-align:center;border-radius:9999px;color:#fff}.record-tree-empty-icon{display:inline-block;border-radius:9999px}.record-tree-title .node-text{margin-left:0!important}.record-tree-title-bar .popper{transform:translate3d(0,22px,0)!important}.record-tree-title-finished{text-decoration:line-through;color:#999}.record-audio[data-v-e59bd63b]{position:absolute;background:#fff;padding:20px;width:400px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.record-audio .recwave[data-v-e59bd63b]{width:300px;height:40px}.record-audio .audio-item[data-v-e59bd63b]{margin-top:10px;display:flex;align-items:center}.record-audio .audio-item a[data-v-e59bd63b]{color:#52a770;margin-left:10px;font-size:12px;cursor:pointer}.record-audio .audio-text[data-v-e59bd63b]{background:#f5f5f5;margin-top:10px;padding:8px 12px;border-radius:5px}.record-audio .buttons[data-v-e59bd63b]{margin-top:10px;display:flex;align-items:center}.record-audio .buttons .btn[data-v-e59bd63b]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.record-audio .buttons .finish[data-v-e59bd63b]{color:#fff;background:#1677ff;border:1px solid #1677ff}.record-audio .buttons .disabled[data-v-e59bd63b]{background:#eee;cursor:default;border-color:#eee}.record-audio .buttons .cancel[data-v-e59bd63b]{border:1px solid #eee}.record-audio .buttons .oper[data-v-e59bd63b]{margin-right:10px}.record-audio .main[data-v-e59bd63b]{display:flex;align-items:center}.record-audio .duration[data-v-e59bd63b]{width:60px;margin-left:10px;color:#999;font-size:12px}.wrap[data-v-e59bd63b]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-e59bd63b]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-audio-mobile[data-v-e59bd63b]{display:flex;width:100vw;position:absolute;background:#fff;padding:20px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:999;align-items:center}.record-audio-mobile .recwave[data-v-e59bd63b]{flex:1;height:30px}.record-audio-mobile .oper[data-v-e59bd63b]{margin-right:10px}.record-video[data-v-9c809fcc]{position:absolute;background:#fff;padding:20px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.video-item[data-v-9c809fcc]{width:300px}.buttons[data-v-9c809fcc]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-9c809fcc]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-9c809fcc]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-9c809fcc]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-9c809fcc]{border:1px solid #eee}.buttons .oper[data-v-9c809fcc]{margin-right:10px}.wrap[data-v-9c809fcc]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-9c809fcc]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-video[data-v-69fc6ef1]{position:absolute;background:#fff;padding:20px;left:50%;top:50%;width:452px;transform:translate(-50%,-50%);border-radius:10px;z-index:999;box-shadow:0 4px 6px #0000001a,0 1px 3px #00000014}.video-item[data-v-69fc6ef1]{width:200px}.img-item[data-v-69fc6ef1]{width:200px;height:150px;border:1px dashed #eee;margin-left:10px}.img-item img[data-v-69fc6ef1]{width:200px}.record-content[data-v-69fc6ef1]{display:flex}.buttons[data-v-69fc6ef1]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-69fc6ef1]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-69fc6ef1]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-69fc6ef1]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-69fc6ef1]{border:1px solid #eee}.buttons .oper[data-v-69fc6ef1]{margin-right:10px}.wrap[data-v-69fc6ef1]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-69fc6ef1]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-tree-mobile .record-tree{height:calc(100vh - 45px);overflow-y:scroll}.record-tree-mobile .record-tree-main{padding-left:0;padding-right:0}.record-tree-mobile .record-tree-options{padding:12px 0;display:flex;position:fixed}.record-tree-mobile .node-icon{margin-right:8px;border:3px solid #fff}.record-tree-mobile .node-icon .node-circle{width:10px;height:10px}.record-tree-mobile .node-file-wrap{width:200px}.record-tree-mobile .node-file-right{display:none}.record-tree-mobile .node-image img{width:auto;max-height:80px}.record-tree-mobile .node-audio,.record-tree-mobile .node-video{width:200px}.record-tree-mobile .node-audio audio{width:200px;outline:none}.record-tree-mobile .node-video video{width:200px;outline:none}.record-tree-container{position:relative;height:100%}.record-tree-main{padding-left:15px;padding-right:15px;overflow:scroll;flex:1}.record-tree{position:relative;padding-bottom:40px;display:flex;flex-direction:column;overflow:hidden;height:100%}.record-tree.record-tree-nobar{padding-bottom:0}.record-tree-options{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:space-between;padding:5px 0;background:#fff;border-top:1px dotted #ddd;align-items:center}.record-tree-option-left{display:flex;flex:1}.record-tree-option-left-fixed{display:flex;position:relative;align-items:center;padding:0 10px}.record-tree-option-left-fixed:after{content:"";position:absolute;right:0;width:1px;background:#eee;height:20px;top:50%;transform:translateY(-50%)}.record-tree-option-left-scroll{display:flex;padding:0 10px;flex:1;align-items:center}.record-tree-option-left-scroll::-webkit-scrollbar{display:none}.record-tree-option-left-scroll-mobile{overflow-x:scroll}.record-tree-option-right{display:flex;align-items:center;justify-content:center;padding:0 10px;font-size:16px;position:relative}.record-tree-option-right:before{content:"";position:absolute;left:0;width:1px;background:#eee;height:20px;top:50%;transform:translateY(-50%)}.record-tree-option-item{margin:0 5px;cursor:pointer;display:flex;justify-content:center;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}img:fullscreen{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;-o-object-fit:contain;object-fit:contain}.record-tree .node-text{flex:1;border:none;outline:none;word-break:break-all;overflow:hidden;-webkit-user-select:text;-moz-user-select:text;user-select:text}.record-tree .node-text a{color:#0076ff;cursor:pointer}.record-tree .node-text mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}.record-tree .node-text p{line-height:1.3}.date-popover{display:block;padding:5px 10px;background:#333;border-radius:4px;position:fixed;z-index:9999;transform:translate(-50%,-120%);font-size:12px;color:#666;text-align:center;transition:opacity .3s;color:#fff}.date-popover:after{content:"";position:absolute;top:95%;left:50%;transform:translate(-50%);border-width:6px;border-style:solid;border-color:#333 transparent transparent transparent}.date-popover.date-popover--bottom{transform:translate(-50%,20%)}.date-popover.date-popover--bottom:after{top:auto;bottom:95%;border-color:transparent transparent #333 transparent}.tiptap p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.top-bar{display:flex}.top-bar-left{flex:1}.top-bar-right{width:80px;display:flex;justify-content:center;align-items:center}.record-tree-lock{position:absolute;left:0;right:0;top:0;background:#fff;opacity:.3;pointer-events:none;height:100%}.record-tree-clipboard{position:fixed;left:0;top:0;right:0;display:flex;justify-content:space-between;background:#eee;padding:8px 20px;z-index:999}.record-tree-clipboard-text{flex:1;font-size:12px;color:#333;min-width:0}.record-tree-clipboard-text p{color:#999}.record-tree-clipboard-text div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.record-tree-clipboard-operation{display:flex;align-items:center;justify-content:center}.record-tree-context-menu{position:fixed;z-index:10000;background:#fff;border-radius:6px;box-shadow:0 2px 12px #00000026;padding:4px 0;min-width:120px}.record-tree-context-menu .context-menu-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;font-size:14px;color:#333;transition:background-color .2s}.record-tree-context-menu .context-menu-item:hover{background-color:#f5f5f5}.record-tree-context-menu .context-menu-item svg{margin-right:8px}.record-tree-context-menu .context-menu-item span{white-space:nowrap}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { openBlock as tt, createElementBlock as ct, createElementVNode as Ze, createVNode as bt, unref as We, Fragment as S0, renderList as T0, normalizeStyle as Pt, reactive as Oa, ref as lt, watch as Wt, withModifiers as Dt, normalizeClass as Ot, createCommentVNode as Tt, toDisplayString as Jt, nextTick as Ht, onMounted as G0, onBeforeUnmount as q0, createBlock as Ut, onUnmounted as _0, computed as e0, resolveComponent as Fa, createSlots as da, withCtx as M0, pushScopeId as Na, popScopeId as Ha, Teleport as Ya } from "vue";
3
+ import fa from "vue3-popper";
4
4
  import At from "vue-inline-svg";
5
- import { detectDeviceType as W0, truncateString as Ya, formatBytes as Va, getTag as fa, isTodoTag as va, getExt as R0, getTagStyle as ha, uuid as zt, getTagStyleById as Pa, parseMimeType as ma, getSize as _a, oss as pa } from "@codernote/utils";
6
- import Ua from "mitt";
7
- import { useEditor as za, EditorContent as Ga } from "@tiptap/vue-3";
8
- import qa from "@tiptap/extension-link";
9
- import Wa from "@tiptap/extension-highlight";
10
- import ja from "@tiptap/extension-placeholder";
11
- import { Mark as ba, mergeAttributes as $a, getMarkAttributes as Xa, Extension as Ka } from "@tiptap/core";
12
- import Za from "@tiptap/starter-kit";
13
- import ct from "dayjs";
14
- const Qa = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866109224'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4677'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M742.832175%20461.155909h125.076465a50.844091%2050.844091%200%200%201%200%20101.688182h-137.787488l27.455809%2027.45581A50.844091%2050.844091%200%201%201%20685.378352%20660.973188l-107.789474-106.772592a50.844091%2050.844091%200%200%201%200-71.690169l107.789474-107.789474a50.844091%2050.844091%200%201%201%2072.198609%2071.690169z%20m-586.740815-305.064549h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20305.064549h305.064549a50.844091%2050.844091%200%201%201%200%20101.688182h-305.064549a50.844091%2050.844091%200%200%201%200-101.688182z%20m0%20305.064548h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z'%20fill='%232c2c2c'%20p-id='4678'%3e%3c/path%3e%3c/svg%3e", Ja = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866100174'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4504'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M281.676266%20461.155909l-14.744786-14.744787a50.844091%2050.844091%200%200%201%2071.690168-72.19861l107.789474%20107.789474a50.844091%2050.844091%200%200%201%200%2071.690169L338.621648%20660.973188a50.844091%2050.844091%200%201%201-71.690168-71.690169l27.455809-27.455809H156.09136a50.844091%2050.844091%200%200%201%200-101.688183z%20m586.740814-305.064549a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20610.129097a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0-305.064548a50.844091%2050.844091%200%200%201%200%20101.688182h-305.064548a50.844091%2050.844091%200%200%201%200-101.688182z'%20fill='%232c2c2c'%20p-id='4505'%3e%3c/path%3e%3c/svg%3e", er = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779202767'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4512'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M470.016%20976.896q-44.032%200-59.392-20.48t-15.36-65.536q0-20.48-0.512-64.512t-1.024-93.696-1.536-96.768-1.024-74.752q0-39.936-7.68-62.464t-35.328-21.504q-20.48%200-48.64-1.024t-49.664%200q-35.84%200-45.568-19.456t13.824-50.176q24.576-30.72%2057.344-72.704t67.584-86.016%2068.096-87.04%2058.88-75.776q23.552-29.696%2045.568-30.72t46.592%2026.624q24.576%2029.696%2056.832%2069.632t67.072%2082.432%2068.608%2083.968%2060.416%2073.216q29.696%2035.84%2023.04%2058.88t-43.52%2023.04q-11.264%200-25.088%200.512t-29.184%201.024-30.208%201.024-27.136%200.512q-25.6%201.024-32.256%2016.384t-5.632%2041.984q0%2029.696%200.512%2077.824t1.024%20100.352%201.536%20101.376%201.024%2079.872q0%2013.312-2.048%2027.648t-9.728%2026.112-21.504%2019.968-36.352%208.192q-27.648%200-52.736%200.512t-56.832%201.536z'%20p-id='4513'%3e%3c/path%3e%3c/svg%3e", tr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779221999'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4657'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M564.224%2044.032q43.008%200%2058.368%2020.48t15.36%2065.536q0%2020.48%200.512%2064.512t0.512%2093.696%200.512%2096.768%200.512%2074.752q0%2038.912%207.68%2061.952t35.328%2022.016q19.456%200%2048.128%201.024t49.152%201.024q35.84%200%2045.568%2018.944t-13.824%2049.664q-24.576%2030.72-57.344%2072.704t-68.096%2086.016-69.12%2086.528-59.392%2075.264q-23.552%2029.696-45.568%2030.72t-45.568-27.648q-24.576-29.696-57.344-69.632t-67.072-82.432-67.584-83.968-59.904-74.24q-29.696-35.84-22.528-58.88t44.032-23.04l24.576%200q14.336%200%2029.696-0.512t30.208-1.536%2026.112-1.024q26.624%200%2032.768-15.36t6.144-41.984q0-29.696-0.512-77.824t-0.512-100.352-0.512-101.376-0.512-79.872q0-13.312%202.048-27.648t9.728-26.112%2020.992-19.456%2036.864-7.68q27.648%200%2053.248-0.512t57.344-0.512z'%20p-id='4658'%3e%3c/path%3e%3c/svg%3e", ar = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780159129'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8535'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M901.12%2068.224a202.88%20202.88%200%200%200-286.976%200l-0.64%200.832%200.512%200.512c-0.768%200.704-1.728%200.896-2.368%201.6L144.896%20537.792l-0.128%200.128-0.128%200.256-11.712%2011.712a47.296%2047.296%200%200%200-9.856%2014.656c-85.76%20109.76-79.36%20268.288%2021.76%20369.344%20100.864%20100.992%20259.008%20107.52%20368.832%2022.272a51.072%2051.072%200%200%200%2015.232-10.24l324.608-324.672a48.512%2048.512%200%200%200%201.024-68.8%2048.704%2048.704%200%200%200-68.864%200.896L475.776%20863.36l-0.256-0.256c-0.896%200.96-1.472%202.112-2.496%203.008a184%20184%200%200%201-260.352-259.968l0.256-0.384c0.896-0.96%201.92-1.536%202.944-2.432l-0.256-0.192%20464-464c0.64-0.704%200.896-1.664%201.536-2.432l0.256%200.256c0.256-0.256%200.384-0.576%200.64-0.768a106.88%20106.88%200%201%201%20151.232%20151.296l-0.768%200.64%200.512%200.512c-0.768%200.64-1.728%200.896-2.368%201.6l-478.592%20478.656c-11.392%2011.456-29.888%2010.112-41.152-1.344a28.224%2028.224%200%200%201-0.64-40.384l415.232-415.104a48.64%2048.64%200%200%200%200.896-68.8%2048.576%2048.576%200%200%200-68.736%200.896l-415.168%20415.296c-0.384%200.32-0.512%200.768-0.768%201.088-47.36%2048.96-46.976%20126.72%201.344%20174.976%2045.888%2046.08%20118.4%2048.128%20167.488%207.616%203.136-1.92%206.656-3.584%209.344-6.464l478.592-478.656c0.768-0.704%200.896-1.664%201.536-2.432l0.256%200.256%200.832-0.64a202.944%20202.944%200%200%200%200-286.976z'%20fill='%23030000'%20p-id='8536'%3e%3c/path%3e%3c/svg%3e", rr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780533791'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='25342'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M355.555556%20967.111111a28.444444%2028.444444%200%201%201%200-56.888889h312.888888a28.444444%2028.444444%200%201%201%200%2056.888889H355.555556z%20m128-56.888889v-100.878222a296.433778%20296.433778%200%200%201-182.727112-86.158222A296.718222%20296.718222%200%200%201%20213.333333%20512v-99.555556a28.444444%2028.444444%200%200%201%2056.888889%200v99.555556c0.142222%20133.475556%20108.316444%20241.635556%20241.777778%20241.777778%20133.475556-0.142222%20241.635556-108.302222%20241.777778-241.777778v-99.555556a28.444444%2028.444444%200%201%201%2056.888889%200v99.555556a296.718222%20296.718222%200%200%201-87.466667%20211.2A296.433778%20296.433778%200%200%201%20540.444444%20809.358222V910.222222h-56.888888z%20m-113.777778-391.111111v-312.888889C369.777778%20123.747556%20436.636444%2056.888889%20519.111111%2056.888889%20601.6%2056.888889%20668.444444%20123.747556%20668.444444%20206.222222v312.888889C668.444444%20601.585778%20601.6%20668.444444%20519.111111%20668.444444%20436.636444%20668.444444%20369.777778%20601.585778%20369.777778%20519.111111z'%20fill='%23323233'%20p-id='25343'%3e%3c/path%3e%3c/svg%3e", nr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780437481'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='16390'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M746.656%20310.528l110.688-49.184a42.656%2042.656%200%200%201%2060%2038.976v423.36a42.656%2042.656%200%200%201-60%2038.976l-110.688-49.184V768a85.344%2085.344%200%200%201-85.312%2085.344H192A85.344%2085.344%200%200%201%20106.656%20768V256A85.344%2085.344%200%200%201%20192%20170.656h469.344A85.344%2085.344%200%200%201%20746.656%20256v54.528zM320%20381.184v261.632a21.344%2021.344%200%200%200%2033.152%2017.728l196.224-130.784a21.344%2021.344%200%200%200%200-35.52l-196.224-130.784a21.344%2021.344%200%200%200-33.152%2017.728z'%20fill='%23000000'%20p-id='16391'%3e%3c/path%3e%3c/svg%3e", ir = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780461968'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='20299'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M813.812907%20828.826855l-31.770588%200%200%200L241.960751%20828.826855l-0.004093%200-31.766494%200c-35.092239%200-63.541175-28.369118-63.541175-63.365166L146.648988%20337.743234c0-34.996049%2028.448936-63.365166%2063.541175-63.365166l31.766494%200%200.004093%200%200%200%20103.249549%200%2039.709397-63.365166c0-8.749268%2022.99983-15.84078%2031.774681-15.84078l190.614315%200c8.769734%200%2031.770588%207.091512%2031.770588%2015.84078l39.712467%2063.365166%20103.250572%200%2031.770588%200c35.092239%200%2063.537082%2028.369118%2063.537082%2063.365166l0%20427.718455C877.349989%20800.457738%20848.905146%20828.826855%20813.812907%20828.826855L813.812907%20828.826855zM512.001023%20337.743234c-114.046453%200-206.504214%2092.201935-206.504214%20205.940372%200%20113.739461%2092.457762%20205.936279%20206.504214%20205.936279%20114.043383%200%20206.496028-92.196819%20206.500121-205.928093l0-0.016373C718.497051%20429.941076%20626.044406%20337.743234%20512.001023%20337.743234L512.001023%20337.743234zM512.001023%20686.254719c-78.958306%200-142.963039-63.828724-142.963039-142.571113%200-78.738295%2064.004733-142.571113%20142.963039-142.571113%2078.955236%200%20142.963039%2063.832817%20142.963039%20142.571113C654.964062%20622.425995%20590.95626%20686.254719%20512.001023%20686.254719L512.001023%20686.254719zM512.001023%20686.254719'%20fill='%23272636'%20p-id='20300'%3e%3c/path%3e%3c/svg%3e", sr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785409899'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='37829'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%200C230.4%200%200%20230.4%200%20512s230.4%20512%20512%20512%20512-230.4%20512-512-230.4-512-512-512z%20m0%20960c-249.6%200-448-198.4-448-448s198.4-448%20448-448%20448%20198.4%20448%20448-198.4%20448-448%20448z'%20fill='%23333333'%20p-id='37830'%3e%3c/path%3e%3cpath%20d='M352%20352h320v320h-320z'%20fill='%23333333'%20p-id='37831'%3e%3c/path%3e%3c/svg%3e", or = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785373002'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='30220'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M392.256%20515.008a119.744%20119.744%200%201%200%20239.488%200%20119.744%20119.744%200%201%200-239.488%200z'%20fill='%23333333'%20p-id='30221'%3e%3c/path%3e%3cpath%20d='M512%2068.032A447.488%20447.488%200%200%200%2065.024%20515.008%20447.424%20447.424%200%200%200%20512%20961.984a447.424%20447.424%200%200%200%20446.976-446.976A447.424%20447.424%200%200%200%20512%2068.032z%20m0%20829.952c-211.2%200-382.976-171.84-382.976-382.976S300.8%20132.032%20512%20132.032s382.976%20171.84%20382.976%20382.976S723.2%20897.984%20512%20897.984z'%20fill='%23333333'%20p-id='30222'%3e%3c/path%3e%3c/svg%3e", lr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1712145583790'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5884'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M734.165333%20350.165333l-384%20384L469.333333%20853.333333H170.666667v-298.666666l119.168%20119.168%20384-384L554.666667%20170.666667h298.666666v298.666666l-119.168-119.168zM256%20256v192H170.666667V170.666667h256v85.333333H256z%20m512%20512v-170.666667h85.333333v256h-256v-85.333333h170.666667z'%20fill='%234B4F54'%20p-id='5885'%3e%3c/path%3e%3c/svg%3e", ur = "data:image/svg+xml,%3csvg%20t='1714370428406'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4557'%20width='200'%20height='200'%3e%3cpath%20d='M213.333333%20213.333333h213.333334V128H170.666667a42.666667%2042.666667%200%200%200-42.666667%2042.666667v256h85.333333V213.333333zM170.666667%20896h256v-85.333333H213.333333v-213.333334H128v256a42.666667%2042.666667%200%200%200%2042.666667%2042.666667z%20m725.333333-42.666667v-256h-85.333333v213.333334h-213.333334v85.333333h256a42.666667%2042.666667%200%200%200%2042.666667-42.666667zM597.333333%20213.333333h213.333334v213.333334h85.333333V170.666667a42.666667%2042.666667%200%200%200-42.666667-42.666667h-256v85.333333z'%20fill='%23515151'%20p-id='4558'%3e%3c/path%3e%3c/svg%3e", cr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256873576'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8028'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M707.872%20484.64C745.376%20440.096%20768%20382.656%20768%20320c0-141.152-114.848-256-256-256l-128%200-128%200L192%2064l0%20896%2064%200%20128%200%20192%200c141.152%200%20256-114.848%20256-256C832%20611.04%20782.208%20529.504%20707.872%20484.64zM384%20192l101.504%200c55.968%200%20101.504%2057.408%20101.504%20128s-45.536%20128-101.504%20128L384%20448%20384%20192zM543.008%20832%20384%20832%20384%20576l159.008%200c58.464%200%20106.016%2057.408%20106.016%20128S601.44%20832%20543.008%20832z'%20fill='%23000000'%20p-id='8029'%3e%3c/path%3e%3c/svg%3e", dr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256954702'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9002'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M904%20816H120c-4.4%200-8%203.6-8%208v80c0%204.4%203.6%208%208%208h784c4.4%200%208-3.6%208-8v-80c0-4.4-3.6-8-8-8z%20m-650.3-80h85c4.2%200%208-2.7%209.3-6.8l53.7-166h219.2l53.2%20166c1.3%204%205%206.8%209.3%206.8h89.1c1.1%200%202.2-0.2%203.2-0.5%205.1-1.8%207.8-7.3%206-12.4L573.6%20118.6c-1.4-3.9-5.1-6.6-9.2-6.6H462.1c-4.2%200-7.9%202.6-9.2%206.6L244.5%20723.1c-0.4%201-0.5%202.1-0.5%203.2-0.1%205.3%204.3%209.7%209.7%209.7z%20m255.9-516.1h4.1l83.8%20263.8H424.9l84.7-263.8z'%20fill='%23333333'%20p-id='9003'%3e%3c/path%3e%3c/svg%3e", fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718341836843'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5749'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M79.25419%201010.518503l930.261375-930.261375a46.513269%2046.513269%200%201%200-65.772693-65.772693L13.481497%20944.74581c-17.739973%2018.233418-17.539385%2047.335679%200.448313%2065.32438%2017.988701%2017.987698%2047.090962%2018.188286%2065.32438%200.448313z'%20fill='%23E02020'%20p-id='5750'%3e%3c/path%3e%3c/svg%3e", vr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969717382'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4251'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M298.666667%20426.666667V341.333333a213.333333%20213.333333%200%201%201%20426.666666%200v85.333334h42.666667a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667z%20m213.333333-213.333334a128%20128%200%200%200-128%20128v85.333334h256V341.333333a128%20128%200%200%200-128-128z'%20fill='green'%20p-id='4252'%3e%3c/path%3e%3c/svg%3e", hr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969878651'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7064'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M666.752%20194.517333L617.386667%20268.629333A128%20128%200%200%200%20384%20341.333333l0.042667%2085.333334h384a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667V341.333333a213.333333%20213.333333%200%200%201%20368.085333-146.816z'%20fill='%23000000'%20p-id='7065'%3e%3c/path%3e%3c/svg%3e", mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1724214601601'%20class='icon'%20viewBox='0%200%201035%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7572'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='202.1484375'%20height='200'%3e%3cpath%20d='M388.361%20382.546h194.18v64.727h-194.18v-64.727zM0%20576.726h258.907v64.728H0v-64.727z%20m1035.63-129.453H776.723v-64.727h258.907v64.727zM388.361%20900.361H323.635V382.546h64.727v517.815z%20m614.906%200H388.361v-64.726h582.542V447.273h64.727v453.088h-32.363zM32.363%20123.64h614.906v64.726H64.727v388.362H0V123.639h32.363z%20m647.27%20517.815H453.087v-64.727h194.18V123.639h64.728v517.815h-32.364z'%20fill='%23333333'%20p-id='7573'%3e%3c/path%3e%3c/svg%3e", _r = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435945575'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1036'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M896.074%20935.824c-10.233%200-20.465-3.901-28.275-11.707L99.65%20156.469c-15.626-15.616-15.634-40.942-0.019-56.568%2015.616-15.626%2040.942-15.634%2056.568-0.019L924.35%20867.531c15.626%2015.615%2015.634%2040.942%200.018%2056.568-7.811%207.816-18.054%2011.725-28.294%2011.725z'%20p-id='1037'%20fill='%23d81e06'%3e%3c/path%3e%3cpath%20d='M127.925%20935.824c-10.242%200-20.481-3.908-28.293-11.725-15.616-15.626-15.607-40.953%200.019-56.568L867.799%2099.882c15.627-15.616%2040.953-15.607%2056.568%200.019%2015.616%2015.626%2015.608%2040.953-0.018%2056.568L156.2%20924.117c-7.809%207.805-18.043%2011.707-28.275%2011.707z'%20p-id='1038'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435953539'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1249'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M394.792%20797.429c-9.71%200-19.443-3.513-27.137-10.622L87.488%20527.917c-16.225-14.993-17.224-40.3-2.231-56.525%2014.993-16.226%2040.3-17.225%2056.524-2.231l280.167%20258.89c16.225%2014.993%2017.224%2040.3%202.231%2056.524-7.883%208.532-18.62%2012.854-29.387%2012.854z'%20p-id='1250'%20fill='%237cba59'%3e%3c/path%3e%3cpath%20d='M394.808%20797.429c-10.555%200-21.088-4.15-28.949-12.391-15.249-15.984-14.652-41.304%201.333-56.553l514.564-490.858c15.983-15.249%2041.303-14.652%2056.553%201.333%2015.248%2015.985%2014.651%2041.305-1.334%2056.553l-514.563%20490.86c-7.745%207.387-17.684%2011.056-27.604%2011.056z'%20p-id='1251'%20fill='%237cba59'%3e%3c/path%3e%3c/svg%3e", br = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1760004998012'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4876'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M672%20640c-8%200-16-3.2-22.4-9.6L512%20492.8l-137.6%20137.6c-12.8%2012.8-32%2012.8-44.8%200-12.8-12.8-12.8-32%200-44.8l160-160c12.8-12.8%2032-12.8%2044.8%200l160%20160c12.8%2012.8%2012.8%2032%200%2044.8-6.4%206.4-14.4%209.6-22.4%209.6z'%20fill='%23FEC10D'%20p-id='4877'%3e%3c/path%3e%3cpath%20d='M512%20960c-17.6%200-32-14.4-32-32V464c0-17.6%2014.4-32%2032-32s32%2014.4%2032%2032v464c0%2017.6-14.4%2032-32%2032z'%20fill='%23FEC10D'%20p-id='4878'%3e%3c/path%3e%3cpath%20d='M768%20768h-64c-17.6%200-32-14.4-32-32s14.4-32%2032-32h64c88%200%20160-72%20160-160%200-76.8-57.6-145.6-134.4-158.4-14.4-1.6-25.6-14.4-27.2-28.8C753.6%20227.2%20643.2%20128%20512%20128s-241.6%2099.2-254.4%20230.4c-1.6%2014.4-12.8%2025.6-27.2%2028.8-76.8%2011.2-134.4%2080-134.4%20156.8%200%2088%2072%20160%20160%20160h64c17.6%200%2032%2014.4%2032%2032s-14.4%2032-32%2032h-64C132.8%20768%2032%20667.2%2032%20544c0-100.8%2068.8-188.8%20164.8-216C224%20176%20355.2%2064%20512%2064c156.8%200%20288%20112%20315.2%20264C923.2%20355.2%20992%20443.2%20992%20544c0%20123.2-100.8%20224-224%20224z'%20fill='%23FEC10D'%20p-id='4879'%3e%3c/path%3e%3c/svg%3e", wr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1761639699991'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4671'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M490.666667%20712.533333c0-119.466667%2081.066667-217.6%20196.266666-247.466666l-64-64c-17.066667-17.066667-42.666667-17.066667-59.733333%200l-396.8%20396.8v-597.333334h682.666667v277.333334c34.133333%2017.066667%2064%2038.4%2085.333333%2064v-384c0-21.333333-17.066667-42.666667-42.666667-42.666667h-768c-21.333333%200-42.666667%2017.066667-42.666666%2042.666667v682.666666c0%2021.333333%2017.066667%2042.666667%2042.666666%2042.666667h435.2c-42.666667-42.666667-68.266667-102.4-68.266666-170.666667z'%20p-id='4672'%3e%3c/path%3e%3cpath%20d='M337.066667%20375.466667m-85.333334%200a85.333333%2085.333333%200%201%200%20170.666667%200%2085.333333%2085.333333%200%201%200-170.666667%200Z'%20p-id='4673'%3e%3c/path%3e%3cpath%20d='M746.666667%20904.533333c-106.666667%200-196.266667-85.333333-196.266667-196.266666s85.333333-196.266667%20196.266667-196.266667%20196.266667%2085.333333%20196.266666%20196.266667-85.333333%20196.266667-196.266666%20196.266666z%20m-17.066667-132.266666v38.4h38.4v-38.4h-38.4z%20m0-157.866667v115.2h38.4v-115.2h-38.4z'%20p-id='4674'%3e%3c/path%3e%3c/svg%3e", xt = {
15
- left: Qa,
16
- right: Ja,
17
- up: er,
18
- down: tr,
19
- attach: ar,
20
- audio: rr,
21
- video: nr,
22
- photo: ir,
23
- stop: sr,
24
- record: or,
25
- resize: lr,
26
- fullscreen: ur,
27
- bold: cr,
28
- color: dr,
29
- clear: fr,
30
- lock: vr,
31
- unlock: hr,
32
- relate: mr,
33
- close: _r,
34
- confirm: pr,
35
- uploading: br,
36
- fail: wr
5
+ import { detectDeviceType as W0, truncateString as Va, formatBytes as Pa, getTag as va, isTodoTag as ha, getExt as R0, getTagStyle as ma, uuid as zt, getTagStyleById as Ua, parseMimeType as _a, getSize as pa, oss as ba } from "@codernote/utils";
6
+ import za from "mitt";
7
+ import { useEditor as Ga, EditorContent as qa } from "@tiptap/vue-3";
8
+ import Wa from "@tiptap/extension-link";
9
+ import ja from "@tiptap/extension-highlight";
10
+ import $a from "@tiptap/extension-placeholder";
11
+ import { Mark as wa, mergeAttributes as Xa, getMarkAttributes as Ka, Extension as Za } from "@tiptap/core";
12
+ import Qa from "@tiptap/starter-kit";
13
+ import na from "dayjs";
14
+ const Ja = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866109224'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4677'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M742.832175%20461.155909h125.076465a50.844091%2050.844091%200%200%201%200%20101.688182h-137.787488l27.455809%2027.45581A50.844091%2050.844091%200%201%201%20685.378352%20660.973188l-107.789474-106.772592a50.844091%2050.844091%200%200%201%200-71.690169l107.789474-107.789474a50.844091%2050.844091%200%201%201%2072.198609%2071.690169z%20m-586.740815-305.064549h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20305.064549h305.064549a50.844091%2050.844091%200%201%201%200%20101.688182h-305.064549a50.844091%2050.844091%200%200%201%200-101.688182z%20m0%20305.064548h711.81728a50.844091%2050.844091%200%200%201%200%20101.688183h-711.81728a50.844091%2050.844091%200%200%201%200-101.688183z'%20fill='%232c2c2c'%20p-id='4678'%3e%3c/path%3e%3c/svg%3e", er = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709866100174'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4504'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M281.676266%20461.155909l-14.744786-14.744787a50.844091%2050.844091%200%200%201%2071.690168-72.19861l107.789474%20107.789474a50.844091%2050.844091%200%200%201%200%2071.690169L338.621648%20660.973188a50.844091%2050.844091%200%201%201-71.690168-71.690169l27.455809-27.455809H156.09136a50.844091%2050.844091%200%200%201%200-101.688183z%20m586.740814-305.064549a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0%20610.129097a50.844091%2050.844091%200%200%201%200%20101.688183h-711.817279a50.844091%2050.844091%200%200%201%200-101.688183z%20m0-305.064548a50.844091%2050.844091%200%200%201%200%20101.688182h-305.064548a50.844091%2050.844091%200%200%201%200-101.688182z'%20fill='%232c2c2c'%20p-id='4505'%3e%3c/path%3e%3c/svg%3e", tr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779202767'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4512'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M470.016%20976.896q-44.032%200-59.392-20.48t-15.36-65.536q0-20.48-0.512-64.512t-1.024-93.696-1.536-96.768-1.024-74.752q0-39.936-7.68-62.464t-35.328-21.504q-20.48%200-48.64-1.024t-49.664%200q-35.84%200-45.568-19.456t13.824-50.176q24.576-30.72%2057.344-72.704t67.584-86.016%2068.096-87.04%2058.88-75.776q23.552-29.696%2045.568-30.72t46.592%2026.624q24.576%2029.696%2056.832%2069.632t67.072%2082.432%2068.608%2083.968%2060.416%2073.216q29.696%2035.84%2023.04%2058.88t-43.52%2023.04q-11.264%200-25.088%200.512t-29.184%201.024-30.208%201.024-27.136%200.512q-25.6%201.024-32.256%2016.384t-5.632%2041.984q0%2029.696%200.512%2077.824t1.024%20100.352%201.536%20101.376%201.024%2079.872q0%2013.312-2.048%2027.648t-9.728%2026.112-21.504%2019.968-36.352%208.192q-27.648%200-52.736%200.512t-56.832%201.536z'%20p-id='4513'%3e%3c/path%3e%3c/svg%3e", ar = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709779221999'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4657'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M564.224%2044.032q43.008%200%2058.368%2020.48t15.36%2065.536q0%2020.48%200.512%2064.512t0.512%2093.696%200.512%2096.768%200.512%2074.752q0%2038.912%207.68%2061.952t35.328%2022.016q19.456%200%2048.128%201.024t49.152%201.024q35.84%200%2045.568%2018.944t-13.824%2049.664q-24.576%2030.72-57.344%2072.704t-68.096%2086.016-69.12%2086.528-59.392%2075.264q-23.552%2029.696-45.568%2030.72t-45.568-27.648q-24.576-29.696-57.344-69.632t-67.072-82.432-67.584-83.968-59.904-74.24q-29.696-35.84-22.528-58.88t44.032-23.04l24.576%200q14.336%200%2029.696-0.512t30.208-1.536%2026.112-1.024q26.624%200%2032.768-15.36t6.144-41.984q0-29.696-0.512-77.824t-0.512-100.352-0.512-101.376-0.512-79.872q0-13.312%202.048-27.648t9.728-26.112%2020.992-19.456%2036.864-7.68q27.648%200%2053.248-0.512t57.344-0.512z'%20p-id='4658'%3e%3c/path%3e%3c/svg%3e", rr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780159129'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8535'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M901.12%2068.224a202.88%20202.88%200%200%200-286.976%200l-0.64%200.832%200.512%200.512c-0.768%200.704-1.728%200.896-2.368%201.6L144.896%20537.792l-0.128%200.128-0.128%200.256-11.712%2011.712a47.296%2047.296%200%200%200-9.856%2014.656c-85.76%20109.76-79.36%20268.288%2021.76%20369.344%20100.864%20100.992%20259.008%20107.52%20368.832%2022.272a51.072%2051.072%200%200%200%2015.232-10.24l324.608-324.672a48.512%2048.512%200%200%200%201.024-68.8%2048.704%2048.704%200%200%200-68.864%200.896L475.776%20863.36l-0.256-0.256c-0.896%200.96-1.472%202.112-2.496%203.008a184%20184%200%200%201-260.352-259.968l0.256-0.384c0.896-0.96%201.92-1.536%202.944-2.432l-0.256-0.192%20464-464c0.64-0.704%200.896-1.664%201.536-2.432l0.256%200.256c0.256-0.256%200.384-0.576%200.64-0.768a106.88%20106.88%200%201%201%20151.232%20151.296l-0.768%200.64%200.512%200.512c-0.768%200.64-1.728%200.896-2.368%201.6l-478.592%20478.656c-11.392%2011.456-29.888%2010.112-41.152-1.344a28.224%2028.224%200%200%201-0.64-40.384l415.232-415.104a48.64%2048.64%200%200%200%200.896-68.8%2048.576%2048.576%200%200%200-68.736%200.896l-415.168%20415.296c-0.384%200.32-0.512%200.768-0.768%201.088-47.36%2048.96-46.976%20126.72%201.344%20174.976%2045.888%2046.08%20118.4%2048.128%20167.488%207.616%203.136-1.92%206.656-3.584%209.344-6.464l478.592-478.656c0.768-0.704%200.896-1.664%201.536-2.432l0.256%200.256%200.832-0.64a202.944%20202.944%200%200%200%200-286.976z'%20fill='%23030000'%20p-id='8536'%3e%3c/path%3e%3c/svg%3e", nr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780533791'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='25342'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M355.555556%20967.111111a28.444444%2028.444444%200%201%201%200-56.888889h312.888888a28.444444%2028.444444%200%201%201%200%2056.888889H355.555556z%20m128-56.888889v-100.878222a296.433778%20296.433778%200%200%201-182.727112-86.158222A296.718222%20296.718222%200%200%201%20213.333333%20512v-99.555556a28.444444%2028.444444%200%200%201%2056.888889%200v99.555556c0.142222%20133.475556%20108.316444%20241.635556%20241.777778%20241.777778%20133.475556-0.142222%20241.635556-108.302222%20241.777778-241.777778v-99.555556a28.444444%2028.444444%200%201%201%2056.888889%200v99.555556a296.718222%20296.718222%200%200%201-87.466667%20211.2A296.433778%20296.433778%200%200%201%20540.444444%20809.358222V910.222222h-56.888888z%20m-113.777778-391.111111v-312.888889C369.777778%20123.747556%20436.636444%2056.888889%20519.111111%2056.888889%20601.6%2056.888889%20668.444444%20123.747556%20668.444444%20206.222222v312.888889C668.444444%20601.585778%20601.6%20668.444444%20519.111111%20668.444444%20436.636444%20668.444444%20369.777778%20601.585778%20369.777778%20519.111111z'%20fill='%23323233'%20p-id='25343'%3e%3c/path%3e%3c/svg%3e", ir = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780437481'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='16390'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M746.656%20310.528l110.688-49.184a42.656%2042.656%200%200%201%2060%2038.976v423.36a42.656%2042.656%200%200%201-60%2038.976l-110.688-49.184V768a85.344%2085.344%200%200%201-85.312%2085.344H192A85.344%2085.344%200%200%201%20106.656%20768V256A85.344%2085.344%200%200%201%20192%20170.656h469.344A85.344%2085.344%200%200%201%20746.656%20256v54.528zM320%20381.184v261.632a21.344%2021.344%200%200%200%2033.152%2017.728l196.224-130.784a21.344%2021.344%200%200%200%200-35.52l-196.224-130.784a21.344%2021.344%200%200%200-33.152%2017.728z'%20fill='%23000000'%20p-id='16391'%3e%3c/path%3e%3c/svg%3e", sr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709780461968'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='20299'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M813.812907%20828.826855l-31.770588%200%200%200L241.960751%20828.826855l-0.004093%200-31.766494%200c-35.092239%200-63.541175-28.369118-63.541175-63.365166L146.648988%20337.743234c0-34.996049%2028.448936-63.365166%2063.541175-63.365166l31.766494%200%200.004093%200%200%200%20103.249549%200%2039.709397-63.365166c0-8.749268%2022.99983-15.84078%2031.774681-15.84078l190.614315%200c8.769734%200%2031.770588%207.091512%2031.770588%2015.84078l39.712467%2063.365166%20103.250572%200%2031.770588%200c35.092239%200%2063.537082%2028.369118%2063.537082%2063.365166l0%20427.718455C877.349989%20800.457738%20848.905146%20828.826855%20813.812907%20828.826855L813.812907%20828.826855zM512.001023%20337.743234c-114.046453%200-206.504214%2092.201935-206.504214%20205.940372%200%20113.739461%2092.457762%20205.936279%20206.504214%20205.936279%20114.043383%200%20206.496028-92.196819%20206.500121-205.928093l0-0.016373C718.497051%20429.941076%20626.044406%20337.743234%20512.001023%20337.743234L512.001023%20337.743234zM512.001023%20686.254719c-78.958306%200-142.963039-63.828724-142.963039-142.571113%200-78.738295%2064.004733-142.571113%20142.963039-142.571113%2078.955236%200%20142.963039%2063.832817%20142.963039%20142.571113C654.964062%20622.425995%20590.95626%20686.254719%20512.001023%20686.254719L512.001023%20686.254719zM512.001023%20686.254719'%20fill='%23272636'%20p-id='20300'%3e%3c/path%3e%3c/svg%3e", or = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785409899'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='37829'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%200C230.4%200%200%20230.4%200%20512s230.4%20512%20512%20512%20512-230.4%20512-512-230.4-512-512-512z%20m0%20960c-249.6%200-448-198.4-448-448s198.4-448%20448-448%20448%20198.4%20448%20448-198.4%20448-448%20448z'%20fill='%23333333'%20p-id='37830'%3e%3c/path%3e%3cpath%20d='M352%20352h320v320h-320z'%20fill='%23333333'%20p-id='37831'%3e%3c/path%3e%3c/svg%3e", lr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1709785373002'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='30220'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M392.256%20515.008a119.744%20119.744%200%201%200%20239.488%200%20119.744%20119.744%200%201%200-239.488%200z'%20fill='%23333333'%20p-id='30221'%3e%3c/path%3e%3cpath%20d='M512%2068.032A447.488%20447.488%200%200%200%2065.024%20515.008%20447.424%20447.424%200%200%200%20512%20961.984a447.424%20447.424%200%200%200%20446.976-446.976A447.424%20447.424%200%200%200%20512%2068.032z%20m0%20829.952c-211.2%200-382.976-171.84-382.976-382.976S300.8%20132.032%20512%20132.032s382.976%20171.84%20382.976%20382.976S723.2%20897.984%20512%20897.984z'%20fill='%23333333'%20p-id='30222'%3e%3c/path%3e%3c/svg%3e", ur = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1712145583790'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5884'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M734.165333%20350.165333l-384%20384L469.333333%20853.333333H170.666667v-298.666666l119.168%20119.168%20384-384L554.666667%20170.666667h298.666666v298.666666l-119.168-119.168zM256%20256v192H170.666667V170.666667h256v85.333333H256z%20m512%20512v-170.666667h85.333333v256h-256v-85.333333h170.666667z'%20fill='%234B4F54'%20p-id='5885'%3e%3c/path%3e%3c/svg%3e", cr = "data:image/svg+xml,%3csvg%20t='1714370428406'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4557'%20width='200'%20height='200'%3e%3cpath%20d='M213.333333%20213.333333h213.333334V128H170.666667a42.666667%2042.666667%200%200%200-42.666667%2042.666667v256h85.333333V213.333333zM170.666667%20896h256v-85.333333H213.333333v-213.333334H128v256a42.666667%2042.666667%200%200%200%2042.666667%2042.666667z%20m725.333333-42.666667v-256h-85.333333v213.333334h-213.333334v85.333333h256a42.666667%2042.666667%200%200%200%2042.666667-42.666667zM597.333333%20213.333333h213.333334v213.333334h85.333333V170.666667a42.666667%2042.666667%200%200%200-42.666667-42.666667h-256v85.333333z'%20fill='%23515151'%20p-id='4558'%3e%3c/path%3e%3c/svg%3e", dr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256873576'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8028'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M707.872%20484.64C745.376%20440.096%20768%20382.656%20768%20320c0-141.152-114.848-256-256-256l-128%200-128%200L192%2064l0%20896%2064%200%20128%200%20192%200c141.152%200%20256-114.848%20256-256C832%20611.04%20782.208%20529.504%20707.872%20484.64zM384%20192l101.504%200c55.968%200%20101.504%2057.408%20101.504%20128s-45.536%20128-101.504%20128L384%20448%20384%20192zM543.008%20832%20384%20832%20384%20576l159.008%200c58.464%200%20106.016%2057.408%20106.016%20128S601.44%20832%20543.008%20832z'%20fill='%23000000'%20p-id='8029'%3e%3c/path%3e%3c/svg%3e", fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718256954702'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9002'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M904%20816H120c-4.4%200-8%203.6-8%208v80c0%204.4%203.6%208%208%208h784c4.4%200%208-3.6%208-8v-80c0-4.4-3.6-8-8-8z%20m-650.3-80h85c4.2%200%208-2.7%209.3-6.8l53.7-166h219.2l53.2%20166c1.3%204%205%206.8%209.3%206.8h89.1c1.1%200%202.2-0.2%203.2-0.5%205.1-1.8%207.8-7.3%206-12.4L573.6%20118.6c-1.4-3.9-5.1-6.6-9.2-6.6H462.1c-4.2%200-7.9%202.6-9.2%206.6L244.5%20723.1c-0.4%201-0.5%202.1-0.5%203.2-0.1%205.3%204.3%209.7%209.7%209.7z%20m255.9-516.1h4.1l83.8%20263.8H424.9l84.7-263.8z'%20fill='%23333333'%20p-id='9003'%3e%3c/path%3e%3c/svg%3e", vr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1718341836843'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5749'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M79.25419%201010.518503l930.261375-930.261375a46.513269%2046.513269%200%201%200-65.772693-65.772693L13.481497%20944.74581c-17.739973%2018.233418-17.539385%2047.335679%200.448313%2065.32438%2017.988701%2017.987698%2047.090962%2018.188286%2065.32438%200.448313z'%20fill='%23E02020'%20p-id='5750'%3e%3c/path%3e%3c/svg%3e", hr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969717382'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4251'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M298.666667%20426.666667V341.333333a213.333333%20213.333333%200%201%201%20426.666666%200v85.333334h42.666667a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667z%20m213.333333-213.333334a128%20128%200%200%200-128%20128v85.333334h256V341.333333a128%20128%200%200%200-128-128z'%20fill='green'%20p-id='4252'%3e%3c/path%3e%3c/svg%3e", mr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1721969878651'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7064'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M666.752%20194.517333L617.386667%20268.629333A128%20128%200%200%200%20384%20341.333333l0.042667%2085.333334h384a85.333333%2085.333333%200%200%201%2085.333333%2085.333333v256a85.333333%2085.333333%200%200%201-85.333333%2085.333333H256a85.333333%2085.333333%200%200%201-85.333333-85.333333v-256a85.333333%2085.333333%200%200%201%2085.333333-85.333333h42.666667V341.333333a213.333333%20213.333333%200%200%201%20368.085333-146.816z'%20fill='%23000000'%20p-id='7065'%3e%3c/path%3e%3c/svg%3e", _r = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1724214601601'%20class='icon'%20viewBox='0%200%201035%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7572'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='202.1484375'%20height='200'%3e%3cpath%20d='M388.361%20382.546h194.18v64.727h-194.18v-64.727zM0%20576.726h258.907v64.728H0v-64.727z%20m1035.63-129.453H776.723v-64.727h258.907v64.727zM388.361%20900.361H323.635V382.546h64.727v517.815z%20m614.906%200H388.361v-64.726h582.542V447.273h64.727v453.088h-32.363zM32.363%20123.64h614.906v64.726H64.727v388.362H0V123.639h32.363z%20m647.27%20517.815H453.087v-64.727h194.18V123.639h64.728v517.815h-32.364z'%20fill='%23333333'%20p-id='7573'%3e%3c/path%3e%3c/svg%3e", pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435945575'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1036'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M896.074%20935.824c-10.233%200-20.465-3.901-28.275-11.707L99.65%20156.469c-15.626-15.616-15.634-40.942-0.019-56.568%2015.616-15.626%2040.942-15.634%2056.568-0.019L924.35%20867.531c15.626%2015.615%2015.634%2040.942%200.018%2056.568-7.811%207.816-18.054%2011.725-28.294%2011.725z'%20p-id='1037'%20fill='%23d81e06'%3e%3c/path%3e%3cpath%20d='M127.925%20935.824c-10.242%200-20.481-3.908-28.293-11.725-15.616-15.626-15.607-40.953%200.019-56.568L867.799%2099.882c15.627-15.616%2040.953-15.607%2056.568%200.019%2015.616%2015.626%2015.608%2040.953-0.018%2056.568L156.2%20924.117c-7.809%207.805-18.043%2011.707-28.275%2011.707z'%20p-id='1038'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", br = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1725435953539'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1249'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M394.792%20797.429c-9.71%200-19.443-3.513-27.137-10.622L87.488%20527.917c-16.225-14.993-17.224-40.3-2.231-56.525%2014.993-16.226%2040.3-17.225%2056.524-2.231l280.167%20258.89c16.225%2014.993%2017.224%2040.3%202.231%2056.524-7.883%208.532-18.62%2012.854-29.387%2012.854z'%20p-id='1250'%20fill='%237cba59'%3e%3c/path%3e%3cpath%20d='M394.808%20797.429c-10.555%200-21.088-4.15-28.949-12.391-15.249-15.984-14.652-41.304%201.333-56.553l514.564-490.858c15.983-15.249%2041.303-14.652%2056.553%201.333%2015.248%2015.985%2014.651%2041.305-1.334%2056.553l-514.563%20490.86c-7.745%207.387-17.684%2011.056-27.604%2011.056z'%20p-id='1251'%20fill='%237cba59'%3e%3c/path%3e%3c/svg%3e", wr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1760004998012'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4876'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M672%20640c-8%200-16-3.2-22.4-9.6L512%20492.8l-137.6%20137.6c-12.8%2012.8-32%2012.8-44.8%200-12.8-12.8-12.8-32%200-44.8l160-160c12.8-12.8%2032-12.8%2044.8%200l160%20160c12.8%2012.8%2012.8%2032%200%2044.8-6.4%206.4-14.4%209.6-22.4%209.6z'%20fill='%23FEC10D'%20p-id='4877'%3e%3c/path%3e%3cpath%20d='M512%20960c-17.6%200-32-14.4-32-32V464c0-17.6%2014.4-32%2032-32s32%2014.4%2032%2032v464c0%2017.6-14.4%2032-32%2032z'%20fill='%23FEC10D'%20p-id='4878'%3e%3c/path%3e%3cpath%20d='M768%20768h-64c-17.6%200-32-14.4-32-32s14.4-32%2032-32h64c88%200%20160-72%20160-160%200-76.8-57.6-145.6-134.4-158.4-14.4-1.6-25.6-14.4-27.2-28.8C753.6%20227.2%20643.2%20128%20512%20128s-241.6%2099.2-254.4%20230.4c-1.6%2014.4-12.8%2025.6-27.2%2028.8-76.8%2011.2-134.4%2080-134.4%20156.8%200%2088%2072%20160%20160%20160h64c17.6%200%2032%2014.4%2032%2032s-14.4%2032-32%2032h-64C132.8%20768%2032%20667.2%2032%20544c0-100.8%2068.8-188.8%20164.8-216C224%20176%20355.2%2064%20512%2064c156.8%200%20288%20112%20315.2%20264C923.2%20355.2%20992%20443.2%20992%20544c0%20123.2-100.8%20224-224%20224z'%20fill='%23FEC10D'%20p-id='4879'%3e%3c/path%3e%3c/svg%3e", gr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1761639699991'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4671'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M490.666667%20712.533333c0-119.466667%2081.066667-217.6%20196.266666-247.466666l-64-64c-17.066667-17.066667-42.666667-17.066667-59.733333%200l-396.8%20396.8v-597.333334h682.666667v277.333334c34.133333%2017.066667%2064%2038.4%2085.333333%2064v-384c0-21.333333-17.066667-42.666667-42.666667-42.666667h-768c-21.333333%200-42.666667%2017.066667-42.666666%2042.666667v682.666666c0%2021.333333%2017.066667%2042.666667%2042.666666%2042.666667h435.2c-42.666667-42.666667-68.266667-102.4-68.266666-170.666667z'%20p-id='4672'%3e%3c/path%3e%3cpath%20d='M337.066667%20375.466667m-85.333334%200a85.333333%2085.333333%200%201%200%20170.666667%200%2085.333333%2085.333333%200%201%200-170.666667%200Z'%20p-id='4673'%3e%3c/path%3e%3cpath%20d='M746.666667%20904.533333c-106.666667%200-196.266667-85.333333-196.266667-196.266666s85.333333-196.266667%20196.266667-196.266667%20196.266667%2085.333333%20196.266666%20196.266667-85.333333%20196.266667-196.266666%20196.266666z%20m-17.066667-132.266666v38.4h38.4v-38.4h-38.4z%20m0-157.866667v115.2h38.4v-115.2h-38.4z'%20p-id='4674'%3e%3c/path%3e%3c/svg%3e", xt = {
15
+ left: Ja,
16
+ right: er,
17
+ up: tr,
18
+ down: ar,
19
+ attach: rr,
20
+ audio: nr,
21
+ video: ir,
22
+ photo: sr,
23
+ stop: or,
24
+ record: lr,
25
+ resize: ur,
26
+ fullscreen: cr,
27
+ bold: dr,
28
+ color: fr,
29
+ clear: vr,
30
+ lock: hr,
31
+ unlock: mr,
32
+ relate: _r,
33
+ close: pr,
34
+ confirm: br,
35
+ uploading: wr,
36
+ fail: gr
37
37
  }, t0 = (_, $) => {
38
38
  const K = _.__vccOpts || _;
39
39
  for (const [p, ue] of $)
40
40
  K[p] = ue;
41
41
  return K;
42
- }, gr = { class: "color-panel" }, yr = ["onClick"], xr = {
42
+ }, yr = { class: "color-panel" }, xr = ["onClick"], Sr = {
43
43
  __name: "index",
44
44
  emits: ["change"],
45
45
  setup(_, { emit: $ }) {
@@ -76,7 +76,7 @@ const Qa = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
76
76
  ], ue = (B) => {
77
77
  K("change", B);
78
78
  };
79
- return (B, ne) => (tt(), ut("div", gr, [
79
+ return (B, ne) => (tt(), ct("div", yr, [
80
80
  Ze("ul", null, [
81
81
  Ze("li", null, [
82
82
  bt(We(At), {
@@ -86,25 +86,27 @@ const Qa = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
86
86
  onClick: ne[0] || (ne[0] = (Y) => ue(null))
87
87
  }, null, 8, ["src"])
88
88
  ]),
89
- (tt(), ut(S0, null, T0(p, (Y) => Ze("li", {
89
+ (tt(), ct(S0, null, T0(p, (Y) => Ze("li", {
90
90
  key: Y,
91
91
  style: Pt({ backgroundColor: Y }),
92
92
  onClick: (pe) => ue(Y)
93
- }, null, 12, yr)), 64))
93
+ }, null, 12, xr)), 64))
94
94
  ])
95
95
  ]));
96
96
  }
97
- }, Sr = /* @__PURE__ */ t0(xr, [["__scopeId", "data-v-d2cde42f"]]), dt = Ia({
97
+ }, Tr = /* @__PURE__ */ t0(Sr, [["__scopeId", "data-v-d2cde42f"]]), ot = Oa({
98
98
  currentId: null,
99
99
  dragId: null,
100
100
  pos: null,
101
- isMobile: W0() === "mobile"
102
- }), m0 = {}, d0 = Ua();
103
- function Tr(_) {
101
+ isMobile: W0() === "mobile",
102
+ noteCreatedAt: null
103
+ // 当前笔记的创建时间,用于计算历史日期
104
+ }), m0 = {}, d0 = za();
105
+ function Mr(_) {
104
106
  return _ && _.uuid ? document.getElementById(_.uuid) : null;
105
107
  }
106
108
  function Xt(_, $ = !1) {
107
- const K = Tr(_), p = ".node-text";
109
+ const K = Mr(_), p = ".node-text";
108
110
  if (!K)
109
111
  return null;
110
112
  if ($) {
@@ -146,12 +148,12 @@ function s0(_, $ = 0, K = !1) {
146
148
  console.error("Error setting focus position:", ne);
147
149
  }
148
150
  }
149
- function Mr(_) {
151
+ function Rr(_) {
150
152
  const $ = _.getBoundingClientRect();
151
153
  return $.top >= 0 && $.left >= 0 && $.bottom <= (window.innerHeight || document.documentElement.clientHeight) && $.right <= (window.innerWidth || document.documentElement.clientWidth);
152
154
  }
153
155
  let r0 = null, f0 = null;
154
- function wa(_ = !0) {
156
+ function ga(_ = !0) {
155
157
  const $ = document.querySelector(".record-tree-options");
156
158
  if (!$)
157
159
  return;
@@ -159,8 +161,8 @@ function wa(_ = !0) {
159
161
  const K = window.visualViewport.height, p = () => {
160
162
  window.visualViewport.height < K && ($.style.display = "none", setTimeout(() => {
161
163
  if ($.style.display = "", _) {
162
- const B = dt.currentId, ne = Xt({ uuid: B });
163
- ne && !Mr(ne) && ne.scrollIntoView({
164
+ const B = ot.currentId, ne = Xt({ uuid: B });
165
+ ne && !Rr(ne) && ne.scrollIntoView({
164
166
  behavior: "smooth",
165
167
  block: "center"
166
168
  });
@@ -171,10 +173,10 @@ function wa(_ = !0) {
171
173
  r0 === p && (window.removeEventListener("resize", p), r0 = null), f0 = null;
172
174
  }, 500);
173
175
  }
174
- function ga(_) {
176
+ function ya(_) {
175
177
  return /<(?!!--)[^>]*>|<!--[\s\S]*?-->|<!DOCTYPE\s+html[^>]*>/i.test(_);
176
178
  }
177
- function na(_) {
179
+ function ia(_) {
178
180
  const $ = document.createElement("div");
179
181
  let K = _, p = [];
180
182
  for (; K && K.parentNode; )
@@ -190,8 +192,8 @@ function na(_) {
190
192
  }
191
193
  return $;
192
194
  }
193
- function ya(_, $) {
194
- if (!ga(_))
195
+ function xa(_, $) {
196
+ if (!ya(_))
195
197
  return {
196
198
  left: _.slice(0, $),
197
199
  right: _.slice($)
@@ -204,7 +206,7 @@ function ya(_, $) {
204
206
  if (Y.nodeType === Node.TEXT_NODE) {
205
207
  const pe = Y.textContent.length;
206
208
  if (p + pe >= $) {
207
- const ce = $ - p, ie = Y.splitText(ce), ge = na(Y), Ee = na(ie);
209
+ const ce = $ - p, ie = Y.splitText(ce), ge = ia(Y), Ee = ia(ie);
208
210
  return ue = !0, {
209
211
  left: ge.innerHTML,
210
212
  right: Ee.innerHTML
@@ -229,7 +231,7 @@ let n0 = null;
229
231
  function h0(_) {
230
232
  if (!_ || _ === "")
231
233
  return !0;
232
- if (!ga(_))
234
+ if (!ya(_))
233
235
  return _.trim() === "";
234
236
  if (/^(<[^>]+>\s*<\/[^>]+>\s*)+$/.test(_))
235
237
  return !0;
@@ -237,22 +239,22 @@ function h0(_) {
237
239
  const K = n0.textContent || n0.innerText || "";
238
240
  return n0.innerHTML = "", K.trim() === "";
239
241
  }
240
- function Rr(_) {
242
+ function Cr(_) {
241
243
  return h0(_.text) && !_.content;
242
244
  }
243
- const Cr = ["contenteditable"], kr = {
245
+ const kr = ["contenteditable"], Ar = {
244
246
  key: 0,
245
247
  class: "holder holder-left",
246
248
  contenteditable: "true",
247
249
  tabindex: "-1"
248
- }, Ar = {
250
+ }, Br = {
249
251
  class: "node-element",
250
252
  contenteditable: "false"
251
- }, Br = ["src", "width", "height"], Er = ["src"], Dr = ["src", "width", "height"], Lr = ["src"], Ir = {
253
+ }, Er = ["src", "width", "height"], Dr = ["src"], Lr = ["src", "width", "height"], Ir = ["src"], Or = {
252
254
  key: 4,
253
255
  contenteditable: !1,
254
256
  class: "node-file-wrap"
255
- }, Or = { class: "node-file-left" }, Fr = { class: "node-file-right" }, Nr = ["href", "download"], Hr = {
257
+ }, Fr = { class: "node-file-left" }, Nr = { class: "node-file-right" }, Hr = ["href", "download"], Yr = {
256
258
  __name: "media",
257
259
  props: {
258
260
  readOnly: {
@@ -270,7 +272,7 @@ const Cr = ["contenteditable"], kr = {
270
272
  },
271
273
  emits: ["remove", "change", "keydown", "focus"],
272
274
  setup(_, { expose: $, emit: K }) {
273
- const p = dt.isMobile, ue = K, B = _, ne = ot(), Y = ot(), pe = ot(), ce = ot(), ie = ot(), ge = ot(0);
275
+ const p = ot.isMobile, ue = K, B = _, ne = lt(), Y = lt(), pe = lt(), ce = lt(), ie = lt(), ge = lt(0);
274
276
  Wt(
275
277
  () => B.data.content,
276
278
  () => {
@@ -341,7 +343,7 @@ const Cr = ["contenteditable"], kr = {
341
343
  function he(W) {
342
344
  typeof W != "string" || !/http|https/.test(W) ? ge.value = 2 : ge.value = 1;
343
345
  }
344
- return (W, z) => (tt(), ut("div", {
346
+ return (W, z) => (tt(), ct("div", {
345
347
  class: "node-text",
346
348
  ref_key: "element",
347
349
  ref: ne,
@@ -354,9 +356,9 @@ const Cr = ["contenteditable"], kr = {
354
356
  contenteditable: !1,
355
357
  class: Ot(`node-complex node-${_.data.type}`)
356
358
  }, [
357
- _.readOnly ? Tt("", !0) : (tt(), ut("span", kr)),
358
- Ze("div", Ar, [
359
- _.data.type === "image" && !ge.value ? (tt(), ut("img", {
359
+ _.readOnly ? Tt("", !0) : (tt(), ct("span", Ar)),
360
+ Ze("div", Br, [
361
+ _.data.type === "image" && !ge.value ? (tt(), ct("img", {
360
362
  key: 0,
361
363
  ref_key: "resource",
362
364
  ref: pe,
@@ -364,8 +366,8 @@ const Cr = ["contenteditable"], kr = {
364
366
  width: _.data.size ? _.data.size.width : 80,
365
367
  height: _.data.size ? _.data.size.height : 80,
366
368
  onError: z[0] || (z[0] = (ke) => he(_.data.content))
367
- }, null, 40, Br)) : Tt("", !0),
368
- _.data.type === "audio" && !ge.value ? (tt(), ut("audio", {
369
+ }, null, 40, Er)) : Tt("", !0),
370
+ _.data.type === "audio" && !ge.value ? (tt(), ct("audio", {
369
371
  key: 1,
370
372
  ref_key: "resource",
371
373
  ref: pe,
@@ -373,8 +375,8 @@ const Cr = ["contenteditable"], kr = {
373
375
  controls: "",
374
376
  width: "300",
375
377
  onError: z[1] || (z[1] = (ke) => he(_.data.content))
376
- }, null, 40, Er)) : Tt("", !0),
377
- _.data.type === "video" && !ge.value ? (tt(), ut("video", {
378
+ }, null, 40, Dr)) : Tt("", !0),
379
+ _.data.type === "video" && !ge.value ? (tt(), ct("video", {
378
380
  key: 2,
379
381
  ref_key: "resource",
380
382
  ref: pe,
@@ -383,8 +385,8 @@ const Cr = ["contenteditable"], kr = {
383
385
  width: _.data.size ? _.data.size.width : 300,
384
386
  height: _.data.size ? _.data.size.width : 300,
385
387
  onError: z[2] || (z[2] = (ke) => he(_.data.content))
386
- }, null, 40, Dr)) : Tt("", !0),
387
- ge.value && (_.data.type === "image" || _.data.type === "audio" || _.data.type === "video") ? (tt(), ut("div", {
388
+ }, null, 40, Lr)) : Tt("", !0),
389
+ ge.value && (_.data.type === "image" || _.data.type === "audio" || _.data.type === "video") ? (tt(), ct("div", {
388
390
  key: 3,
389
391
  class: Ot(
390
392
  ge.value === 1 ? "media-fail" : "media-placeholder"
@@ -392,22 +394,22 @@ const Cr = ["contenteditable"], kr = {
392
394
  }, [
393
395
  Ze("img", {
394
396
  src: ge.value === 1 ? We(xt).fail : We(xt).uploading
395
- }, null, 8, Lr)
397
+ }, null, 8, Ir)
396
398
  ], 2)) : Tt("", !0),
397
- _.data.type === "file" ? (tt(), ut("div", Ir, [
398
- Ze("div", Or, [
399
- Ze("h6", null, Jt(We(Ya)(_.data.name, 20)), 1),
400
- Ze("p", null, Jt(We(Va)(_.data.size)), 1)
401
- ]),
399
+ _.data.type === "file" ? (tt(), ct("div", Or, [
402
400
  Ze("div", Fr, [
401
+ Ze("h6", null, Jt(We(Va)(_.data.name, 20)), 1),
402
+ Ze("p", null, Jt(We(Pa)(_.data.size)), 1)
403
+ ]),
404
+ Ze("div", Nr, [
403
405
  Ze("a", {
404
406
  href: X(_.data.content),
405
407
  download: _.data.name,
406
408
  tabindex: "-1"
407
- }, "下载", 8, Nr)
409
+ }, "下载", 8, Hr)
408
410
  ])
409
411
  ])) : Tt("", !0),
410
- !_.readOnly && !ge.value && !We(p) && (_.data.type === "image" || _.data.type === "video") ? (tt(), ut("div", {
412
+ !_.readOnly && !ge.value && !We(p) && (_.data.type === "image" || _.data.type === "video") ? (tt(), ct("div", {
411
413
  key: 5,
412
414
  class: "resize-handle",
413
415
  ref_key: "resizableBox",
@@ -420,7 +422,7 @@ const Cr = ["contenteditable"], kr = {
420
422
  height: 15
421
423
  }, null, 8, ["src"])
422
424
  ], 544)) : Tt("", !0),
423
- !_.readOnly && !ge.value && !We(p) && _.data.type === "image" ? (tt(), ut("div", {
425
+ !_.readOnly && !ge.value && !We(p) && _.data.type === "image" ? (tt(), ct("div", {
424
426
  key: 6,
425
427
  class: "fullscreen-handle",
426
428
  ref_key: "fullscreenBox",
@@ -433,13 +435,13 @@ const Cr = ["contenteditable"], kr = {
433
435
  height: 15
434
436
  }, null, 8, ["src"])
435
437
  ], 544)) : Tt("", !0),
436
- _.readOnly ? Tt("", !0) : (tt(), ut("div", {
438
+ _.readOnly ? Tt("", !0) : (tt(), ct("div", {
437
439
  key: 7,
438
440
  class: "node-del",
439
441
  onClick: Dt(ve, ["stop"])
440
442
  }))
441
443
  ]),
442
- _.readOnly ? Tt("", !0) : (tt(), ut("span", {
444
+ _.readOnly ? Tt("", !0) : (tt(), ct("span", {
443
445
  key: 1,
444
446
  ref_key: "holderRight",
445
447
  ref: ie,
@@ -448,9 +450,9 @@ const Cr = ["contenteditable"], kr = {
448
450
  tabindex: "-1"
449
451
  }, null, 512))
450
452
  ], 2)
451
- ], 40, Cr));
453
+ ], 40, kr));
452
454
  }
453
- }, Yr = /* @__PURE__ */ t0(Hr, [["__scopeId", "data-v-6cfd6a1b"]]), Vr = ba.create({
455
+ }, Vr = /* @__PURE__ */ t0(Yr, [["__scopeId", "data-v-6cfd6a1b"]]), Pr = wa.create({
454
456
  name: "textStyle",
455
457
  addOptions() {
456
458
  return {
@@ -466,17 +468,17 @@ const Cr = ["contenteditable"], kr = {
466
468
  ];
467
469
  },
468
470
  renderHTML({ HTMLAttributes: _ }) {
469
- return ["span", $a(this.options.HTMLAttributes, _), 0];
471
+ return ["span", Xa(this.options.HTMLAttributes, _), 0];
470
472
  },
471
473
  addCommands() {
472
474
  return {
473
475
  removeEmptyTextStyle: () => ({ state: _, commands: $ }) => {
474
- const K = Xa(_, this.type);
476
+ const K = Ka(_, this.type);
475
477
  return Object.entries(K).some(([, ue]) => !!ue) ? !0 : $.unsetMark(this.name);
476
478
  }
477
479
  };
478
480
  }
479
- }), Pr = Ka.create({
481
+ }), Ur = Za.create({
480
482
  name: "color",
481
483
  addOptions() {
482
484
  return {
@@ -508,74 +510,74 @@ const Cr = ["contenteditable"], kr = {
508
510
  unsetColor: () => ({ chain: _ }) => _().setMark("textStyle", { color: null }).removeEmptyTextStyle().run()
509
511
  };
510
512
  }
511
- }), xa = "date-popover", C0 = {
512
- 现在: () => ct().format("YYYY-MM-DD HH:mm:ss"),
513
- 前天: () => ct().subtract(2, "day").format("YYYY-MM-DD"),
514
- 前日: () => ct().subtract(2, "day").format("YYYY-MM-DD"),
515
- 昨天: () => ct().subtract(1, "day").format("YYYY-MM-DD"),
516
- 大前天: () => ct().subtract(3, "day").format("YYYY-MM-DD"),
517
- 昨日: () => ct().subtract(1, "day").format("YYYY-MM-DD"),
518
- 今天: () => ct().format("YYYY-MM-DD"),
519
- 今日: () => ct().format("YYYY-MM-DD"),
520
- 明天: () => ct().add(1, "day").format("YYYY-MM-DD"),
521
- 明日: () => ct().add(1, "day").format("YYYY-MM-DD"),
522
- 后天: () => ct().add(2, "day").format("YYYY-MM-DD"),
523
- 后日: () => ct().add(2, "day").format("YYYY-MM-DD"),
524
- 大后天: () => ct().add(3, "day").format("YYYY-MM-DD"),
525
- 上周今天: () => ct().subtract(1, "week").format("YYYY-MM-DD"),
526
- 下周今天: () => ct().add(1, "week").format("YYYY-MM-DD"),
527
- 上个月今天: () => ct().subtract(1, "month").format("YYYY-MM-DD"),
528
- 下个月今天: () => ct().add(1, "month").format("YYYY-MM-DD"),
529
- 去年今天: () => ct().subtract(1, "year").format("YYYY-MM-DD"),
530
- 明年今天: () => ct().add(1, "year").format("YYYY-MM-DD"),
531
- 本周开始: () => ct().startOf("week").format("YYYY-MM-DD"),
532
- 本周结束: () => ct().endOf("week").format("YYYY-MM-DD"),
533
- 本月开始: () => ct().startOf("month").format("YYYY-MM-DD"),
534
- 本月结束: () => ct().endOf("month").format("YYYY-MM-DD"),
535
- 本年开始: () => ct().startOf("year").format("YYYY-MM-DD"),
536
- 本年结束: () => ct().endOf("year").format("YYYY-MM-DD"),
537
- 上周开始: () => ct().subtract(1, "week").startOf("week").format("YYYY-MM-DD"),
538
- 上周结束: () => ct().subtract(1, "week").endOf("week").format("YYYY-MM-DD"),
539
- 上个月开始: () => ct().subtract(1, "month").startOf("month").format("YYYY-MM-DD"),
540
- 上个月结束: () => ct().subtract(1, "month").endOf("month").format("YYYY-MM-DD"),
541
- 去年开始: () => ct().subtract(1, "year").startOf("year").format("YYYY-MM-DD"),
542
- 去年结束: () => ct().subtract(1, "year").endOf("year").format("YYYY-MM-DD"),
543
- 下周开始: () => ct().add(1, "week").startOf("week").format("YYYY-MM-DD"),
544
- 下周结束: () => ct().add(1, "week").endOf("week").format("YYYY-MM-DD"),
545
- 下个月开始: () => ct().add(1, "month").startOf("month").format("YYYY-MM-DD"),
546
- 下个月结束: () => ct().add(1, "month").endOf("month").format("YYYY-MM-DD"),
547
- 明年开始: () => ct().add(1, "year").startOf("year").format("YYYY-MM-DD"),
548
- 明年结束: () => ct().add(1, "year").endOf("year").format("YYYY-MM-DD"),
549
- 今年: () => ct().format("YYYY"),
550
- 明年: () => ct().add(1, "year").format("YYYY"),
551
- 后年: () => ct().add(2, "year").format("YYYY"),
552
- 去年: () => ct().subtract(1, "year").format("YYYY"),
553
- 上个月: () => ct().subtract(1, "month").format("YYYY-MM"),
554
- 下个月: () => ct().add(1, "month").format("YYYY-MM"),
555
- 上上个月: () => ct().subtract(2, "month").format("YYYY-MM"),
556
- 上上周今天: () => ct().subtract(2, "week").format("YYYY-MM-DD"),
557
- 下下个月: () => ct().add(2, "month").format("YYYY-MM"),
558
- 下下周今天: () => ct().add(2, "week").format("YYYY-MM-DD")
559
- }, Sa = Object.keys(C0);
560
- Sa.sort((_, $) => $.length - _.length);
561
- const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) => _.tagName.toLowerCase() === "mark", k0 = () => {
562
- document.querySelectorAll(`.${xa}`).forEach(($) => {
513
+ }), Sa = "date-popover", dt = () => ot.noteCreatedAt ? na(ot.noteCreatedAt) : na(), C0 = {
514
+ 现在: () => dt().format("YYYY-MM-DD HH:mm:ss"),
515
+ 前天: () => dt().subtract(2, "day").format("YYYY-MM-DD"),
516
+ 前日: () => dt().subtract(2, "day").format("YYYY-MM-DD"),
517
+ 昨天: () => dt().subtract(1, "day").format("YYYY-MM-DD"),
518
+ 大前天: () => dt().subtract(3, "day").format("YYYY-MM-DD"),
519
+ 昨日: () => dt().subtract(1, "day").format("YYYY-MM-DD"),
520
+ 今天: () => dt().format("YYYY-MM-DD"),
521
+ 今日: () => dt().format("YYYY-MM-DD"),
522
+ 明天: () => dt().add(1, "day").format("YYYY-MM-DD"),
523
+ 明日: () => dt().add(1, "day").format("YYYY-MM-DD"),
524
+ 后天: () => dt().add(2, "day").format("YYYY-MM-DD"),
525
+ 后日: () => dt().add(2, "day").format("YYYY-MM-DD"),
526
+ 大后天: () => dt().add(3, "day").format("YYYY-MM-DD"),
527
+ 上周今天: () => dt().subtract(1, "week").format("YYYY-MM-DD"),
528
+ 下周今天: () => dt().add(1, "week").format("YYYY-MM-DD"),
529
+ 上个月今天: () => dt().subtract(1, "month").format("YYYY-MM-DD"),
530
+ 下个月今天: () => dt().add(1, "month").format("YYYY-MM-DD"),
531
+ 去年今天: () => dt().subtract(1, "year").format("YYYY-MM-DD"),
532
+ 明年今天: () => dt().add(1, "year").format("YYYY-MM-DD"),
533
+ 本周开始: () => dt().startOf("week").format("YYYY-MM-DD"),
534
+ 本周结束: () => dt().endOf("week").format("YYYY-MM-DD"),
535
+ 本月开始: () => dt().startOf("month").format("YYYY-MM-DD"),
536
+ 本月结束: () => dt().endOf("month").format("YYYY-MM-DD"),
537
+ 本年开始: () => dt().startOf("year").format("YYYY-MM-DD"),
538
+ 本年结束: () => dt().endOf("year").format("YYYY-MM-DD"),
539
+ 上周开始: () => dt().subtract(1, "week").startOf("week").format("YYYY-MM-DD"),
540
+ 上周结束: () => dt().subtract(1, "week").endOf("week").format("YYYY-MM-DD"),
541
+ 上个月开始: () => dt().subtract(1, "month").startOf("month").format("YYYY-MM-DD"),
542
+ 上个月结束: () => dt().subtract(1, "month").endOf("month").format("YYYY-MM-DD"),
543
+ 去年开始: () => dt().subtract(1, "year").startOf("year").format("YYYY-MM-DD"),
544
+ 去年结束: () => dt().subtract(1, "year").endOf("year").format("YYYY-MM-DD"),
545
+ 下周开始: () => dt().add(1, "week").startOf("week").format("YYYY-MM-DD"),
546
+ 下周结束: () => dt().add(1, "week").endOf("week").format("YYYY-MM-DD"),
547
+ 下个月开始: () => dt().add(1, "month").startOf("month").format("YYYY-MM-DD"),
548
+ 下个月结束: () => dt().add(1, "month").endOf("month").format("YYYY-MM-DD"),
549
+ 明年开始: () => dt().add(1, "year").startOf("year").format("YYYY-MM-DD"),
550
+ 明年结束: () => dt().add(1, "year").endOf("year").format("YYYY-MM-DD"),
551
+ 今年: () => dt().format("YYYY"),
552
+ 明年: () => dt().add(1, "year").format("YYYY"),
553
+ 后年: () => dt().add(2, "year").format("YYYY"),
554
+ 去年: () => dt().subtract(1, "year").format("YYYY"),
555
+ 上个月: () => dt().subtract(1, "month").format("YYYY-MM"),
556
+ 下个月: () => dt().add(1, "month").format("YYYY-MM"),
557
+ 上上个月: () => dt().subtract(2, "month").format("YYYY-MM"),
558
+ 上上周今天: () => dt().subtract(2, "week").format("YYYY-MM-DD"),
559
+ 下下个月: () => dt().add(2, "month").format("YYYY-MM"),
560
+ 下下周今天: () => dt().add(2, "week").format("YYYY-MM-DD")
561
+ }, Ta = Object.keys(C0);
562
+ Ta.sort((_, $) => $.length - _.length);
563
+ const zr = new RegExp(`(${Ta.join("|")})`, "g"), Gr = /<\/?mark[^>]*>/g, Ma = (_) => _.tagName.toLowerCase() === "mark", k0 = () => {
564
+ document.querySelectorAll(`.${Sa}`).forEach(($) => {
563
565
  $.remove();
564
566
  });
565
- }, Gr = 50, N0 = (_) => {
566
- if (Ta(_.target)) {
567
+ }, qr = 50, N0 = (_) => {
568
+ if (Ma(_.target)) {
567
569
  k0();
568
570
  const $ = _.target.innerText;
569
571
  let K = _.target.getAttribute("data-time");
570
572
  if (!K && C0[$] && (K = C0[$]()), K) {
571
573
  const p = document.createElement("div");
572
- p.classList.add(xa);
574
+ p.classList.add(Sa);
573
575
  const { top: ue, bottom: B, left: ne, width: Y } = _.target.getBoundingClientRect();
574
- p.innerText = K, p.style.left = `${ne + parseInt(Y / 2)}px`, ue < Gr ? (p.classList.add("date-popover--bottom"), p.style.top = `${B}px`) : p.style.top = `${ue}px`, document.body.appendChild(p);
576
+ p.innerText = K, p.style.left = `${ne + parseInt(Y / 2)}px`, ue < qr ? (p.classList.add("date-popover--bottom"), p.style.top = `${B}px`) : p.style.top = `${ue}px`, document.body.appendChild(p);
575
577
  }
576
578
  }
577
579
  }, H0 = (_) => {
578
- Ta(_.target) && k0();
580
+ Ma(_.target) && k0();
579
581
  }, g0 = {
580
582
  install(_) {
581
583
  _.removeEventListener("mouseover", N0), _.removeEventListener("mouseout", H0), _.addEventListener("mouseover", N0), _.addEventListener("mouseout", H0);
@@ -584,12 +586,12 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
584
586
  _ && (_.removeEventListener("mouseover", N0), _.removeEventListener("mouseout", H0), k0());
585
587
  },
586
588
  getHtml(_) {
587
- return _.replace(zr, "").replace(Ur, (K) => `<mark data-time="${C0[K]()}">${K}</mark>`);
589
+ return _.replace(Gr, "").replace(zr, (K) => `<mark data-time="${C0[K]()}">${K}</mark>`);
588
590
  },
589
591
  clear() {
590
592
  k0();
591
593
  }
592
- }, qr = {
594
+ }, Wr = {
593
595
  __name: "text",
594
596
  props: {
595
597
  content: {
@@ -615,8 +617,11 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
615
617
  },
616
618
  emits: ["change", "keydown", "focus", "blur"],
617
619
  setup(_, { expose: $, emit: K }) {
618
- const p = ba.create({
620
+ const p = wa.create({
619
621
  name: "dateMark",
622
+ // inclusive: false 表示在 mark 边界输入时,新内容不会继承 mark
623
+ // 这样用户在日期词后继续输入时,新内容会在 mark 外部
624
+ inclusive: !1,
620
625
  // 允许解析 mark 标签
621
626
  parseHTML() {
622
627
  return [
@@ -644,14 +649,14 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
644
649
  }
645
650
  };
646
651
  }
647
- }), ue = ot(), B = _, ne = K, Y = ot(!1);
652
+ }), ue = lt(), B = _, ne = K, Y = lt(!1);
648
653
  let pe = null, ce = null;
649
- const ie = za({
654
+ const ie = Ga({
650
655
  content: B.content,
651
656
  editable: !B.readOnly,
652
657
  enableInputRules: !1,
653
658
  extensions: [
654
- Za.configure({
659
+ Qa.configure({
655
660
  hardBreak: !1,
656
661
  bulletList: !1,
657
662
  listItem: !1,
@@ -659,12 +664,12 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
659
664
  history: B.history
660
665
  }),
661
666
  p,
662
- qa,
663
667
  Wa,
664
- Vr,
668
+ ja,
665
669
  Pr,
670
+ Ur,
666
671
  ...B.placeholder ? [
667
- ja.configure({
672
+ $a.configure({
668
673
  placeholder: B.placeholder
669
674
  })
670
675
  ] : []
@@ -676,7 +681,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
676
681
  },
677
682
  handleKeyDown(b, X) {
678
683
  const { selection: he, doc: W } = b.state, { from: z, to: ke } = he, Ye = W.content.size - 1, Ve = z === 1 && ke === 1, Je = z === Ye && ke === Ye;
679
- return dt.pos = z, // 回车,缩进,光标上下移动
684
+ return ot.pos = z, // 回车,缩进,光标上下移动
680
685
  ["Enter", "Tab", "ArrowUp", "ArrowDown"].includes(X.key) || // 行首生效: 删除,和光标左移到上一行仅在
681
686
  ["Backspace", "ArrowLeft"].includes(X.key) && Ve || // 行尾生效:光标右移到下一行
682
687
  ["ArrowRight"].includes(X.key) && Je ? (ne("keydown", X), !0) : !1;
@@ -686,7 +691,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
686
691
  ge();
687
692
  },
688
693
  onFocus({ editor: b }) {
689
- const X = dt.pos;
694
+ const X = ot.pos;
690
695
  typeof X == "number" && b.commands.setTextSelection(X || 0), ne("focus"), g0.clear();
691
696
  },
692
697
  onBlur({ editor: b }) {
@@ -696,7 +701,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
696
701
  const b = ie.value.getHTML();
697
702
  if (!Y.value) {
698
703
  const X = g0.getHtml(b);
699
- X !== b && ie.value.commands.setContent(X, !1), pe = X, ne("change", X);
704
+ X !== b && (ie.value.commands.setContent(X, !1), ie.value.commands.focus("end")), pe = X, ne("change", X);
700
705
  }
701
706
  }, Ee = () => {
702
707
  Y.value = !1, ge();
@@ -746,7 +751,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
746
751
  focus: Te,
747
752
  bold: ve,
748
753
  color: Ae
749
- }), (b, X) => (tt(), Ut(We(Ga), {
754
+ }), (b, X) => (tt(), Ut(We(qa), {
750
755
  editor: We(ie),
751
756
  ref_key: "container",
752
757
  ref: ue,
@@ -754,7 +759,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
754
759
  onCompositionend: Dt(Ee, ["stop"])
755
760
  }, null, 8, ["editor"]));
756
761
  }
757
- }, Ma = {
762
+ }, Ra = {
758
763
  __name: "index",
759
764
  props: {
760
765
  data: {
@@ -777,7 +782,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
777
782
  },
778
783
  emits: ["change", "keydown", "focus", "remove"],
779
784
  setup(_, { expose: $, emit: K }) {
780
- const p = ot(null), ue = ot(null), B = _, ne = K;
785
+ const p = lt(null), ue = lt(null), B = _, ne = K;
781
786
  function Y(Te) {
782
787
  ne("keydown", Te);
783
788
  }
@@ -817,7 +822,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
817
822
  return $({
818
823
  focus,
819
824
  dispatch: Ee
820
- }), (Te, G) => _.data.type ? (tt(), Ut(We(Yr), {
825
+ }), (Te, G) => _.data.type ? (tt(), Ut(We(Vr), {
821
826
  key: `media-${_.data.type}`,
822
827
  ref_key: "mediaEditor",
823
828
  ref: ue,
@@ -827,7 +832,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
827
832
  onKeydown: Y,
828
833
  onFocus: pe,
829
834
  onRemove: ie
830
- }, null, 8, ["data", "readOnly"])) : (tt(), Ut(We(qr), {
835
+ }, null, 8, ["data", "readOnly"])) : (tt(), Ut(We(Wr), {
831
836
  key: "text",
832
837
  ref_key: "textEditor",
833
838
  ref: p,
@@ -839,10 +844,10 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
839
844
  onFocus: pe
840
845
  }, null, 8, ["content", "readOnly", "placeholder"]));
841
846
  }
842
- }, Wr = {
847
+ }, jr = {
843
848
  class: "node-div",
844
849
  ref: "row"
845
- }, jr = {
850
+ }, $r = {
846
851
  __name: "node",
847
852
  props: {
848
853
  node: {
@@ -874,16 +879,16 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
874
879
  setup(_, { emit: $ }) {
875
880
  const K = _, p = $;
876
881
  let ue = 0, B = null;
877
- const ne = ot(null);
882
+ const ne = lt(null);
878
883
  G0(() => {
879
884
  m0[K.node.uuid] = ne.value;
880
885
  }), _0(() => {
881
886
  delete m0[K.node.uuid], B && (clearTimeout(B), B = null);
882
887
  });
883
888
  const Y = e0(() => {
884
- const z = fa(K.node.tag_id, K.tags);
889
+ const z = va(K.node.tag_id, K.tags);
885
890
  return z.created_at ? z : null;
886
- }), pe = e0(() => va(Y.value)), ce = e0(() => {
891
+ }), pe = e0(() => ha(Y.value)), ce = e0(() => {
887
892
  const z = R0(K.node);
888
893
  return pe.value && z.finished;
889
894
  });
@@ -909,7 +914,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
909
914
  }
910
915
  function ge() {
911
916
  const z = K.node;
912
- dt.currentId = z.uuid, dt.isMobile && wa();
917
+ ot.currentId = z.uuid, ot.isMobile && ga();
913
918
  }
914
919
  function Ee(z, ...ke) {
915
920
  switch (z.key) {
@@ -943,7 +948,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
943
948
  function Te(z) {
944
949
  var Ye;
945
950
  const ke = K.node;
946
- z.preventDefault(), !((Ye = ke.children) != null && Ye.length) && (dt.pos = null, p("toPrevFocus", ke, !0), he());
951
+ z.preventDefault(), !((Ye = ke.children) != null && Ye.length) && (ot.pos = null, p("toPrevFocus", ke, !0), he());
947
952
  }
948
953
  function G(z) {
949
954
  p("tab", z, K.node);
@@ -960,22 +965,22 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
960
965
  uuid: zt()
961
966
  }, Ve = ke.text;
962
967
  if (typeof Ve == "string") {
963
- const { left: Je, right: Pe } = ya(Ve, dt.pos - 1);
968
+ const { left: Je, right: Pe } = xa(Ve, ot.pos - 1);
964
969
  ke.text = Je, Ye.text = Pe;
965
970
  }
966
971
  ke.children ? ke.children.unshift(Ye) : ke.children = [Ye], W(), Ht(() => {
967
- dt.pos = 0, p("toFocus", Ye);
972
+ ot.pos = 0, p("toFocus", Ye);
968
973
  });
969
974
  } else
970
975
  p("enter", ke);
971
976
  }
972
977
  function ve(z) {
973
978
  const ke = K.node;
974
- z.currentTarget && (dt.pos = null, p("toPrevFocus", ke, !0));
979
+ z.currentTarget && (ot.pos = null, p("toPrevFocus", ke, !0));
975
980
  }
976
981
  function Ae(z) {
977
982
  const ke = K.node;
978
- z.currentTarget && (dt.pos = 0, p("toNextFocus", ke, !0, !0));
983
+ z.currentTarget && (ot.pos = 0, p("toNextFocus", ke, !0, !0));
979
984
  }
980
985
  function b() {
981
986
  p("toNextFocus", K.node, !1, !0);
@@ -989,7 +994,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
989
994
  function W(z = K.node) {
990
995
  p("change", z);
991
996
  }
992
- return (z, ke) => (tt(), ut("div", Wr, [
997
+ return (z, ke) => (tt(), ct("div", jr, [
993
998
  Ze("span", {
994
999
  class: Ot(["node-icon", {
995
1000
  "node-icon-todo": pe.value,
@@ -999,7 +1004,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
999
1004
  }, [
1000
1005
  Ze("span", {
1001
1006
  class: "node-circle",
1002
- style: Pt(We(ha)(Y.value, _.node))
1007
+ style: Pt(We(ma)(Y.value, _.node))
1003
1008
  }, null, 4),
1004
1009
  Ze("span", {
1005
1010
  class: "node-line",
@@ -1008,7 +1013,7 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
1008
1013
  })
1009
1014
  }, null, 4)
1010
1015
  ], 2),
1011
- bt(We(Ma), {
1016
+ bt(We(Ra), {
1012
1017
  ref_key: "editor",
1013
1018
  ref: ne,
1014
1019
  class: Ot({
@@ -1024,13 +1029,13 @@ const Ur = new RegExp(`(${Sa.join("|")})`, "g"), zr = /<\/?mark>/g, Ta = (_) =>
1024
1029
  }, null, 8, ["class", "readOnly", "data", "tags"])
1025
1030
  ], 512));
1026
1031
  }
1027
- }, ia = /* @__PURE__ */ t0(jr, [["__scopeId", "data-v-40ce1bbb"]]);
1028
- function Ra(_) {
1032
+ }, sa = /* @__PURE__ */ t0($r, [["__scopeId", "data-v-40ce1bbb"]]);
1033
+ function Ca(_) {
1029
1034
  var ne;
1030
1035
  let K = (((ne = _.target) == null ? void 0 : ne.querySelector(".node-div")) || _.target).getBoundingClientRect(), p = _.clientY, ue = K.top + K.height / 3, B = K.top + K.height / 3 * 2;
1031
1036
  return p < ue ? "top" : p < B ? "center" : "bottom";
1032
1037
  }
1033
- function $r(_) {
1038
+ function Xr(_) {
1034
1039
  return /<(img|audio|video)/.test(_.text) || _.type;
1035
1040
  }
1036
1041
  function z0() {
@@ -1038,18 +1043,18 @@ function z0() {
1038
1043
  document.querySelectorAll(`.${_}`).forEach(($) => $.classList.remove(_));
1039
1044
  });
1040
1045
  }
1041
- function Xr(_, $) {
1046
+ function Kr(_, $) {
1042
1047
  var ne;
1043
- const K = _.currentTarget, p = dt.dragId ? document.getElementById(dt.dragId) : null;
1044
- if (!K || dt.dragId === $.uuid || p != null && p.querySelector(`[id="${$.uuid}"]`)) {
1048
+ const K = _.currentTarget, p = ot.dragId ? document.getElementById(ot.dragId) : null;
1049
+ if (!K || ot.dragId === $.uuid || p != null && p.querySelector(`[id="${$.uuid}"]`)) {
1045
1050
  _.dataTransfer.dropEffect = "none";
1046
1051
  return;
1047
1052
  }
1048
1053
  z0();
1049
- const ue = Ra(_), B = (ne = K.querySelector(".node-div")) == null ? void 0 : ne.classList;
1054
+ const ue = Ca(_), B = (ne = K.querySelector(".node-div")) == null ? void 0 : ne.classList;
1050
1055
  B && B.add(`drag-over-${ue}`);
1051
1056
  }
1052
- function Kr(_) {
1057
+ function Zr(_) {
1053
1058
  const K = new DOMParser().parseFromString(_, "text/html"), p = K.querySelector("img"), ue = K.querySelector("video"), B = K.querySelector("audio");
1054
1059
  return p ? {
1055
1060
  type: "image",
@@ -1068,22 +1073,22 @@ function y0(_, $, K = !0) {
1068
1073
  (ue) => ue.uuid === _.uuid || (K ? y0(_, ue) : !1)
1069
1074
  ) : !1;
1070
1075
  }
1071
- const Zr = {
1076
+ const Qr = {
1072
1077
  key: 0,
1073
1078
  class: /* @__PURE__ */ Ot({
1074
1079
  "node-ul": !0,
1075
1080
  readOnly: !0,
1076
1081
  sublevel: !0
1077
1082
  })
1078
- }, Qr = ["id"], Jr = {
1083
+ }, Jr = ["id"], en = {
1079
1084
  key: 1,
1080
1085
  class: /* @__PURE__ */ Ot({
1081
1086
  "node-ul": !0,
1082
1087
  sublevel: !0
1083
1088
  })
1084
- }, en = ["id", "onDragstart", "onDragover", "onDragend", "onDrop", "onDragleave", "onPaste"], tn = {
1089
+ }, tn = ["id", "onDragstart", "onDragover", "onDragend", "onDrop", "onDragleave", "onPaste"], an = {
1085
1090
  name: "tree-editor"
1086
- }, an = /* @__PURE__ */ Object.assign(tn, {
1091
+ }, rn = /* @__PURE__ */ Object.assign(an, {
1087
1092
  props: {
1088
1093
  nodes: {
1089
1094
  type: Array,
@@ -1147,7 +1152,7 @@ const Zr = {
1147
1152
  xe.dataTransfer.setDragImage(Ue, 0, 0), ne && d0.off("dragEnd", ne), ne = () => {
1148
1153
  const He = p.nodes.filter((se) => se !== Me);
1149
1154
  et(He);
1150
- }, d0.on("dragEnd", ne), dt.dragId = Me.uuid;
1155
+ }, d0.on("dragEnd", ne), ot.dragId = Me.uuid;
1151
1156
  }
1152
1157
  function ie(xe) {
1153
1158
  xe.currentTarget.classList.remove("dragging"), document.querySelectorAll(".dragging-image").forEach((Ue) => Ue.remove()), ne && (d0.off("dragEnd", ne), ne = null);
@@ -1160,7 +1165,7 @@ const Zr = {
1160
1165
  z(Ue, Me);
1161
1166
  else {
1162
1167
  let e = xe.dataTransfer.getData("dragNode");
1163
- const r = Ra(xe);
1168
+ const r = Ca(xe);
1164
1169
  try {
1165
1170
  e = JSON.parse(e);
1166
1171
  } catch {
@@ -1174,7 +1179,7 @@ const Zr = {
1174
1179
  )
1175
1180
  return;
1176
1181
  let c = [...p.nodes];
1177
- if (c.find((v) => v.uuid === e.uuid) ? c = c.filter((v) => v.uuid !== e.uuid) : d0.emit("dragEnd"), dt.dragId = null, r === "center" && (Me.collapsed = !1, Me.children ? Me.children.push(e) : Me.children = [e], Ht(() => {
1182
+ if (c.find((v) => v.uuid === e.uuid) ? c = c.filter((v) => v.uuid !== e.uuid) : d0.emit("dragEnd"), ot.dragId = null, r === "center" && (Me.collapsed = !1, Me.children ? Me.children.push(e) : Me.children = [e], Ht(() => {
1178
1183
  et(c);
1179
1184
  })), r === "top") {
1180
1185
  const v = c.findIndex((k) => k === Me);
@@ -1212,7 +1217,7 @@ const Zr = {
1212
1217
  const T = () => {
1213
1218
  const r = Xt(Me);
1214
1219
  r && s0(r, se);
1215
- }, e = dt.isMobile ? 30 : 0;
1220
+ }, e = ot.isMobile ? 30 : 0;
1216
1221
  setTimeout(T, e);
1217
1222
  }
1218
1223
  function G(xe) {
@@ -1226,7 +1231,7 @@ const Zr = {
1226
1231
  const He = () => {
1227
1232
  W(Ue);
1228
1233
  };
1229
- dt.isMobile ? setTimeout(He, 100) : setTimeout(He, 200);
1234
+ ot.isMobile ? setTimeout(He, 100) : setTimeout(He, 200);
1230
1235
  }
1231
1236
  et(Me);
1232
1237
  }
@@ -1245,14 +1250,14 @@ const Zr = {
1245
1250
  function b(xe) {
1246
1251
  const Me = p.nodes.findIndex((r) => r.uuid === xe.uuid), Ue = [...p.nodes], He = { text: "", uuid: zt() }, se = xe.text;
1247
1252
  if (typeof se == "string") {
1248
- const { left: r, right: c } = ya(se, dt.pos - 1);
1253
+ const { left: r, right: c } = xa(se, ot.pos - 1);
1249
1254
  Ue[Me].text = r, He.text = c;
1250
1255
  }
1251
1256
  Ue.splice(Me + 1, 0, He), et(Ue);
1252
1257
  const T = () => {
1253
1258
  const r = Xt(He);
1254
- r && (dt.pos = 0, r.focus());
1255
- }, e = dt.isMobile ? 50 : 0;
1259
+ r && (ot.pos = 0, r.focus());
1260
+ }, e = ot.isMobile ? 50 : 0;
1256
1261
  setTimeout(T, e);
1257
1262
  }
1258
1263
  function X(xe, Me = !1) {
@@ -1273,7 +1278,7 @@ const Zr = {
1273
1278
  v
1274
1279
  );
1275
1280
  };
1276
- dt.isMobile ? r() : setTimeout(r, 0);
1281
+ ot.isMobile ? r() : setTimeout(r, 0);
1277
1282
  }
1278
1283
  }
1279
1284
  function he(xe, Me = !1, Ue = !1) {
@@ -1284,12 +1289,12 @@ const Zr = {
1284
1289
  };
1285
1290
  if (Ue && ((e = xe.children) != null && e.length) && !xe.collapsed) {
1286
1291
  const r = xe.children[0];
1287
- dt.isMobile ? T(r) : setTimeout(() => T(r), 0);
1292
+ ot.isMobile ? T(r) : setTimeout(() => T(r), 0);
1288
1293
  } else if (se + 1 >= p.nodes.length)
1289
1294
  ue("focusNext", !0);
1290
1295
  else {
1291
1296
  const r = p.nodes[se + 1];
1292
- dt.isMobile ? T(r) : setTimeout(() => T(r), 0);
1297
+ ot.isMobile ? T(r) : setTimeout(() => T(r), 0);
1293
1298
  }
1294
1299
  }
1295
1300
  function W(xe, Me = !1) {
@@ -1297,7 +1302,7 @@ const Zr = {
1297
1302
  const He = () => {
1298
1303
  const T = Xt(xe);
1299
1304
  T && s0(T, Ue, Me);
1300
- }, se = dt.isMobile ? 30 : 0;
1305
+ }, se = ot.isMobile ? 30 : 0;
1301
1306
  setTimeout(He, se);
1302
1307
  }
1303
1308
  function z(xe, Me, Ue = 0) {
@@ -1307,7 +1312,7 @@ const Zr = {
1307
1312
  const r = [...p.nodes];
1308
1313
  let c = r.findIndex((v) => v === Me);
1309
1314
  e.forEach((v, k) => {
1310
- Rr(Me) && k === 0 ? (v.uuid = Me.uuid, r.splice(c, 1, {
1315
+ Cr(Me) && k === 0 ? (v.uuid = Me.uuid, r.splice(c, 1, {
1311
1316
  ...v,
1312
1317
  uuid: Me.uuid,
1313
1318
  children: Me.children
@@ -1325,7 +1330,7 @@ const Zr = {
1325
1330
  return Me;
1326
1331
  }
1327
1332
  function Ye(xe, Me = !1, Ue = p.nodes) {
1328
- const He = dt.currentId, se = [...Ue];
1333
+ const He = ot.currentId, se = [...Ue];
1329
1334
  if (!Me && (!He || !document.getElementById(He))) {
1330
1335
  const e = se[se.length - 1];
1331
1336
  !(e != null && e.type) && !e.text ? se[se.length - 1] = {
@@ -1361,8 +1366,8 @@ const Zr = {
1361
1366
  function Pe() {
1362
1367
  let xe = !1;
1363
1368
  p.nodes.forEach((Me) => {
1364
- if (Me.uuid || (Me.uuid = zt(), xe = !0), $r(Me) && !Me.type) {
1365
- const Ue = Kr(Me.text);
1369
+ if (Me.uuid || (Me.uuid = zt(), xe = !0), Xr(Me) && !Me.type) {
1370
+ const Ue = Zr(Me.text);
1366
1371
  Ue && (Me.type = Ue.type, Me.content = Ue.content), xe = !0;
1367
1372
  }
1368
1373
  }), xe && et();
@@ -1378,10 +1383,10 @@ const Zr = {
1378
1383
  ue("change", [...xe]);
1379
1384
  }
1380
1385
  return (xe, Me) => {
1381
- const Ue = Oa("tree-editor");
1382
- return _.readOnly ? (tt(), ut("div", Zr, [
1386
+ const Ue = Fa("tree-editor");
1387
+ return _.readOnly ? (tt(), ct("div", Qr, [
1383
1388
  Ze("ul", null, [
1384
- (tt(!0), ut(S0, null, T0(_.nodes, (He) => (tt(), ut("li", {
1389
+ (tt(!0), ct(S0, null, T0(_.nodes, (He) => (tt(), ct("li", {
1385
1390
  key: He.uuid,
1386
1391
  id: `${He.uuid}`,
1387
1392
  class: Ot({
@@ -1390,7 +1395,7 @@ const Zr = {
1390
1395
  "has-child": !!(He.children || []).length
1391
1396
  })
1392
1397
  }, [
1393
- bt(We(ia), {
1398
+ bt(We(sa), {
1394
1399
  readOnly: "",
1395
1400
  tags: _.tags,
1396
1401
  node: He,
@@ -1403,11 +1408,11 @@ const Zr = {
1403
1408
  nodes: He.children,
1404
1409
  sublevel: !0
1405
1410
  }, null, 8, ["onChange", "nodes"])) : Tt("", !0)
1406
- ], 10, Qr))), 128))
1411
+ ], 10, Jr))), 128))
1407
1412
  ])
1408
- ])) : (tt(), ut("div", Jr, [
1413
+ ])) : (tt(), ct("div", en, [
1409
1414
  Ze("ul", null, [
1410
- (tt(!0), ut(S0, null, T0(_.nodes, (He) => (tt(), ut("li", {
1415
+ (tt(!0), ct(S0, null, T0(_.nodes, (He) => (tt(), ct("li", {
1411
1416
  key: He.uuid,
1412
1417
  id: `${He.uuid}`,
1413
1418
  ref_for: !0,
@@ -1419,13 +1424,13 @@ const Zr = {
1419
1424
  "has-child": !!(He.children || []).length
1420
1425
  }),
1421
1426
  onDragstart: Dt((se) => ce(se, He), ["stop"]),
1422
- onDragover: Dt((se) => We(Xr)(se, He), ["stop", "prevent"]),
1427
+ onDragover: Dt((se) => We(Kr)(se, He), ["stop", "prevent"]),
1423
1428
  onDragend: Dt((se) => ie(se), ["stop", "prevent"]),
1424
1429
  onDrop: Dt((se) => ge(se, He), ["stop"]),
1425
1430
  onDragleave: Dt((se) => We(z0)(se, He), ["stop"]),
1426
1431
  onPaste: Dt((se) => Ee(se, He), ["stop"])
1427
1432
  }, [
1428
- (tt(), Ut(We(ia), {
1433
+ (tt(), Ut(We(sa), {
1429
1434
  key: `${He.uuid}-${He.type || "text"}`,
1430
1435
  node: He,
1431
1436
  tags: _.tags,
@@ -1451,12 +1456,12 @@ const Zr = {
1451
1456
  onFileUpload: Me[0] || (Me[0] = (...se) => xe.$emit("fileUpload", ...se)),
1452
1457
  onDbEnter: Ae
1453
1458
  }, null, 8, ["nodes", "tags", "enableDbEnter", "onChange", "onFocusPrev", "onFocusNext", "onTransfer"])) : Tt("", !0)
1454
- ], 42, en))), 128))
1459
+ ], 42, tn))), 128))
1455
1460
  ])
1456
1461
  ]));
1457
1462
  };
1458
1463
  }
1459
- }), rn = /* @__PURE__ */ t0(an, [["__scopeId", "data-v-dc61c4c0"]]), nn = { class: "record-tree-title-bar" }, sn = ["onClick"], on = {
1464
+ }), nn = /* @__PURE__ */ t0(rn, [["__scopeId", "data-v-dc61c4c0"]]), sn = { class: "record-tree-title-bar" }, on = ["onClick"], ln = {
1460
1465
  __name: "index",
1461
1466
  props: {
1462
1467
  readOnly: {
@@ -1503,9 +1508,9 @@ const Zr = {
1503
1508
  // 图标定位left值
1504
1509
  tagT: "3px"
1505
1510
  // 图标定位top值
1506
- }, ue = ot(null), B = _, ne = K;
1511
+ }, ue = lt(null), B = _, ne = K;
1507
1512
  $({ focus: Ee });
1508
- const Y = ot(null), pe = W0() === "mobile", ce = ot(!1), ie = e0(() => {
1513
+ const Y = lt(null), pe = W0() === "mobile", ce = lt(!1), ie = e0(() => {
1509
1514
  try {
1510
1515
  const W = JSON.parse(B.note.title);
1511
1516
  if (typeof W != "object")
@@ -1517,8 +1522,8 @@ const Zr = {
1517
1522
  };
1518
1523
  }
1519
1524
  }), ge = e0(() => {
1520
- const W = fa(B.note.tag_id, B.tags), z = R0(B.note);
1521
- return va(W) && z.finished;
1525
+ const W = va(B.note.tag_id, B.tags), z = R0(B.note);
1526
+ return ha(W) && z.finished;
1522
1527
  });
1523
1528
  Wt(
1524
1529
  () => {
@@ -1543,7 +1548,7 @@ const Zr = {
1543
1548
  z.tag_id === ke ? delete z.tag_id : z.tag_id = ke, ne("change", z.title, z);
1544
1549
  }
1545
1550
  function G() {
1546
- dt.currentId = "tree_title", pe && wa(!1);
1551
+ ot.currentId = "tree_title", pe && ga(!1);
1547
1552
  }
1548
1553
  function q(W) {
1549
1554
  if (W.type)
@@ -1586,9 +1591,9 @@ const Zr = {
1586
1591
  }
1587
1592
  }
1588
1593
  async function he(W) {
1589
- const z = ma(W.type), ke = URL.createObjectURL(W);
1594
+ const z = _a(W.type), ke = URL.createObjectURL(W);
1590
1595
  let Ye = {};
1591
- switch ((z.mainType === "image" || z.mainType === "video") && (Ye = await _a(W, z.mainType)), z.mainType) {
1596
+ switch ((z.mainType === "image" || z.mainType === "video") && (Ye = await pa(W, z.mainType)), z.mainType) {
1592
1597
  case "image":
1593
1598
  case "audio":
1594
1599
  case "video":
@@ -1606,7 +1611,7 @@ const Zr = {
1606
1611
  size: W.size
1607
1612
  });
1608
1613
  }
1609
- pa.uploadFile([W], (Ve, Je) => {
1614
+ ba.uploadFile([W], (Ve, Je) => {
1610
1615
  if (Je) {
1611
1616
  const Pe = Je[0];
1612
1617
  Pe.code === 0 && q({
@@ -1616,8 +1621,8 @@ const Zr = {
1616
1621
  }
1617
1622
  });
1618
1623
  }
1619
- return (W, z) => (tt(), ut("div", nn, [
1620
- _.tags.length ? (tt(), Ut(We(da), { key: 0 }, ca({
1624
+ return (W, z) => (tt(), ct("div", sn, [
1625
+ _.tags.length ? (tt(), Ut(We(fa), { key: 0 }, da({
1621
1626
  default: M0(() => [
1622
1627
  Ze("span", {
1623
1628
  class: "record-tree-popper-reference",
@@ -1626,7 +1631,7 @@ const Zr = {
1626
1631
  left: p.tagL,
1627
1632
  width: p.tagSize + "px",
1628
1633
  height: p.tagSize + "px",
1629
- ...We(Pa)(_.note.tag_id, _.tags, _.note)
1634
+ ...We(Ua)(_.note.tag_id, _.tags, _.note)
1630
1635
  })
1631
1636
  }, null, 4)
1632
1637
  ]),
@@ -1639,7 +1644,7 @@ const Zr = {
1639
1644
  class: "record-tree-popper-content",
1640
1645
  style: Pt({ width: p.popW, height: p.popH })
1641
1646
  }, [
1642
- (tt(!0), ut(S0, null, T0(_.tags, (ke) => (tt(), ut("span", {
1647
+ (tt(!0), ct(S0, null, T0(_.tags, (ke) => (tt(), ct("span", {
1643
1648
  class: Ot(["record-tree-popper-content-item", {
1644
1649
  active: _.note.tag_id === ke.created_at
1645
1650
  }]),
@@ -1651,16 +1656,16 @@ const Zr = {
1651
1656
  style: Pt({
1652
1657
  width: p.tagSize + "px",
1653
1658
  height: p.tagSize + "px",
1654
- ...We(ha)(ke)
1659
+ ...We(ma)(ke)
1655
1660
  })
1656
1661
  }, null, 4)
1657
- ], 10, sn))), 128))
1662
+ ], 10, on))), 128))
1658
1663
  ], 4)
1659
1664
  ]),
1660
1665
  key: "0"
1661
1666
  }
1662
1667
  ]), 1024)) : Tt("", !0),
1663
- bt(We(Ma), {
1668
+ bt(We(Ra), {
1664
1669
  id: "tree_title",
1665
1670
  ref_key: "recordTitle",
1666
1671
  ref: ue,
@@ -1686,7 +1691,7 @@ var pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1686
1691
  function j0(_) {
1687
1692
  return _ && _.__esModule && Object.prototype.hasOwnProperty.call(_, "default") ? _.default : _;
1688
1693
  }
1689
- function ln(_) {
1694
+ function un(_) {
1690
1695
  if (_.__esModule)
1691
1696
  return _;
1692
1697
  var $ = _.default;
@@ -1707,26 +1712,26 @@ function ln(_) {
1707
1712
  });
1708
1713
  }), K;
1709
1714
  }
1710
- var Ca = { exports: {} };
1711
- function un(_) {
1715
+ var ka = { exports: {} };
1716
+ function cn(_) {
1712
1717
  throw new Error('Could not dynamically require "' + _ + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1713
1718
  }
1714
1719
  var Y0 = { exports: {} };
1715
- const cn = {}, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1720
+ const dn = {}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1716
1721
  __proto__: null,
1717
- default: cn
1718
- }, Symbol.toStringTag, { value: "Module" })), fn = /* @__PURE__ */ ln(dn);
1719
- var sa;
1722
+ default: dn
1723
+ }, Symbol.toStringTag, { value: "Module" })), vn = /* @__PURE__ */ un(fn);
1724
+ var oa;
1720
1725
  function A0() {
1721
- return sa || (sa = 1, function(_, $) {
1726
+ return oa || (oa = 1, function(_, $) {
1722
1727
  (function(K, p) {
1723
1728
  _.exports = p();
1724
1729
  })(pt, function() {
1725
1730
  var K = K || function(p, ue) {
1726
1731
  var B;
1727
- if (typeof window < "u" && window.crypto && (B = window.crypto), typeof self < "u" && self.crypto && (B = self.crypto), typeof globalThis < "u" && globalThis.crypto && (B = globalThis.crypto), !B && typeof window < "u" && window.msCrypto && (B = window.msCrypto), !B && typeof pt < "u" && pt.crypto && (B = pt.crypto), !B && typeof un == "function")
1732
+ if (typeof window < "u" && window.crypto && (B = window.crypto), typeof self < "u" && self.crypto && (B = self.crypto), typeof globalThis < "u" && globalThis.crypto && (B = globalThis.crypto), !B && typeof window < "u" && window.msCrypto && (B = window.msCrypto), !B && typeof pt < "u" && pt.crypto && (B = pt.crypto), !B && typeof cn == "function")
1728
1733
  try {
1729
- B = fn;
1734
+ B = vn;
1730
1735
  } catch {
1731
1736
  }
1732
1737
  var ne = function() {
@@ -2217,9 +2222,9 @@ function A0() {
2217
2222
  });
2218
2223
  }(Y0)), Y0.exports;
2219
2224
  }
2220
- var V0 = { exports: {} }, oa;
2221
- function vn() {
2222
- return oa || (oa = 1, function(_, $) {
2225
+ var V0 = { exports: {} }, la;
2226
+ function hn() {
2227
+ return la || (la = 1, function(_, $) {
2223
2228
  (function(K, p) {
2224
2229
  _.exports = p(A0());
2225
2230
  })(pt, function(K) {
@@ -2269,9 +2274,9 @@ function vn() {
2269
2274
  });
2270
2275
  }(V0)), V0.exports;
2271
2276
  }
2272
- var P0 = { exports: {} }, la;
2273
- function hn() {
2274
- return la || (la = 1, function(_, $) {
2277
+ var P0 = { exports: {} }, ua;
2278
+ function mn() {
2279
+ return ua || (ua = 1, function(_, $) {
2275
2280
  (function(K, p) {
2276
2281
  _.exports = p(A0());
2277
2282
  })(pt, function(K) {
@@ -2349,14 +2354,14 @@ function hn() {
2349
2354
  }
2350
2355
  (function(_, $) {
2351
2356
  (function(K, p, ue) {
2352
- _.exports = p(A0(), vn(), hn());
2357
+ _.exports = p(A0(), hn(), mn());
2353
2358
  })(pt, function(K) {
2354
2359
  return K.HmacSHA256;
2355
2360
  });
2356
- })(Ca);
2357
- var mn = Ca.exports;
2358
- const _n = /* @__PURE__ */ j0(mn);
2359
- var ka = { exports: {} };
2361
+ })(ka);
2362
+ var _n = ka.exports;
2363
+ const pn = /* @__PURE__ */ j0(_n);
2364
+ var Aa = { exports: {} };
2360
2365
  (function(_, $) {
2361
2366
  (function(K, p) {
2362
2367
  _.exports = p(A0());
@@ -2428,33 +2433,33 @@ var ka = { exports: {} };
2428
2433
  }
2429
2434
  }(), K.enc.Base64;
2430
2435
  });
2431
- })(ka);
2432
- var pn = ka.exports;
2433
- const bn = /* @__PURE__ */ j0(pn);
2434
- let Gt, i0 = "", x0 = "", Aa = null;
2435
- function wn() {
2436
+ })(Aa);
2437
+ var bn = Aa.exports;
2438
+ const wn = /* @__PURE__ */ j0(bn);
2439
+ let Gt, i0 = "", x0 = "", Ba = null;
2440
+ function gn() {
2436
2441
  var _ = "wss://iat-api.xfyun.cn/v2/iat", $ = "iat-api.xfyun.cn", K = "4f2bbe08d7ee54da888cfd009514e89f", p = "NTc3MWNlNDNiZWFmMGM2Yzk0ZjRlZjdi", ue = (/* @__PURE__ */ new Date()).toGMTString(), B = "hmac-sha256", ne = "host date request-line", Y = `host: ${$}
2437
2442
  date: ${ue}
2438
- GET /v2/iat HTTP/1.1`, pe = _n(Y, p), ce = bn.stringify(pe), ie = `api_key="${K}", algorithm="${B}", headers="${ne}", signature="${ce}"`, ge = btoa(ie);
2443
+ GET /v2/iat HTTP/1.1`, pe = pn(Y, p), ce = wn.stringify(pe), ie = `api_key="${K}", algorithm="${B}", headers="${ne}", signature="${ce}"`, ge = btoa(ie);
2439
2444
  return _ = `${_}?authorization=${ge}&date=${ue}&host=${$}`, _;
2440
2445
  }
2441
- function gn(_) {
2446
+ function yn(_) {
2442
2447
  for (var $ = "", K = new Uint8Array(_), p = K.byteLength, ue = 0; ue < p; ue++)
2443
2448
  $ += String.fromCharCode(K[ue]);
2444
2449
  return $;
2445
2450
  }
2446
- function yn(_) {
2451
+ function xn(_) {
2447
2452
  let $ = JSON.parse(_);
2448
2453
  if ($.data && $.data.result) {
2449
2454
  let K = $.data.result, p = "", ue = K.ws;
2450
2455
  for (let B = 0; B < ue.length; B++)
2451
2456
  p = p + ue[B].cw[0].w;
2452
- K.pgs ? (K.pgs === "apd" && (i0 = x0), x0 = i0 + p) : i0 = i0 + p, Aa(x0 || i0 || "");
2457
+ K.pgs ? (K.pgs === "apd" && (i0 = x0), x0 = i0 + p) : i0 = i0 + p, Ba(x0 || i0 || "");
2453
2458
  }
2454
2459
  $.code === 0 && $.data.status === 2 && Gt.close(), $.code !== 0 && (Gt.close(), console.error($));
2455
2460
  }
2456
- function xn(_) {
2457
- const $ = wn();
2461
+ function Sn(_) {
2462
+ const $ = gn();
2458
2463
  Gt = new WebSocket($), Gt.onopen = () => {
2459
2464
  var K = {
2460
2465
  common: {
@@ -2475,16 +2480,16 @@ function xn(_) {
2475
2480
  };
2476
2481
  Gt.send(JSON.stringify(K)), _();
2477
2482
  }, Gt.onmessage = (K) => {
2478
- yn(K.data);
2483
+ xn(K.data);
2479
2484
  }, Gt.onerror = (K) => {
2480
2485
  console.error(K);
2481
2486
  };
2482
2487
  }
2483
- function Sn(_, $) {
2484
- Gt = null, i0 = "", x0 = "", Aa = $, xn(() => {
2488
+ function Tn(_, $) {
2489
+ Gt = null, i0 = "", x0 = "", Ba = $, Sn(() => {
2485
2490
  const K = new FileReader();
2486
2491
  K.readAsArrayBuffer(_), K.onload = (p) => {
2487
- const ue = gn(p.target.result);
2492
+ const ue = yn(p.target.result);
2488
2493
  let B = 0;
2489
2494
  for (; B < ue.length; ) {
2490
2495
  const ne = ue.substring(B, B + 1280);
@@ -2506,7 +2511,7 @@ function Sn(_, $) {
2506
2511
  };
2507
2512
  });
2508
2513
  }
2509
- var Ba = { exports: {} };
2514
+ var Ea = { exports: {} };
2510
2515
  (function(_) {
2511
2516
  (function($) {
2512
2517
  var K = typeof window == "object" && !!window.document, p = K ? window : Object;
@@ -3338,9 +3343,9 @@ var Ba = { exports: {} };
3338
3343
  };
3339
3344
  G && (Ve(se("8HO5::覆盖导入{1}", 0, pe), 1), G.Destroy()), $[pe] = B;
3340
3345
  });
3341
- })(Ba);
3342
- var Tn = Ba.exports;
3343
- const U0 = /* @__PURE__ */ j0(Tn);
3346
+ })(Ea);
3347
+ var Mn = Ea.exports;
3348
+ const U0 = /* @__PURE__ */ j0(Mn);
3344
3349
  (function(_) {
3345
3350
  var $ = typeof window == "object" && !!window.document, K = $ ? window : Object, p = K.Recorder, ue = p.i18n;
3346
3351
  _(p, ue, ue.$T, $);
@@ -10494,7 +10499,7 @@ const U0 = /* @__PURE__ */ j0(Tn);
10494
10499
  -0.313819 * 2
10495
10500
  ];
10496
10501
  this.L3psycho_anal_ns = function(de, P, oe, je, qe, Ce, ze, Ge, $e, st) {
10497
- var Xe = de.internal_flags, yt = ce([2, s.BLKSIZE]), ft = ce([2, 3, s.BLKSIZE_s]), wt = Y(s.CBANDS + 1), Rt = Y(s.CBANDS + 1), vt = Y(s.CBANDS + 2), it = ne(2), _t = ne(2), Lt, Ke, lt, rt, St, jt, Ft, mt, p0 = ce([2, 576]), Yt, Kt = ne(s.CBANDS + 2), a0 = ne(s.CBANDS + 2);
10502
+ var Xe = de.internal_flags, yt = ce([2, s.BLKSIZE]), ft = ce([2, 3, s.BLKSIZE_s]), wt = Y(s.CBANDS + 1), Rt = Y(s.CBANDS + 1), vt = Y(s.CBANDS + 2), it = ne(2), _t = ne(2), Lt, Ke, ut, rt, St, jt, Ft, mt, p0 = ce([2, 576]), Yt, Kt = ne(s.CBANDS + 2), a0 = ne(s.CBANDS + 2);
10498
10503
  for (Te.fill(a0, 0), Lt = Xe.channels_out, de.mode == X.JOINT_STEREO && (Lt = 4), de.VBR == b.vbr_off ? Yt = Xe.ResvMax == 0 ? 0 : Xe.ResvSize / Xe.ResvMax * 0.5 : de.VBR == b.vbr_rh || de.VBR == b.vbr_mtrh || de.VBR == b.vbr_mt ? Yt = 0.6 : Yt = 1, Ke = 0; Ke < Xe.channels_out; Ke++) {
10499
10504
  var o0 = P[Ke], l0 = oe + 576 - 350 - H + 192;
10500
10505
  for (rt = 0; rt < 576; rt++) {
@@ -10513,7 +10518,7 @@ const U0 = /* @__PURE__ */ j0(Tn);
10513
10518
  {
10514
10519
  var aa = p0[Ke & 1], u0 = 0;
10515
10520
  for (rt = 0; rt < 9; rt++) {
10516
- for (var La = u0 + 64, It = 1; u0 < La; u0++)
10521
+ for (var Ia = u0 + 64, It = 1; u0 < Ia; u0++)
10517
10522
  It < Math.abs(aa[u0]) && (It = Math.abs(aa[u0]));
10518
10523
  Xe.nsPsy.last_en_subshort[Ke][rt] = Vt[rt + 3] = It, $t[1 + rt / 3] += It, It > Vt[rt + 3 - 2] ? It = It / Vt[rt + 3 - 2] : Vt[rt + 3 - 2] > It * 10 ? It = Vt[rt + 3 - 2] / (It * 10) : It = 0, D0[rt + 3] = It;
10519
10524
  }
@@ -10565,23 +10570,23 @@ const U0 = /* @__PURE__ */ j0(Tn);
10565
10570
  I0 = Vt[mt * 3 + 3] + Vt[mt * 3 + 4] + Vt[mt * 3 + 5], Vt[mt * 3 + 5] * 6 < I0 && (Nt *= 0.5, Vt[mt * 3 + 4] * 6 < I0 && (Nt *= 0.5)), Xe.thm[Ke].s[Ft][mt] = Nt;
10566
10571
  }
10567
10572
  }
10568
- for (Xe.nsPsy.lastAttacks[Ke] = Bt[2], jt = 0, lt = 0; lt < Xe.npart_l; lt++) {
10569
- for (var Zt = Xe.s3ind[lt][0], O0 = wt[Zt] * i[Kt[Zt]], Qt = Xe.s3_ll[jt++] * O0; ++Zt <= Xe.s3ind[lt][1]; )
10573
+ for (Xe.nsPsy.lastAttacks[Ke] = Bt[2], jt = 0, ut = 0; ut < Xe.npart_l; ut++) {
10574
+ for (var Zt = Xe.s3ind[ut][0], O0 = wt[Zt] * i[Kt[Zt]], Qt = Xe.s3_ll[jt++] * O0; ++Zt <= Xe.s3ind[ut][1]; )
10570
10575
  O0 = wt[Zt] * i[Kt[Zt]], Qt = R(
10571
10576
  Qt,
10572
10577
  Xe.s3_ll[jt++] * O0,
10573
10578
  Zt,
10574
- Zt - lt,
10579
+ Zt - ut,
10575
10580
  Xe
10576
10581
  );
10577
- Qt *= 0.158489319246111, Xe.blocktype_old[Ke & 1] == s.SHORT_TYPE ? vt[lt] = Qt : vt[lt] = O(
10578
- Math.min(Qt, Math.min(x * Xe.nb_1[Ke][lt], m * Xe.nb_2[Ke][lt])),
10582
+ Qt *= 0.158489319246111, Xe.blocktype_old[Ke & 1] == s.SHORT_TYPE ? vt[ut] = Qt : vt[ut] = O(
10583
+ Math.min(Qt, Math.min(x * Xe.nb_1[Ke][ut], m * Xe.nb_2[Ke][ut])),
10579
10584
  Qt,
10580
10585
  Yt
10581
- ), Xe.nb_2[Ke][lt] = Xe.nb_1[Ke][lt], Xe.nb_1[Ke][lt] = Qt;
10586
+ ), Xe.nb_2[Ke][ut] = Xe.nb_1[Ke][ut], Xe.nb_1[Ke][ut] = Qt;
10582
10587
  }
10583
- for (; lt <= s.CBANDS; ++lt)
10584
- wt[lt] = 0, vt[lt] = 0;
10588
+ for (; ut <= s.CBANDS; ++ut)
10589
+ wt[ut] = 0, vt[ut] = 0;
10585
10590
  a(Xe, wt, vt, Ke);
10586
10591
  }
10587
10592
  for ((de.mode == X.STEREO || de.mode == X.JOINT_STEREO) && p(), de.mode == X.JOINT_STEREO && p(), ee(de, _t, st, it), Ke = 0; Ke < Lt; Ke++) {
@@ -10613,11 +10618,11 @@ const U0 = /* @__PURE__ */ j0(Tn);
10613
10618
  }
10614
10619
  }
10615
10620
  ft[vt] = Ge * it;
10616
- for (var lt = 0; lt < yt; lt++) {
10621
+ for (var ut = 0; ut < yt; ut++) {
10617
10622
  var rt, St, jt, Ft, mt;
10618
- jt = st[lt], Ft = st[lt + 1], rt = 0 | Math.floor(0.5 + Xe * (jt - 0.5)), rt < 0 && (rt = 0), St = 0 | Math.floor(0.5 + Xe * (Ft - 0.5)), St > $e / 2 && (St = $e / 2), oe[lt] = (Rt[rt] + Rt[St]) / 2, P[lt] = Rt[St];
10623
+ jt = st[ut], Ft = st[ut + 1], rt = 0 | Math.floor(0.5 + Xe * (jt - 0.5)), rt < 0 && (rt = 0), St = 0 | Math.floor(0.5 + Xe * (Ft - 0.5)), St > $e / 2 && (St = $e / 2), oe[ut] = (Rt[rt] + Rt[St]) / 2, P[ut] = Rt[St];
10619
10624
  var p0 = wt * Ft;
10620
- ze[lt] = (p0 - ft[P[lt]]) / (ft[P[lt] + 1] - ft[P[lt]]), ze[lt] < 0 ? ze[lt] = 0 : ze[lt] > 1 && (ze[lt] = 1), mt = kt(Ge * st[lt] * Xe), mt = Math.min(mt, 15.5) / 15.5, Ce[lt] = Math.pow(
10625
+ ze[ut] = (p0 - ft[P[ut]]) / (ft[P[ut] + 1] - ft[P[ut]]), ze[ut] < 0 ? ze[ut] = 0 : ze[ut] > 1 && (ze[ut] = 1), mt = kt(Ge * st[ut] * Xe), mt = Math.min(mt, 15.5) / 15.5, Ce[ut] = Math.pow(
10621
10626
  10,
10622
10627
  1.25 * (1 - Math.cos(Math.PI * mt)) - 2.5
10623
10628
  );
@@ -10718,8 +10723,8 @@ const U0 = /* @__PURE__ */ j0(Tn);
10718
10723
  var _t;
10719
10724
  _t = Ae.MAX_VALUE;
10720
10725
  for (var Lt = 0; Lt < P.numlines_l[oe]; Lt++, it++) {
10721
- var Ke = wt * it / (1e3 * s.BLKSIZE), lt;
10722
- lt = this.ATHformula(Ke * 1e3, de) - 20, lt = Math.pow(10, 0.1 * lt), lt *= P.numlines_l[oe], _t > lt && (_t = lt);
10726
+ var Ke = wt * it / (1e3 * s.BLKSIZE), ut;
10727
+ ut = this.ATHformula(Ke * 1e3, de) - 20, ut = Math.pow(10, 0.1 * ut), ut *= P.numlines_l[oe], _t > ut && (_t = ut);
10723
10728
  }
10724
10729
  P.ATH.cb_l[oe] = _t, _t = -20 + Xe[oe] * 20 / 10, _t > 6 && (_t = 100), _t < -15 && (_t = -15), _t -= 8, P.minval_l[oe] = Math.pow(10, _t / 10) * P.numlines_l[oe];
10725
10730
  }
@@ -10740,8 +10745,8 @@ const U0 = /* @__PURE__ */ j0(Tn);
10740
10745
  var _t, vt = $e;
10741
10746
  Xe[oe] >= qe && (vt = st * (Xe[oe] - qe) / (Ce - qe) + $e * (Ce - Xe[oe]) / (Ce - qe)), ft[oe] = Math.pow(10, vt / 10), _t = Ae.MAX_VALUE;
10742
10747
  for (var Lt = 0; Lt < P.numlines_s[oe]; Lt++, it++) {
10743
- var Ke = wt * it / (1e3 * s.BLKSIZE_s), lt;
10744
- lt = this.ATHformula(Ke * 1e3, de) - 20, lt = Math.pow(10, 0.1 * lt), lt *= P.numlines_s[oe], _t > lt && (_t = lt);
10748
+ var Ke = wt * it / (1e3 * s.BLKSIZE_s), ut;
10749
+ ut = this.ATHformula(Ke * 1e3, de) - 20, ut = Math.pow(10, 0.1 * ut), ut *= P.numlines_s[oe], _t > ut && (_t = ut);
10745
10750
  }
10746
10751
  P.ATH.cb_s[oe] = _t, _t = -7 + Xe[oe] * 7 / 12, Xe[oe] > 12 && (_t *= 1 + Math.log(1 + _t) * 3.1), Xe[oe] < 12 && (_t *= 1 + Math.log(1 - _t) * 2.3), _t < -15 && (_t = -15), _t -= 8, P.minval_s[oe] = Math.pow(10, _t / 10) * P.numlines_s[oe];
10747
10752
  }
@@ -11374,19 +11379,19 @@ const U0 = /* @__PURE__ */ j0(Tn);
11374
11379
  }
11375
11380
  }, _[B] = ue;
11376
11381
  });
11377
- const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11382
+ const Da = (_) => (Na("data-v-e59bd63b"), _ = _(), Ha(), _), Rn = {
11378
11383
  key: 0,
11379
11384
  class: "record-audio-mobile"
11380
- }, Rn = /* @__PURE__ */ Ea(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), Cn = {
11385
+ }, Cn = /* @__PURE__ */ Da(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), kn = {
11381
11386
  key: 1,
11382
11387
  class: "record-audio"
11383
- }, kn = { class: "main" }, An = /* @__PURE__ */ Ea(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), Bn = { class: "duration" }, En = {
11388
+ }, An = { class: "main" }, Bn = /* @__PURE__ */ Da(() => /* @__PURE__ */ Ze("div", { class: "recwave" }, null, -1)), En = { class: "duration" }, Dn = {
11384
11389
  key: 0,
11385
11390
  class: "audio-item"
11386
- }, Dn = ["src"], Ln = {
11391
+ }, Ln = ["src"], In = {
11387
11392
  key: 1,
11388
11393
  class: "audio-text"
11389
- }, In = { class: "buttons" }, On = {
11394
+ }, On = { class: "buttons" }, Fn = {
11390
11395
  __name: "audio",
11391
11396
  props: {
11392
11397
  responsive: {
@@ -11396,9 +11401,9 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11396
11401
  },
11397
11402
  emits: ["finish", "cancel"],
11398
11403
  setup(_, { emit: $ }) {
11399
- const K = _, p = $, ue = ot(null), B = ot(null), ne = ot(!1), Y = ot(!1), pe = ot(null), ce = ot(null), ie = ot("00:00"), ge = ot("100vw"), Ee = ot("");
11404
+ const K = _, p = $, ue = lt(null), B = lt(null), ne = lt(!1), Y = lt(!1), pe = lt(null), ce = lt(null), ie = lt("00:00"), ge = lt("100vw"), Ee = lt("");
11400
11405
  function Te() {
11401
- ge.value = dt.isMobile || K.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, ue.value = U0({
11406
+ ge.value = ot.isMobile || K.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, ue.value = U0({
11402
11407
  //本配置参数请参考下面的文档,有详细介绍
11403
11408
  type: "mp3",
11404
11409
  sampleRate: 16e3,
@@ -11435,7 +11440,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11435
11440
  function ve() {
11436
11441
  ue.value.stop(
11437
11442
  (W, z) => {
11438
- Y.value = !1, pe.value = window.URL.createObjectURL(W), ie.value = G(z), ce.value = W, dt.isMobile && Ae();
11443
+ Y.value = !1, pe.value = window.URL.createObjectURL(W), ie.value = G(z), ce.value = W, ot.isMobile && Ae();
11439
11444
  },
11440
11445
  (W) => {
11441
11446
  console.log("录音失败:" + W), Y.value = !1, pe.value = null, ce.value = null, ie.value = "00:00";
@@ -11460,18 +11465,18 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11460
11465
  type: ce.value.type,
11461
11466
  lastModified: z
11462
11467
  });
11463
- Sn(Ye, (Ve) => {
11468
+ Tn(Ye, (Ve) => {
11464
11469
  Ee.value = Ve;
11465
11470
  });
11466
11471
  }
11467
- return (W, z) => (tt(), ut("div", {
11472
+ return (W, z) => (tt(), ct("div", {
11468
11473
  class: "wrap",
11469
11474
  style: Pt({
11470
11475
  width: ge.value
11471
11476
  })
11472
11477
  }, [
11473
- We(dt).isMobile ? (tt(), ut("div", Mn, [
11474
- Y.value ? (tt(), ut("a", {
11478
+ We(ot).isMobile ? (tt(), ct("div", Rn, [
11479
+ Y.value ? (tt(), ct("a", {
11475
11480
  key: 1,
11476
11481
  onClick: ve,
11477
11482
  title: "停止录制",
@@ -11482,7 +11487,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11482
11487
  width: 24,
11483
11488
  height: 24
11484
11489
  }, null, 8, ["src"])
11485
- ])) : (tt(), ut("a", {
11490
+ ])) : (tt(), ct("a", {
11486
11491
  key: 0,
11487
11492
  onClick: q,
11488
11493
  title: "开始录制",
@@ -11494,23 +11499,23 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11494
11499
  height: 24
11495
11500
  }, null, 8, ["src"])
11496
11501
  ])),
11497
- Rn
11498
- ])) : (tt(), ut("div", Cn, [
11499
- Ze("div", kn, [
11500
- An,
11501
- Ze("div", Bn, Jt(ie.value), 1)
11502
+ Cn
11503
+ ])) : (tt(), ct("div", kn, [
11504
+ Ze("div", An, [
11505
+ Bn,
11506
+ Ze("div", En, Jt(ie.value), 1)
11502
11507
  ]),
11503
- pe.value && !We(dt).isMobile ? (tt(), ut("div", En, [
11508
+ pe.value && !We(ot).isMobile ? (tt(), ct("div", Dn, [
11504
11509
  Ze("audio", {
11505
11510
  src: pe.value,
11506
11511
  controls: "",
11507
11512
  ref: "audio"
11508
- }, null, 8, Dn),
11513
+ }, null, 8, Ln),
11509
11514
  Ze("a", { onClick: he }, "转文本")
11510
11515
  ])) : Tt("", !0),
11511
- Ee.value ? (tt(), ut("div", Ln, Jt(Ee.value), 1)) : Tt("", !0),
11512
- Ze("div", In, [
11513
- Y.value ? (tt(), ut("a", {
11516
+ Ee.value ? (tt(), ct("div", In, Jt(Ee.value), 1)) : Tt("", !0),
11517
+ Ze("div", On, [
11518
+ Y.value ? (tt(), ct("a", {
11514
11519
  key: 1,
11515
11520
  onClick: ve,
11516
11521
  title: "停止录制",
@@ -11521,7 +11526,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11521
11526
  width: 24,
11522
11527
  height: 24
11523
11528
  }, null, 8, ["src"])
11524
- ])) : (tt(), ut("a", {
11529
+ ])) : (tt(), ct("a", {
11525
11530
  key: 0,
11526
11531
  onClick: q,
11527
11532
  title: "开始录制",
@@ -11541,7 +11546,7 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11541
11546
  disabled: !ce.value
11542
11547
  })
11543
11548
  }, " 插入音频 ", 2),
11544
- Ee.value ? (tt(), ut("a", {
11549
+ Ee.value ? (tt(), ct("a", {
11545
11550
  key: 2,
11546
11551
  onClick: b,
11547
11552
  class: Ot({
@@ -11561,8 +11566,8 @@ const Ea = (_) => (Fa("data-v-e59bd63b"), _ = _(), Na(), _), Mn = {
11561
11566
  })
11562
11567
  ], 4));
11563
11568
  }
11564
- }, Fn = /* @__PURE__ */ t0(On, [["__scopeId", "data-v-e59bd63b"]]);
11565
- var Da = { exports: {} };
11569
+ }, Nn = /* @__PURE__ */ t0(Fn, [["__scopeId", "data-v-e59bd63b"]]);
11570
+ var La = { exports: {} };
11566
11571
  (function(_) {
11567
11572
  /**
11568
11573
  * {@link https://github.com/muaz-khan/RecordRTC|RecordRTC} is a WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
@@ -14110,9 +14115,9 @@ var Da = { exports: {} };
14110
14115
  }, this.blob = null;
14111
14116
  }
14112
14117
  typeof $ < "u" && ($.WebAssemblyRecorder = se);
14113
- })(Da);
14114
- var Nn = Da.exports;
14115
- const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14118
+ })(La);
14119
+ var Hn = La.exports;
14120
+ const Yn = { class: "record-video" }, Vn = { class: "buttons" }, Pn = {
14116
14121
  __name: "video",
14117
14122
  props: {
14118
14123
  responsive: {
@@ -14122,14 +14127,14 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14122
14127
  },
14123
14128
  emits: ["finish", "cancel"],
14124
14129
  setup(_, { emit: $ }) {
14125
- const K = _, p = $, ue = ot(null), B = ot(null), ne = ot(!1), Y = ot(null), pe = ot("100vw"), ce = ot(null);
14130
+ const K = _, p = $, ue = lt(null), B = lt(null), ne = lt(!1), Y = lt(null), pe = lt("100vw"), ce = lt(null);
14126
14131
  async function ie() {
14127
14132
  pe.value = K.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, B.value = await navigator.mediaDevices.getUserMedia({
14128
14133
  video: !0,
14129
14134
  audio: !0
14130
14135
  }), Ht(() => {
14131
14136
  Te();
14132
- }), ue.value = new Nn.RecordRTCPromisesHandler(B.value, {
14137
+ }), ue.value = new Hn.RecordRTCPromisesHandler(B.value, {
14133
14138
  type: "video",
14134
14139
  mimeType: "video/webm;codecs=vp9"
14135
14140
  });
@@ -14164,13 +14169,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14164
14169
  function ve() {
14165
14170
  p("cancel");
14166
14171
  }
14167
- return (Ae, b) => (tt(), ut("div", {
14172
+ return (Ae, b) => (tt(), ct("div", {
14168
14173
  class: "wrap",
14169
14174
  style: Pt({
14170
14175
  width: pe.value
14171
14176
  })
14172
14177
  }, [
14173
- Ze("div", Hn, [
14178
+ Ze("div", Yn, [
14174
14179
  Ze("video", {
14175
14180
  muted: !1,
14176
14181
  volume: 1,
@@ -14179,8 +14184,8 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14179
14184
  ref: ce,
14180
14185
  class: "video-item"
14181
14186
  }, null, 512),
14182
- Ze("div", Yn, [
14183
- ne.value ? (tt(), ut("a", {
14187
+ Ze("div", Vn, [
14188
+ ne.value ? (tt(), ct("a", {
14184
14189
  key: 1,
14185
14190
  onClick: Ee,
14186
14191
  title: "停止录制",
@@ -14191,7 +14196,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14191
14196
  width: 24,
14192
14197
  height: 24
14193
14198
  }, null, 8, ["src"])
14194
- ])) : (tt(), ut("a", {
14199
+ ])) : (tt(), ct("a", {
14195
14200
  key: 0,
14196
14201
  onClick: ge,
14197
14202
  title: "开始录制",
@@ -14222,7 +14227,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14222
14227
  })
14223
14228
  ], 4));
14224
14229
  }
14225
- }, Pn = /* @__PURE__ */ t0(Vn, [["__scopeId", "data-v-9c809fcc"]]), Un = { class: "record-video" }, zn = { class: "record-content" }, Gn = { class: "img-item" }, qn = ["src"], Wn = { class: "buttons" }, jn = {
14230
+ }, Un = /* @__PURE__ */ t0(Pn, [["__scopeId", "data-v-9c809fcc"]]), zn = { class: "record-video" }, Gn = { class: "record-content" }, qn = { class: "img-item" }, Wn = ["src"], jn = { class: "buttons" }, $n = {
14226
14231
  __name: "photo",
14227
14232
  props: {
14228
14233
  responsive: {
@@ -14232,7 +14237,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14232
14237
  },
14233
14238
  emits: ["finish", "cancel"],
14234
14239
  setup(_, { emit: $ }) {
14235
- const K = _, p = $, ue = ot(null), B = ot(null), ne = ot("100vw"), Y = ot(null), pe = ot(null);
14240
+ const K = _, p = $, ue = lt(null), B = lt(null), ne = lt("100vw"), Y = lt(null), pe = lt(null);
14236
14241
  _0(() => {
14237
14242
  var G;
14238
14243
  (G = B.value) == null || G.stop(), B.value = null;
@@ -14260,14 +14265,14 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14260
14265
  function Te() {
14261
14266
  p("cancel");
14262
14267
  }
14263
- return ce(), (G, q) => (tt(), ut("div", {
14268
+ return ce(), (G, q) => (tt(), ct("div", {
14264
14269
  class: "wrap",
14265
14270
  style: Pt({
14266
14271
  width: ne.value
14267
14272
  })
14268
14273
  }, [
14269
- Ze("div", Un, [
14270
- Ze("div", zn, [
14274
+ Ze("div", zn, [
14275
+ Ze("div", Gn, [
14271
14276
  Ze("video", {
14272
14277
  muted: !0,
14273
14278
  volume: 0,
@@ -14277,11 +14282,11 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14277
14282
  ref: Y,
14278
14283
  class: "video-item"
14279
14284
  }, null, 512),
14280
- Ze("div", Gn, [
14281
- ue.value ? (tt(), ut("img", {
14285
+ Ze("div", qn, [
14286
+ ue.value ? (tt(), ct("img", {
14282
14287
  key: 0,
14283
14288
  src: ue.value
14284
- }, null, 8, qn)) : Tt("", !0)
14289
+ }, null, 8, Wn)) : Tt("", !0)
14285
14290
  ])
14286
14291
  ]),
14287
14292
  Ze("canvas", {
@@ -14291,7 +14296,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14291
14296
  ref_key: "canvas",
14292
14297
  ref: pe
14293
14298
  }, null, 512),
14294
- Ze("div", Wn, [
14299
+ Ze("div", jn, [
14295
14300
  Ze("a", {
14296
14301
  onClick: ie,
14297
14302
  title: "拍照",
@@ -14322,27 +14327,27 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14322
14327
  })
14323
14328
  ], 4));
14324
14329
  }
14325
- }, $n = /* @__PURE__ */ t0(jn, [["__scopeId", "data-v-69fc6ef1"]]), Xn = {
14330
+ }, Xn = /* @__PURE__ */ t0($n, [["__scopeId", "data-v-69fc6ef1"]]), Kn = {
14326
14331
  key: 0,
14327
14332
  class: "record-tree-clipboard"
14328
- }, Kn = { class: "record-tree-clipboard-text" }, Zn = /* @__PURE__ */ Ze("p", null, "来源剪切板", -1), Qn = { class: "record-tree-clipboard-operation" }, Jn = { class: "top-bar-left" }, ei = {
14333
+ }, Zn = { class: "record-tree-clipboard-text" }, Qn = /* @__PURE__ */ Ze("p", null, "来源剪切板", -1), Jn = { class: "record-tree-clipboard-operation" }, ei = { class: "top-bar-left" }, ti = {
14329
14334
  key: 0,
14330
14335
  class: "top-bar-right"
14331
- }, ti = { id: "root_tree" }, ai = {
14336
+ }, ai = { id: "root_tree" }, ri = {
14332
14337
  key: 1,
14333
14338
  class: "record-tree-options"
14334
- }, ri = { class: "record-tree-option-left" }, ni = { class: "record-tree-option-left-fixed" }, ii = {
14339
+ }, ni = { class: "record-tree-option-left" }, ii = { class: "record-tree-option-left-fixed" }, si = {
14335
14340
  key: 0,
14336
14341
  class: "record-tree-option-item",
14337
14342
  title: "字体颜色",
14338
14343
  style: { position: "relative" }
14339
- }, si = {
14344
+ }, oi = {
14340
14345
  key: 0,
14341
14346
  class: "record-tree-option-right"
14342
- }, oi = { style: { display: "none" } }, li = {
14347
+ }, li = { style: { display: "none" } }, ui = {
14343
14348
  key: 5,
14344
14349
  class: "record-tree-lock"
14345
- }, ua = "KEY_PENDING_NODES", ui = "tree_title", xi = {
14350
+ }, ca = "KEY_PENDING_NODES", ci = "tree_title", Si = {
14346
14351
  __name: "record-tree",
14347
14352
  props: {
14348
14353
  note: {
@@ -14408,7 +14413,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14408
14413
  setup(_, { expose: $, emit: K }) {
14409
14414
  const p = _, ue = K;
14410
14415
  $({ focusTitle: ht, focusContent: U });
14411
- const B = ot([{ text: "", uuid: zt() }]), ne = ot(null), Y = ot(!1), pe = ot(!1), ce = ot(!1), ie = ot(!1), ge = ot(!1), Ee = ot(p.initialLock), Te = ot(!1), G = ot({}), q = ot(null), ve = ot(null), Ae = ot(null), b = ot(null), X = ot(null);
14416
+ const B = lt([{ text: "", uuid: zt() }]), ne = lt(null), Y = lt(!1), pe = lt(!1), ce = lt(!1), ie = lt(!1), ge = lt(!1), Ee = lt(p.initialLock), Te = lt(!1), G = lt({}), q = lt(null), ve = lt(null), Ae = lt(null), b = lt(null), X = lt(null);
14412
14417
  let he = null, W = null;
14413
14418
  const z = e0(() => !!R0(p.note).rel), ke = e0(() => ge.value ? !0 : ie.value || p.note.created_at);
14414
14419
  Wt(
@@ -14421,8 +14426,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14421
14426
  }), Wt(
14422
14427
  () => p.note.created_at,
14423
14428
  (x, m) => {
14424
- x !== m && (Ee.value = p.initialLock);
14425
- }
14429
+ x !== m && (Ee.value = p.initialLock), ot.noteCreatedAt = x;
14430
+ },
14431
+ { immediate: !0 }
14426
14432
  ), Wt(
14427
14433
  () => p.note,
14428
14434
  (x, m) => {
@@ -14451,7 +14457,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14451
14457
  he && (clearTimeout(he), he = null), ae();
14452
14458
  });
14453
14459
  function Ye() {
14454
- typeof p.mobile == "boolean" && (dt.isMobile = p.mobile);
14460
+ typeof p.mobile == "boolean" && (ot.isMobile = p.mobile);
14455
14461
  }
14456
14462
  function Ve(x) {
14457
14463
  if (!x)
@@ -14541,7 +14547,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14541
14547
  });
14542
14548
  }
14543
14549
  function T(x) {
14544
- const m = dt.currentId;
14550
+ const m = ot.currentId;
14545
14551
  m && !Ee.value && Xt({ uuid: m }).dispatchEvent(x);
14546
14552
  }
14547
14553
  function e() {
@@ -14581,7 +14587,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14581
14587
  T(x);
14582
14588
  }
14583
14589
  function k() {
14584
- return m0[dt.currentId];
14590
+ return m0[ot.currentId];
14585
14591
  }
14586
14592
  function Z() {
14587
14593
  const x = k();
@@ -14604,7 +14610,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14604
14610
  m && !m.contains(x.target) && ae();
14605
14611
  }
14606
14612
  function De(x) {
14607
- dt.isMobile || p.readOnly || z.value || (x.preventDefault(), x.stopPropagation(), ae(), G.value = {
14613
+ ot.isMobile || p.readOnly || z.value || (x.preventDefault(), x.stopPropagation(), ae(), G.value = {
14608
14614
  left: `${x.clientX}px`,
14609
14615
  top: `${x.clientY}px`
14610
14616
  }, Te.value = !0, Ht(() => {
@@ -14621,16 +14627,16 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14621
14627
  Ee.value || Ae.value && Ae.value.click();
14622
14628
  }
14623
14629
  function Ne() {
14624
- Ee.value || (dt.isMobile ? X.value.click() : pe.value = !0);
14630
+ Ee.value || (ot.isMobile ? X.value.click() : pe.value = !0);
14625
14631
  }
14626
14632
  function ye() {
14627
14633
  Ee.value || (Y.value = !0);
14628
14634
  }
14629
14635
  function te() {
14630
- Ee.value || (dt.isMobile ? b.value.click() : ce.value = !0);
14636
+ Ee.value || (ot.isMobile ? b.value.click() : ce.value = !0);
14631
14637
  }
14632
14638
  function Be(x) {
14633
- typeof x == "string" ? dt.currentId === "" ? et(x) : q.value.appendNode({
14639
+ typeof x == "string" ? ot.currentId === "" ? et(x) : q.value.appendNode({
14634
14640
  uuid: zt(),
14635
14641
  text: x
14636
14642
  }) : Oe(x);
@@ -14639,9 +14645,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14639
14645
  if (!x.length)
14640
14646
  return;
14641
14647
  const le = Array.from(x).map(async (re) => {
14642
- const D = ma(re.type), we = URL.createObjectURL(re);
14648
+ const D = _a(re.type), we = URL.createObjectURL(re);
14643
14649
  let L = {};
14644
- switch ((D.mainType === "image" || D.mainType === "video") && (L = await _a(re, D.mainType)), D.mainType) {
14650
+ switch ((D.mainType === "image" || D.mainType === "video") && (L = await pa(re, D.mainType)), D.mainType) {
14645
14651
  case "image":
14646
14652
  case "audio":
14647
14653
  case "video":
@@ -14662,13 +14668,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14662
14668
  pending: !0
14663
14669
  };
14664
14670
  }
14665
- }), w = await Promise.all(le), N = dt.currentId === ui;
14671
+ }), w = await Promise.all(le), N = ot.currentId === ci;
14666
14672
  m ? m(w) : w.forEach((re, D) => {
14667
14673
  D === 0 && N ? et(re) : q.value.appendNode(re);
14668
14674
  });
14669
14675
  const me = p.note.created_at;
14670
14676
  let F = !1;
14671
- pa.uploadFile(x, (re, D) => {
14677
+ ba.uploadFile(x, (re, D) => {
14672
14678
  D && D.forEach((we, L) => {
14673
14679
  const H = w[L], t = we.data, o = N && L === 0;
14674
14680
  if (we.code === 0) {
@@ -14692,13 +14698,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14692
14698
  function j(x, m) {
14693
14699
  if (!x)
14694
14700
  return;
14695
- const le = `${ua}_${x}`, w = JSON.parse(window.localStorage.getItem(le) || "[]");
14701
+ const le = `${ca}_${x}`, w = JSON.parse(window.localStorage.getItem(le) || "[]");
14696
14702
  w.push(m), window.localStorage.setItem(le, JSON.stringify(w));
14697
14703
  }
14698
14704
  function fe(x) {
14699
14705
  if (!x)
14700
14706
  return;
14701
- const m = `${ua}_${x}`, le = window.localStorage.getItem(m);
14707
+ const m = `${ca}_${x}`, le = window.localStorage.getItem(m);
14702
14708
  le && Ht(() => {
14703
14709
  const w = JSON.parse(le);
14704
14710
  window.localStorage.removeItem(m), w.forEach((N) => {
@@ -14712,18 +14718,18 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14712
14718
  function A() {
14713
14719
  ge.value = !1, ht();
14714
14720
  }
14715
- return (x, m) => (tt(), ut("div", {
14721
+ return (x, m) => (tt(), ct("div", {
14716
14722
  class: Ot({
14717
14723
  "record-tree-container": !0,
14718
- "record-tree-mobile": We(dt).isMobile
14724
+ "record-tree-mobile": We(ot).isMobile
14719
14725
  })
14720
14726
  }, [
14721
- ge.value ? (tt(), ut("div", Xn, [
14722
- Ze("div", Kn, [
14723
- Zn,
14727
+ ge.value ? (tt(), ct("div", Kn, [
14728
+ Ze("div", Zn, [
14729
+ Qn,
14724
14730
  Ze("div", null, Jt(p.clipboard), 1)
14725
14731
  ]),
14726
- Ze("div", Qn, [
14732
+ Ze("div", Jn, [
14727
14733
  bt(We(At), {
14728
14734
  src: We(xt).close,
14729
14735
  width: 20,
@@ -14751,13 +14757,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14751
14757
  ),
14752
14758
  onMouseenter: Pe
14753
14759
  }, [
14754
- _.showTitle ? (tt(), ut("div", {
14760
+ _.showTitle ? (tt(), ct("div", {
14755
14761
  key: 0,
14756
14762
  class: "top-bar",
14757
14763
  onContextmenu: De
14758
14764
  }, [
14759
- Ze("div", Jn, [
14760
- bt(We(on), {
14765
+ Ze("div", ei, [
14766
+ bt(We(ln), {
14761
14767
  ref_key: "titleEditor",
14762
14768
  ref: ve,
14763
14769
  tags: _.tags,
@@ -14770,13 +14776,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14770
14776
  onDbEnter: He
14771
14777
  }, null, 8, ["tags", "readOnly", "enableDbEnter", "note"])
14772
14778
  ]),
14773
- z.value ? (tt(), ut("div", ei, [
14779
+ z.value ? (tt(), ct("div", ti, [
14774
14780
  bt(We(At), {
14775
14781
  src: We(xt).relate,
14776
14782
  width: 20,
14777
14783
  height: 20
14778
14784
  }, null, 8, ["src"])
14779
- ])) : _.readOnly ? Tt("", !0) : (tt(), ut("div", {
14785
+ ])) : _.readOnly ? Tt("", !0) : (tt(), ct("div", {
14780
14786
  key: 1,
14781
14787
  class: "top-bar-right",
14782
14788
  onClick: s
@@ -14793,15 +14799,15 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14793
14799
  class: "record-tree-main",
14794
14800
  onContextmenu: De
14795
14801
  }, [
14796
- Ze("div", ti, [
14797
- bt(rn, {
14802
+ Ze("div", ai, [
14803
+ bt(nn, {
14798
14804
  ref_key: "tree",
14799
14805
  ref: q,
14800
14806
  nodes: B.value,
14801
14807
  tags: _.tags,
14802
14808
  readOnly: _.readOnly || Ee.value,
14803
14809
  enableDbEnter: _.enableDbEnter,
14804
- isMobile: We(dt).isMobile,
14810
+ isMobile: We(ot).isMobile,
14805
14811
  onChange: se,
14806
14812
  onFileUpload: Oe,
14807
14813
  onDbEnter: m[0] || (m[0] = (le) => x.$emit("dbEnter"))
@@ -14809,9 +14815,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14809
14815
  ])
14810
14816
  ], 32)
14811
14817
  ], 38),
14812
- _.bar && !_.readOnly ? (tt(), ut("div", ai, [
14813
- Ze("div", ri, [
14814
- Ze("div", ni, [
14818
+ _.bar && !_.readOnly ? (tt(), ct("div", ri, [
14819
+ Ze("div", ni, [
14820
+ Ze("div", ii, [
14815
14821
  Ze("div", {
14816
14822
  class: "record-tree-option-item",
14817
14823
  onClick: e,
@@ -14860,7 +14866,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14860
14866
  Ze("div", {
14861
14867
  class: Ot({
14862
14868
  "record-tree-option-left-scroll": !0,
14863
- "record-tree-option-left-scroll-mobile": We(dt).isMobile
14869
+ "record-tree-option-left-scroll-mobile": We(ot).isMobile
14864
14870
  })
14865
14871
  }, [
14866
14872
  Ze("div", {
@@ -14874,12 +14880,12 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14874
14880
  height: 20
14875
14881
  }, null, 8, ["src"])
14876
14882
  ]),
14877
- We(dt).isMobile ? Tt("", !0) : (tt(), ut("div", ii, [
14878
- bt(We(da), {
14883
+ We(ot).isMobile ? Tt("", !0) : (tt(), ct("div", si, [
14884
+ bt(We(fa), {
14879
14885
  placement: "top",
14880
14886
  hover: !0,
14881
14887
  arrow: !0
14882
- }, ca({
14888
+ }, da({
14883
14889
  default: M0(() => [
14884
14890
  bt(We(At), {
14885
14891
  src: We(xt).color,
@@ -14892,7 +14898,7 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14892
14898
  Ee.value ? void 0 : {
14893
14899
  name: "content",
14894
14900
  fn: M0(() => [
14895
- bt(We(Sr), { onChange: M })
14901
+ bt(We(Tr), { onChange: M })
14896
14902
  ]),
14897
14903
  key: "0"
14898
14904
  }
@@ -14944,13 +14950,13 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14944
14950
  ])
14945
14951
  ], 2)
14946
14952
  ]),
14947
- We(dt).isMobile ? (tt(), ut("div", si, [
14953
+ We(ot).isMobile ? (tt(), ct("div", oi, [
14948
14954
  Ze("div", {
14949
14955
  class: "record-tree-option-item",
14950
14956
  onClick: Dt(be, ["stop"])
14951
14957
  }, Jt(ke.value ? "完成" : "取消"), 1)
14952
14958
  ])) : Tt("", !0),
14953
- Ze("div", oi, [
14959
+ Ze("div", li, [
14954
14960
  Ze("input", {
14955
14961
  type: "file",
14956
14962
  ref_key: "selectFile",
@@ -14975,28 +14981,28 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
14975
14981
  }, null, 544)
14976
14982
  ])
14977
14983
  ])) : Tt("", !0),
14978
- Y.value ? (tt(), Ut(We(Fn), {
14984
+ Y.value ? (tt(), Ut(We(Nn), {
14979
14985
  key: 2,
14980
- isMobile: We(dt).isMobile,
14986
+ isMobile: We(ot).isMobile,
14981
14987
  responsive: _.responsive,
14982
14988
  onFinish: Be,
14983
14989
  onCancel: m[4] || (m[4] = (le) => Y.value = !1)
14984
14990
  }, null, 8, ["isMobile", "responsive"])) : Tt("", !0),
14985
- pe.value ? (tt(), Ut(We(Pn), {
14991
+ pe.value ? (tt(), Ut(We(Un), {
14986
14992
  key: 3,
14987
14993
  responsive: _.responsive,
14988
14994
  onFinish: Oe,
14989
14995
  onCancel: m[5] || (m[5] = (le) => pe.value = !1)
14990
14996
  }, null, 8, ["responsive"])) : Tt("", !0),
14991
- ce.value ? (tt(), Ut(We($n), {
14997
+ ce.value ? (tt(), Ut(We(Xn), {
14992
14998
  key: 4,
14993
14999
  responsive: _.responsive,
14994
15000
  onFinish: Oe,
14995
15001
  onCancel: m[6] || (m[6] = (le) => ce.value = !1)
14996
15002
  }, null, 8, ["responsive"])) : Tt("", !0),
14997
- Ee.value && !z.value ? (tt(), ut("div", li)) : Tt("", !0),
14998
- (tt(), Ut(Ha, { to: "body" }, [
14999
- Te.value && !_.readOnly && !z.value && !We(dt).isMobile ? (tt(), ut("div", {
15003
+ Ee.value && !z.value ? (tt(), ct("div", ui)) : Tt("", !0),
15004
+ (tt(), Ut(Ya, { to: "body" }, [
15005
+ Te.value && !_.readOnly && !z.value && !We(ot).isMobile ? (tt(), ct("div", {
15000
15006
  key: 0,
15001
15007
  class: "record-tree-context-menu",
15002
15008
  style: Pt(G.value),
@@ -15023,9 +15029,9 @@ const Hn = { class: "record-video" }, Yn = { class: "buttons" }, Vn = {
15023
15029
  }
15024
15030
  };
15025
15031
  export {
15026
- Fn as RecordAudio,
15027
- $n as RecordPhoto,
15028
- xi as RecordTree,
15029
- Pn as RecordVideo,
15030
- qr as TextEditor
15032
+ Nn as RecordAudio,
15033
+ Xn as RecordPhoto,
15034
+ Si as RecordTree,
15035
+ Un as RecordVideo,
15036
+ Wr as TextEditor
15031
15037
  };