@codernote/record-tree 2.4.0-beta.2 → 2.4.0-beta.3
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.
- package/dist/index.js +185 -176
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-b1f6b6b5]{display:flex;flex-direction:row;align-self:center;justify-self:center;outline:none}.holder[data-v-b1f6b6b5]{width:0px;overflow:hidden;border-width:1px;border-style:solid;border-color:transparent;outline:none}.node-element[data-v-b1f6b6b5]{display:inline-block;position:relative;margin:5px 1px}.node-element:hover .node-del[data-v-b1f6b6b5]{display:block}.node-image img[data-v-b1f6b6b5]{outline:none}.node-audio[data-v-b1f6b6b5]{width:300px}.node-audio audio[data-v-b1f6b6b5]{width:300px;outline:none}.node-video video[data-v-b1f6b6b5]{outline:none}.node-del[data-v-b1f6b6b5]{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-b1f6b6b5]:before,.node-del[data-v-b1f6b6b5]:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:10px;background-color:#595959}.node-del[data-v-b1f6b6b5]:before{transform:translate(-50%,-50%) rotate(45deg)}.node-del[data-v-b1f6b6b5]:after{transform:translate(-50%,-50%) rotate(-45deg)}.node-file-wrap[data-v-b1f6b6b5]{width:260px;padding:10px 16px;display:flex;background:#f2f2f2;border-radius:5px;justify-content:center;align-items:center}.node-file-left[data-v-b1f6b6b5]{flex:1}.node-file-left h6[data-v-b1f6b6b5]{font-size:14px;font-weight:700;margin:0 0 5px;padding:0;white-space:nowrap}.node-file-left p[data-v-b1f6b6b5]{margin:0;padding:0;font-size:12px;color:#999}.node-file-right a[data-v-b1f6b6b5]{color:#52a770;font-size:14px}@keyframes blinkBorder-b1f6b6b5{0%,to{border-color:transparent}50%{border-color:#333}}.node-complex .holder[data-v-b1f6b6b5]:focus{animation:blinkBorder-b1f6b6b5 1s infinite}.fullscreen-handle[data-v-b1f6b6b5]{width:15px;height:15px;position:absolute;bottom:0;right:16px;cursor:pointer;background:#fff9}.resize-handle[data-v-b1f6b6b5]{width:15px;height:15px;position:absolute;bottom:0;right:0;cursor:se-resize;transform:rotate(90deg);background:#fff9}.resize-handle svg[data-v-b1f6b6b5]{cursor:se-resize}.ProseMirror{outline:none}.node-div[data-v-0569d558]{display:flex;align-items:center;position:relative}.node-div>div[data-v-0569d558]{flex:1}.node-icon[data-v-0569d558]{position:relative;width:17px;height:17px;border-radius:10px;background-color:#fff;cursor:pointer;margin-left:5px;align-self:flex-start;top:3px}.node-icon-todo[data-v-0569d558]{border-radius:0}.node-icon .node-circle[data-v-0569d558]{display:block;position:absolute;top:5px;left:5px;width:7px;height:7px;border-radius:10px;background-color:#eee}.node-icon[data-v-0569d558]:hover{background-color:#ccc}.node-finished[data-v-0569d558]{text-decoration:line-through;color:#999}.node-ul[data-v-4266f0fd]{background-color:#fff;margin:0;padding:0;list-style:none}.node-li[data-v-4266f0fd]{padding:0;list-style:none;margin:0;line-height:1.5;position:relative;overflow:hidden}[data-v-4266f0fd] .sublevel .node-li{margin-left:15px}[data-v-4266f0fd] .drag-over-top:before{content:"";width:100%;height:1px;top:0;background-color:#eee;position:absolute}[data-v-4266f0fd] .drag-over-center{background-color:#eee}[data-v-4266f0fd] .drag-over-bottom:after{content:"";width:100%;height:1px;background-color:#eee;position:absolute;bottom:0}.collapsed>ul[data-v-4266f0fd]{display:none}[data-v-4266f0fd] .collapsed .node-icon:before{display:none}[data-v-4266f0fd] .collapsed .node-icon{background-color:#ccc}.tree-title[data-v-4266f0fd]{padding-left:25px;font-weight:700;outline:none;font-size:1.125rem;line-height:1.5;width:100%}[data-v-4266f0fd] .node-li.has-child.collapsed .node-icon:after{background-color:#aaa}[data-v-4266f0fd] .node-li.dragging .node-icon:before{display:none}[data-v-4266f0fd] .has-child>.node-div>.node-icon:before{content:"";position:absolute;top:20px;left:50%;height:9999px;width:1px;background-color:#f2f2f2}[data-v-4266f0fd] .has-child>.node-div>.node-icon:hover:before{background-color:#52a770}.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;margin-bottom:3px}.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-e8535564]{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-e8535564]{width:300px;height:40px}.record-audio .audio-item[data-v-e8535564]{margin-top:10px;display:flex;align-items:center}.record-audio .audio-item a[data-v-e8535564]{color:#52a770;margin-left:10px;font-size:12px;cursor:pointer}.record-audio .audio-text[data-v-e8535564]{background:#f5f5f5;margin-top:10px;padding:8px 12px;border-radius:5px}.record-audio .buttons[data-v-e8535564]{margin-top:10px;display:flex;align-items:center}.record-audio .buttons .btn[data-v-e8535564]{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-e8535564]{color:#fff;background:#1677ff;border:1px solid #1677ff}.record-audio .buttons .disabled[data-v-e8535564]{background:#eee;cursor:default;border-color:#eee}.record-audio .buttons .cancel[data-v-e8535564]{border:1px solid #eee}.record-audio .buttons .oper[data-v-e8535564]{margin-right:10px}.record-audio .main[data-v-e8535564]{display:flex;align-items:center}.record-audio .duration[data-v-e8535564]{width:60px;margin-left:10px;color:#999;font-size:12px}.wrap[data-v-e8535564]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-e8535564]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-audio-mobile[data-v-e8535564]{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-e8535564]{flex:1;height:30px}.record-audio-mobile .oper[data-v-e8535564]{margin-right:10px}.record-video[data-v-be255be7]{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-be255be7]{width:300px}.buttons[data-v-be255be7]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-be255be7]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-be255be7]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-be255be7]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-be255be7]{border:1px solid #eee}.buttons .oper[data-v-be255be7]{margin-right:10px}.wrap[data-v-be255be7]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-be255be7]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-video[data-v-d1a4de11]{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-d1a4de11]{width:200px}.img-item[data-v-d1a4de11]{width:200px;height:150px;border:1px dashed #eee;margin-left:10px}.img-item img[data-v-d1a4de11]{width:200px}.record-content[data-v-d1a4de11]{display:flex}.buttons[data-v-d1a4de11]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-d1a4de11]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-d1a4de11]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-d1a4de11]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-d1a4de11]{border:1px solid #eee}.buttons .oper[data-v-d1a4de11]{margin-right:10px}.wrap[data-v-d1a4de11]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-d1a4de11]{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 .record-tree-option-item{flex:1;max-width:32px}.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}.record-tree-option-left{display:flex;flex:1;padding-left:10px}.record-tree-option-right{padding-right:10px;font-size:14px}.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:-webkit-full-screen{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain}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{margin-left:5px;flex:1;border:none;outline:none;word-break:break-all;overflow:hidden}.record-tree .node-text a{color:#0076ff;cursor:pointer}.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}.tiptap p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
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-b1f6b6b5]{display:flex;flex-direction:row;align-self:center;justify-self:center;outline:none}.holder[data-v-b1f6b6b5]{width:0px;overflow:hidden;border-width:1px;border-style:solid;border-color:transparent;outline:none}.node-element[data-v-b1f6b6b5]{display:inline-block;position:relative;margin:5px 1px}.node-element:hover .node-del[data-v-b1f6b6b5]{display:block}.node-image img[data-v-b1f6b6b5]{outline:none}.node-audio[data-v-b1f6b6b5]{width:300px}.node-audio audio[data-v-b1f6b6b5]{width:300px;outline:none}.node-video video[data-v-b1f6b6b5]{outline:none}.node-del[data-v-b1f6b6b5]{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-b1f6b6b5]:before,.node-del[data-v-b1f6b6b5]:after{content:"";position:absolute;top:50%;left:50%;width:2px;height:10px;background-color:#595959}.node-del[data-v-b1f6b6b5]:before{transform:translate(-50%,-50%) rotate(45deg)}.node-del[data-v-b1f6b6b5]:after{transform:translate(-50%,-50%) rotate(-45deg)}.node-file-wrap[data-v-b1f6b6b5]{width:260px;padding:10px 16px;display:flex;background:#f2f2f2;border-radius:5px;justify-content:center;align-items:center}.node-file-left[data-v-b1f6b6b5]{flex:1}.node-file-left h6[data-v-b1f6b6b5]{font-size:14px;font-weight:700;margin:0 0 5px;padding:0;white-space:nowrap}.node-file-left p[data-v-b1f6b6b5]{margin:0;padding:0;font-size:12px;color:#999}.node-file-right a[data-v-b1f6b6b5]{color:#52a770;font-size:14px}@keyframes blinkBorder-b1f6b6b5{0%,to{border-color:transparent}50%{border-color:#333}}.node-complex .holder[data-v-b1f6b6b5]:focus{animation:blinkBorder-b1f6b6b5 1s infinite}.fullscreen-handle[data-v-b1f6b6b5]{width:15px;height:15px;position:absolute;bottom:0;right:16px;cursor:pointer;background:#fff9}.resize-handle[data-v-b1f6b6b5]{width:15px;height:15px;position:absolute;bottom:0;right:0;cursor:se-resize;transform:rotate(90deg);background:#fff9}.resize-handle svg[data-v-b1f6b6b5]{cursor:se-resize}.ProseMirror{outline:none}.node-div[data-v-87c87299]{display:flex;align-items:center;position:relative}.node-div>div[data-v-87c87299]{flex:1}.node-icon[data-v-87c87299]{position:relative;width:17px;height:17px;border-radius:10px;box-sizing:border-box;border:2px solid #fff;background-color:#fff;cursor:pointer;margin-left:5px;align-self:flex-start;top:3px}.node-icon-todo[data-v-87c87299]{border-radius:0}.node-icon .node-circle[data-v-87c87299]{display:block;position:absolute;width:7px;height:7px;left:50%;top:50%;transform:translate(-50%) translateY(-50%);border-radius:10px;background-color:#eee}.node-icon[data-v-87c87299]:hover{background-color:#ddd}.node-finished[data-v-87c87299]{text-decoration:line-through;color:#999}.node-ul[data-v-56e2e724]{background-color:#fff;margin:0;padding:0;list-style:none}.node-li[data-v-56e2e724]{padding:0;list-style:none;margin:0;line-height:1.5;position:relative;overflow:hidden}[data-v-56e2e724] .sublevel .node-li{margin-left:15px}[data-v-56e2e724] .drag-over-top:before{content:"";width:100%;height:1px;top:0;background-color:#eee;position:absolute}[data-v-56e2e724] .drag-over-center{background-color:#eee}[data-v-56e2e724] .drag-over-bottom:after{content:"";width:100%;height:1px;background-color:#eee;position:absolute;bottom:0}.collapsed>ul[data-v-56e2e724]{display:none}[data-v-56e2e724] .collapsed .node-icon .node-line{display:none}[data-v-56e2e724] .collapsed.has-child .node-icon{background-color:#ddd}.tree-title[data-v-56e2e724]{padding-left:25px;font-weight:700;outline:none;font-size:1.125rem;line-height:1.5;width:100%}[data-v-56e2e724] .node-li.has-child.collapsed .node-icon:after{background-color:#aaa}[data-v-56e2e724] .node-li.dragging .node-icon .node-line{display:none}[data-v-56e2e724] .has-child>.node-div>.node-icon .node-line{content:"";position:absolute;top:20px;left:50%;height:9999px;width:1px;background-color:#f2f2f2}[data-v-56e2e724] .has-child>.node-div>.node-icon:hover .node-line{background-color:var(--line-color)}.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;margin-bottom:3px}.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-e8535564]{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-e8535564]{width:300px;height:40px}.record-audio .audio-item[data-v-e8535564]{margin-top:10px;display:flex;align-items:center}.record-audio .audio-item a[data-v-e8535564]{color:#52a770;margin-left:10px;font-size:12px;cursor:pointer}.record-audio .audio-text[data-v-e8535564]{background:#f5f5f5;margin-top:10px;padding:8px 12px;border-radius:5px}.record-audio .buttons[data-v-e8535564]{margin-top:10px;display:flex;align-items:center}.record-audio .buttons .btn[data-v-e8535564]{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-e8535564]{color:#fff;background:#1677ff;border:1px solid #1677ff}.record-audio .buttons .disabled[data-v-e8535564]{background:#eee;cursor:default;border-color:#eee}.record-audio .buttons .cancel[data-v-e8535564]{border:1px solid #eee}.record-audio .buttons .oper[data-v-e8535564]{margin-right:10px}.record-audio .main[data-v-e8535564]{display:flex;align-items:center}.record-audio .duration[data-v-e8535564]{width:60px;margin-left:10px;color:#999;font-size:12px}.wrap[data-v-e8535564]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-e8535564]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-audio-mobile[data-v-e8535564]{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-e8535564]{flex:1;height:30px}.record-audio-mobile .oper[data-v-e8535564]{margin-right:10px}.record-video[data-v-be255be7]{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-be255be7]{width:300px}.buttons[data-v-be255be7]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-be255be7]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-be255be7]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-be255be7]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-be255be7]{border:1px solid #eee}.buttons .oper[data-v-be255be7]{margin-right:10px}.wrap[data-v-be255be7]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-be255be7]{position:absolute;left:0;top:0;right:0;bottom:0;background:#fffc}.record-video[data-v-d1a4de11]{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-d1a4de11]{width:200px}.img-item[data-v-d1a4de11]{width:200px;height:150px;border:1px dashed #eee;margin-left:10px}.img-item img[data-v-d1a4de11]{width:200px}.record-content[data-v-d1a4de11]{display:flex}.buttons[data-v-d1a4de11]{margin-top:10px;display:flex;align-items:center}.buttons .btn[data-v-d1a4de11]{margin-right:10px;font-size:14px;width:80px;padding:6px 0;text-align:center;cursor:pointer;border-radius:20px}.buttons .finish[data-v-d1a4de11]{color:#fff;background:#1677ff;border:1px solid #1677ff}.buttons .disabled[data-v-d1a4de11]{background:#eee;cursor:default;border-color:#eee}.buttons .cancel[data-v-d1a4de11]{border:1px solid #eee}.buttons .oper[data-v-d1a4de11]{margin-right:10px}.wrap[data-v-d1a4de11]{position:fixed;left:0;top:0;bottom:0;z-index:9999}.mask[data-v-d1a4de11]{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 .record-tree-option-item{flex:1;max-width:32px}.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}.record-tree-option-left{display:flex;flex:1;padding-left:10px}.record-tree-option-right{padding-right:10px;font-size:14px}.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:-webkit-full-screen{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain}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{margin-left:5px;flex:1;border:none;outline:none;word-break:break-all;overflow:hidden}.record-tree .node-text a{color:#0076ff;cursor:pointer}.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}.tiptap p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import rr from "vue3-popper";
|
|
3
|
-
import { openBlock as et, createElementBlock as nt, createElementVNode as
|
|
3
|
+
import { openBlock as et, createElementBlock as nt, createElementVNode as We, createVNode as yt, unref as Et, Fragment as v0, renderList as m0, normalizeStyle as qt, reactive as yr, ref as zt, withModifiers as kt, normalizeClass as Lt, createCommentVNode as Rt, toDisplayString as o0, nextTick as W0, watch as X0, onMounted as xr, onBeforeUnmount as Sr, createBlock as Pt, resolveComponent as Bt, createSlots as Tr, withCtx as _0, pushScopeId as Rr, popScopeId as Mr } from "vue";
|
|
4
4
|
import Jt from "vue-inline-svg";
|
|
5
|
-
import { detectDeviceType as I0, truncateString as Cr, formatBytes as Ar, getTag as
|
|
5
|
+
import { detectDeviceType as I0, truncateString as Cr, formatBytes as Ar, getTag as p0, isTodoTag as ar, getExt as B0, getTagStyleById as ir, uuid as Yt, getTagStyle as kr, icons as Br, parseMimeType as nr, getSize as sr, oss as or } from "@codernote/utils";
|
|
6
6
|
import Er from "mitt";
|
|
7
7
|
import { useEditor as Dr, EditorContent as Lr } from "@tiptap/vue-3";
|
|
8
8
|
import Ir from "@tiptap/extension-link";
|
|
@@ -11,7 +11,7 @@ import Fr from "@tiptap/extension-placeholder";
|
|
|
11
11
|
import { Mark as Nr, mergeAttributes as Hr, getMarkAttributes as Yr, Extension as Vr } from "@tiptap/core";
|
|
12
12
|
import Pr from "@tiptap/starter-kit";
|
|
13
13
|
import at from "dayjs";
|
|
14
|
-
const 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='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", zr = "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", qr = "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", 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='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", jr = "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", 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='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", Xr = "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", Kr = "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", Zr = "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", Qr = "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", $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='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", Jr = "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", ea = "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", ta = "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", ra = "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", qt = {
|
|
14
|
+
const 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='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", zr = "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", qr = "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", 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='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", jr = "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", 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='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", Xr = "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", Kr = "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", Zr = "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", Qr = "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", $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='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", Jr = "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", ea = "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", ta = "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", ra = "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", Gt = {
|
|
15
15
|
left: Ur,
|
|
16
16
|
right: zr,
|
|
17
17
|
up: qr,
|
|
@@ -27,7 +27,7 @@ const Ur = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
27
27
|
bold: ea,
|
|
28
28
|
color: ta,
|
|
29
29
|
clear: ra
|
|
30
|
-
},
|
|
30
|
+
}, jt = (a, n) => {
|
|
31
31
|
const y = a.__vccOpts || a;
|
|
32
32
|
for (const [x, N] of n)
|
|
33
33
|
y[x] = N;
|
|
@@ -70,24 +70,24 @@ const Ur = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
70
70
|
y("change", m);
|
|
71
71
|
};
|
|
72
72
|
return (m, P) => (et(), nt("div", aa, [
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
We("ul", null, [
|
|
74
|
+
We("li", null, [
|
|
75
75
|
yt(Et(Jt), {
|
|
76
|
-
src: Et(
|
|
76
|
+
src: Et(Gt).clear,
|
|
77
77
|
width: 16,
|
|
78
78
|
height: 16,
|
|
79
79
|
onClick: P[0] || (P[0] = (A) => N(null))
|
|
80
80
|
}, null, 8, ["src"])
|
|
81
81
|
]),
|
|
82
|
-
(et(), nt(v0, null, m0(x, (A) =>
|
|
82
|
+
(et(), nt(v0, null, m0(x, (A) => We("li", {
|
|
83
83
|
key: A,
|
|
84
|
-
style:
|
|
84
|
+
style: qt({ backgroundColor: A }),
|
|
85
85
|
onClick: (ee) => N(A)
|
|
86
86
|
}, null, 12, ia)), 64))
|
|
87
87
|
])
|
|
88
88
|
]));
|
|
89
89
|
}
|
|
90
|
-
}, sa = /* @__PURE__ */
|
|
90
|
+
}, sa = /* @__PURE__ */ jt(na, [["__scopeId", "data-v-d2cde42f"]]), Dt = yr({
|
|
91
91
|
currentId: null,
|
|
92
92
|
dragId: null,
|
|
93
93
|
pos: null,
|
|
@@ -235,18 +235,18 @@ const ua = ["contenteditable"], da = {
|
|
|
235
235
|
document.defaultView.getComputedStyle(ee.value).height,
|
|
236
236
|
10
|
|
237
237
|
), je = Ue / Ge;
|
|
238
|
-
let Ye = Ue,
|
|
238
|
+
let Ye = Ue, Xe = Ge;
|
|
239
239
|
const Ie = (pt) => {
|
|
240
240
|
let it = Ue + pt.clientX - _e, $e = Ge + pt.clientY - Fe;
|
|
241
241
|
const { origWidth: ft, origHeight: ht } = m.data.size || {};
|
|
242
|
-
ft && ht && (it = Math.min(it, ft), $e = Math.min($e, ht)), it = Math.max(it, 50), $e = Math.max($e, 50), it / $e > je ? (Ye = $e * je,
|
|
242
|
+
ft && ht && (it = Math.min(it, ft), $e = Math.min($e, ht)), it = Math.max(it, 50), $e = Math.max($e, 50), it / $e > je ? (Ye = $e * je, Xe = $e, ee.value.style.height = Xe + "px", ee.value.style.width = Ye + "px") : (Ye = it, Xe = it / je, ee.value.style.width = it + "px", ee.value.style.height = Xe + "px");
|
|
243
243
|
}, K = () => {
|
|
244
244
|
document.documentElement.removeEventListener("mousemove", Ie, !1), document.documentElement.removeEventListener("mouseup", K, !1), N("change", {
|
|
245
245
|
...m.data,
|
|
246
246
|
size: {
|
|
247
247
|
...m.data.size || {},
|
|
248
248
|
width: Ye,
|
|
249
|
-
height:
|
|
249
|
+
height: Xe
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
};
|
|
@@ -264,12 +264,12 @@ const ua = ["contenteditable"], da = {
|
|
|
264
264
|
onFocusin: kt(V, ["stop", "self"]),
|
|
265
265
|
onClick: kt(He, ["stop"])
|
|
266
266
|
}, [
|
|
267
|
-
|
|
267
|
+
We("div", {
|
|
268
268
|
contenteditable: !1,
|
|
269
269
|
class: Lt(`node-complex node-${a.data.type}`)
|
|
270
270
|
}, [
|
|
271
271
|
a.readOnly ? Rt("", !0) : (et(), nt("span", da)),
|
|
272
|
-
|
|
272
|
+
We("div", ca, [
|
|
273
273
|
a.data.type === "image" ? (et(), nt("img", {
|
|
274
274
|
key: 0,
|
|
275
275
|
ref_key: "resource",
|
|
@@ -297,12 +297,12 @@ const ua = ["contenteditable"], da = {
|
|
|
297
297
|
poster: Et(x) ? "data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=" : null
|
|
298
298
|
}, null, 8, va)) : Rt("", !0),
|
|
299
299
|
a.data.type === "file" ? (et(), nt("div", ma, [
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
300
|
+
We("div", _a, [
|
|
301
|
+
We("h6", null, o0(Et(Cr)(a.data.name, 20)), 1),
|
|
302
|
+
We("p", null, o0(Et(Ar)(a.data.size)), 1)
|
|
303
303
|
]),
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
We("div", pa, [
|
|
305
|
+
We("a", {
|
|
306
306
|
href: B(a.data.content),
|
|
307
307
|
download: a.data.name,
|
|
308
308
|
tabindex: "-1"
|
|
@@ -317,7 +317,7 @@ const ua = ["contenteditable"], da = {
|
|
|
317
317
|
onMousedown: kt(Be, ["prevent", "stop"])
|
|
318
318
|
}, [
|
|
319
319
|
yt(Et(Jt), {
|
|
320
|
-
src: Et(
|
|
320
|
+
src: Et(Gt).resize,
|
|
321
321
|
width: 15,
|
|
322
322
|
height: 15
|
|
323
323
|
}, null, 8, ["src"])
|
|
@@ -330,7 +330,7 @@ const ua = ["contenteditable"], da = {
|
|
|
330
330
|
onMousedown: kt(oe, ["prevent", "stop"])
|
|
331
331
|
}, [
|
|
332
332
|
yt(Et(Jt), {
|
|
333
|
-
src: Et(
|
|
333
|
+
src: Et(Gt).fullscreen,
|
|
334
334
|
width: 15,
|
|
335
335
|
height: 15
|
|
336
336
|
}, null, 8, ["src"])
|
|
@@ -352,7 +352,7 @@ const ua = ["contenteditable"], da = {
|
|
|
352
352
|
], 2)
|
|
353
353
|
], 40, ua));
|
|
354
354
|
}
|
|
355
|
-
}, ga = /* @__PURE__ */
|
|
355
|
+
}, ga = /* @__PURE__ */ jt(wa, [["__scopeId", "data-v-b1f6b6b5"]]), ya = Nr.create({
|
|
356
356
|
name: "textStyle",
|
|
357
357
|
addOptions() {
|
|
358
358
|
return {
|
|
@@ -721,7 +721,7 @@ const cr = (a) => a.tagName.toLowerCase() === "mark", O0 = () => {
|
|
|
721
721
|
},
|
|
722
722
|
data: function() {
|
|
723
723
|
return {
|
|
724
|
-
icon:
|
|
724
|
+
icon: Gt,
|
|
725
725
|
store: Dt,
|
|
726
726
|
clickTimeout: null,
|
|
727
727
|
preventSingleClick: !1
|
|
@@ -735,9 +735,12 @@ const cr = (a) => a.tagName.toLowerCase() === "mark", O0 = () => {
|
|
|
735
735
|
},
|
|
736
736
|
computed: {
|
|
737
737
|
isTodo() {
|
|
738
|
-
const a =
|
|
738
|
+
const a = p0(this.node.tag_id, this.tags);
|
|
739
739
|
return ar(a);
|
|
740
740
|
},
|
|
741
|
+
tagColor() {
|
|
742
|
+
return p0(this.node.tag_id, this.tags).color || "#eee";
|
|
743
|
+
},
|
|
741
744
|
finished() {
|
|
742
745
|
const a = B0(this.node);
|
|
743
746
|
return this.isTodo && a.finished;
|
|
@@ -846,16 +849,22 @@ const cr = (a) => a.tagName.toLowerCase() === "mark", O0 = () => {
|
|
|
846
849
|
function Ma(a, n, y, x, N, m) {
|
|
847
850
|
const P = Bt("Editor");
|
|
848
851
|
return et(), nt("div", Ra, [
|
|
849
|
-
|
|
852
|
+
We("span", {
|
|
850
853
|
class: Lt(["node-icon", {
|
|
851
854
|
"node-icon-todo": m.isTodo
|
|
852
855
|
}]),
|
|
853
856
|
onClick: n[0] || (n[0] = kt((...A) => m.handleClick && m.handleClick(...A), ["stop"])),
|
|
854
857
|
onDblclick: n[1] || (n[1] = (...A) => m.handleDblClick && m.handleDblClick(...A))
|
|
855
858
|
}, [
|
|
856
|
-
|
|
859
|
+
We("span", {
|
|
857
860
|
class: "node-circle",
|
|
858
|
-
style:
|
|
861
|
+
style: qt(m.getTagStyleById(y.node.tag_id, y.tags, y.node))
|
|
862
|
+
}, null, 4),
|
|
863
|
+
We("span", {
|
|
864
|
+
class: "node-line",
|
|
865
|
+
style: qt({
|
|
866
|
+
"--line-color": m.tagColor
|
|
867
|
+
})
|
|
859
868
|
}, null, 4)
|
|
860
869
|
], 34),
|
|
861
870
|
yt(P, {
|
|
@@ -873,7 +882,7 @@ function Ma(a, n, y, x, N, m) {
|
|
|
873
882
|
}, null, 8, ["class", "readOnly", "data", "tags", "onChange", "onKeydown", "onFocus", "onRemove"])
|
|
874
883
|
], 512);
|
|
875
884
|
}
|
|
876
|
-
const Ca = /* @__PURE__ */
|
|
885
|
+
const Ca = /* @__PURE__ */ jt(Ta, [["render", Ma], ["__scopeId", "data-v-87c87299"]]);
|
|
877
886
|
function hr(a) {
|
|
878
887
|
var P;
|
|
879
888
|
let y = (((P = a.target) == null ? void 0 : P.querySelector(".node-div")) || a.target).getBoundingClientRect(), x = a.clientY, N = y.top + y.height / 3, m = y.top + y.height / 3 * 2;
|
|
@@ -1283,7 +1292,7 @@ function Fa(a, n, y, x, N, m) {
|
|
|
1283
1292
|
], 42, Oa))), 128))
|
|
1284
1293
|
]));
|
|
1285
1294
|
}
|
|
1286
|
-
const Na = /* @__PURE__ */
|
|
1295
|
+
const Na = /* @__PURE__ */ jt(Ea, [["render", Fa], ["__scopeId", "data-v-56e2e724"]]), Ha = {
|
|
1287
1296
|
show: !0,
|
|
1288
1297
|
// tag总开关,false时取消tag所有功能
|
|
1289
1298
|
tagSize: 20,
|
|
@@ -1331,7 +1340,7 @@ const Na = /* @__PURE__ */ Gt(Ea, [["render", Fa], ["__scopeId", "data-v-4266f0f
|
|
|
1331
1340
|
return {
|
|
1332
1341
|
timeout: null,
|
|
1333
1342
|
tagConfig: { ...Ha },
|
|
1334
|
-
icon:
|
|
1343
|
+
icon: Gt,
|
|
1335
1344
|
isMobile: I0() === "mobile",
|
|
1336
1345
|
titleEmpty: !1,
|
|
1337
1346
|
store: Dt
|
|
@@ -1354,7 +1363,7 @@ const Na = /* @__PURE__ */ Gt(Ea, [["render", Fa], ["__scopeId", "data-v-4266f0f
|
|
|
1354
1363
|
}
|
|
1355
1364
|
},
|
|
1356
1365
|
noteFinished() {
|
|
1357
|
-
const a =
|
|
1366
|
+
const a = p0(this.note.tag_id, this.tags), n = B0(this.note);
|
|
1358
1367
|
return ar(a) && n.finished;
|
|
1359
1368
|
}
|
|
1360
1369
|
},
|
|
@@ -1395,7 +1404,7 @@ const Na = /* @__PURE__ */ Gt(Ea, [["render", Fa], ["__scopeId", "data-v-4266f0f
|
|
|
1395
1404
|
this.$emit("change", JSON.stringify(a));
|
|
1396
1405
|
else {
|
|
1397
1406
|
if (a.tag_id) {
|
|
1398
|
-
const n =
|
|
1407
|
+
const n = p0(a.tag_id, this.tags);
|
|
1399
1408
|
this.tagSelect(n);
|
|
1400
1409
|
}
|
|
1401
1410
|
this.$nextTick(() => {
|
|
@@ -1472,9 +1481,9 @@ function Ua(a, n, y, x, N, m) {
|
|
|
1472
1481
|
return et(), nt("div", Va, [
|
|
1473
1482
|
y.tags.length ? (et(), Pt(P, { key: 0 }, Tr({
|
|
1474
1483
|
default: _0(() => [
|
|
1475
|
-
|
|
1484
|
+
We("span", {
|
|
1476
1485
|
class: "record-tree-popper-reference",
|
|
1477
|
-
style:
|
|
1486
|
+
style: qt({
|
|
1478
1487
|
top: N.tagConfig.tagT,
|
|
1479
1488
|
left: N.tagConfig.tagL,
|
|
1480
1489
|
width: N.tagConfig.tagSize + "px",
|
|
@@ -1488,9 +1497,9 @@ function Ua(a, n, y, x, N, m) {
|
|
|
1488
1497
|
y.readOnly ? void 0 : {
|
|
1489
1498
|
name: "content",
|
|
1490
1499
|
fn: _0(() => [
|
|
1491
|
-
|
|
1500
|
+
We("div", {
|
|
1492
1501
|
class: "record-tree-popper-content",
|
|
1493
|
-
style:
|
|
1502
|
+
style: qt({ width: N.tagConfig.popW, height: N.tagConfig.popH })
|
|
1494
1503
|
}, [
|
|
1495
1504
|
(et(!0), nt(v0, null, m0(y.tags, (ee) => (et(), nt("span", {
|
|
1496
1505
|
class: Lt(["record-tree-popper-content-item", {
|
|
@@ -1499,9 +1508,9 @@ function Ua(a, n, y, x, N, m) {
|
|
|
1499
1508
|
key: ee.created_at,
|
|
1500
1509
|
onClick: (ue) => m.tagSelect(ee)
|
|
1501
1510
|
}, [
|
|
1502
|
-
|
|
1511
|
+
We("span", {
|
|
1503
1512
|
class: "record-tree-empty-icon",
|
|
1504
|
-
style:
|
|
1513
|
+
style: qt({
|
|
1505
1514
|
width: N.tagConfig.tagSize + "px",
|
|
1506
1515
|
height: N.tagConfig.tagSize + "px",
|
|
1507
1516
|
...m.getTagStyle(ee)
|
|
@@ -1533,7 +1542,7 @@ function Ua(a, n, y, x, N, m) {
|
|
|
1533
1542
|
}, null, 8, ["class", "readOnly", "data", "tags", "onChange", "onRemove", "onFocus", "onPaste", "onKeydown"])
|
|
1534
1543
|
]);
|
|
1535
1544
|
}
|
|
1536
|
-
const za = /* @__PURE__ */
|
|
1545
|
+
const za = /* @__PURE__ */ jt(Ya, [["render", Ua]]);
|
|
1537
1546
|
var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1538
1547
|
function F0(a) {
|
|
1539
1548
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
@@ -1563,13 +1572,13 @@ var vr = { exports: {} };
|
|
|
1563
1572
|
function Ga(a) {
|
|
1564
1573
|
throw new Error('Could not dynamically require "' + a + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1565
1574
|
}
|
|
1566
|
-
var
|
|
1575
|
+
var M0 = { exports: {} };
|
|
1567
1576
|
const ja = {}, Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1568
1577
|
__proto__: null,
|
|
1569
1578
|
default: ja
|
|
1570
1579
|
}, Symbol.toStringTag, { value: "Module" })), Xa = /* @__PURE__ */ qa(Wa);
|
|
1571
1580
|
var $0;
|
|
1572
|
-
function
|
|
1581
|
+
function b0() {
|
|
1573
1582
|
return $0 || ($0 = 1, function(a, n) {
|
|
1574
1583
|
(function(y, x) {
|
|
1575
1584
|
a.exports = x();
|
|
@@ -1940,11 +1949,11 @@ function p0() {
|
|
|
1940
1949
|
_process: function(B) {
|
|
1941
1950
|
var ie, _e = this._data, Fe = _e.words, Ue = _e.sigBytes, Ge = this.blockSize, je = Ge * 4, Ye = Ue / je;
|
|
1942
1951
|
B ? Ye = x.ceil(Ye) : Ye = x.max((Ye | 0) - this._minBufferSize, 0);
|
|
1943
|
-
var
|
|
1944
|
-
if (
|
|
1945
|
-
for (var K = 0; K <
|
|
1952
|
+
var Xe = Ye * Ge, Ie = x.min(Xe * 4, Ue);
|
|
1953
|
+
if (Xe) {
|
|
1954
|
+
for (var K = 0; K < Xe; K += Ge)
|
|
1946
1955
|
this._doProcessBlock(Fe, K);
|
|
1947
|
-
ie = Fe.splice(0,
|
|
1956
|
+
ie = Fe.splice(0, Xe), _e.sigBytes -= Ie;
|
|
1948
1957
|
}
|
|
1949
1958
|
return new ke.init(ie, Ie);
|
|
1950
1959
|
},
|
|
@@ -2067,13 +2076,13 @@ function p0() {
|
|
|
2067
2076
|
}(Math);
|
|
2068
2077
|
return y;
|
|
2069
2078
|
});
|
|
2070
|
-
}(
|
|
2079
|
+
}(M0)), M0.exports;
|
|
2071
2080
|
}
|
|
2072
|
-
var
|
|
2081
|
+
var C0 = { exports: {} }, J0;
|
|
2073
2082
|
function Ka() {
|
|
2074
2083
|
return J0 || (J0 = 1, function(a, n) {
|
|
2075
2084
|
(function(y, x) {
|
|
2076
|
-
a.exports = x(
|
|
2085
|
+
a.exports = x(b0());
|
|
2077
2086
|
})(dt, function(y) {
|
|
2078
2087
|
return function(x) {
|
|
2079
2088
|
var N = y, m = N.lib, P = m.WordArray, A = m.Hasher, ee = N.algo, ue = [], pe = [];
|
|
@@ -2099,8 +2108,8 @@ function Ka() {
|
|
|
2099
2108
|
if (je < 16)
|
|
2100
2109
|
ke[je] = Se[V + je] | 0;
|
|
2101
2110
|
else {
|
|
2102
|
-
var Ye = ke[je - 15],
|
|
2103
|
-
ke[je] =
|
|
2111
|
+
var Ye = ke[je - 15], Xe = (Ye << 25 | Ye >>> 7) ^ (Ye << 14 | Ye >>> 18) ^ Ye >>> 3, Ie = ke[je - 2], K = (Ie << 15 | Ie >>> 17) ^ (Ie << 13 | Ie >>> 19) ^ Ie >>> 10;
|
|
2112
|
+
ke[je] = Xe + ke[je - 7] + K + ke[je - 16];
|
|
2104
2113
|
}
|
|
2105
2114
|
var pt = _e & Fe ^ ~_e & Ue, it = oe & Be ^ oe & B ^ Be & B, $e = (oe << 30 | oe >>> 2) ^ (oe << 19 | oe >>> 13) ^ (oe << 10 | oe >>> 22), ft = (_e << 26 | _e >>> 6) ^ (_e << 21 | _e >>> 11) ^ (_e << 7 | _e >>> 25), ht = Ge + ft + pt + pe[je] + ke[je], vt = $e + it;
|
|
2106
2115
|
Ge = Ue, Ue = Fe, Fe = _e, _e = ie + ht | 0, ie = B, B = Be, Be = oe, oe = ht + vt | 0;
|
|
@@ -2119,13 +2128,13 @@ function Ka() {
|
|
|
2119
2128
|
N.SHA256 = A._createHelper(He), N.HmacSHA256 = A._createHmacHelper(He);
|
|
2120
2129
|
}(Math), y.SHA256;
|
|
2121
2130
|
});
|
|
2122
|
-
}(
|
|
2131
|
+
}(C0)), C0.exports;
|
|
2123
2132
|
}
|
|
2124
|
-
var
|
|
2133
|
+
var A0 = { exports: {} }, er;
|
|
2125
2134
|
function Za() {
|
|
2126
2135
|
return er || (er = 1, function(a, n) {
|
|
2127
2136
|
(function(y, x) {
|
|
2128
|
-
a.exports = x(
|
|
2137
|
+
a.exports = x(b0());
|
|
2129
2138
|
})(dt, function(y) {
|
|
2130
2139
|
(function() {
|
|
2131
2140
|
var x = y, N = x.lib, m = N.Base, P = x.enc, A = P.Utf8, ee = x.algo;
|
|
@@ -2197,11 +2206,11 @@ function Za() {
|
|
|
2197
2206
|
});
|
|
2198
2207
|
})();
|
|
2199
2208
|
});
|
|
2200
|
-
}(
|
|
2209
|
+
}(A0)), A0.exports;
|
|
2201
2210
|
}
|
|
2202
2211
|
(function(a, n) {
|
|
2203
2212
|
(function(y, x, N) {
|
|
2204
|
-
a.exports = x(
|
|
2213
|
+
a.exports = x(b0(), Ka(), Za());
|
|
2205
2214
|
})(dt, function(y) {
|
|
2206
2215
|
return y.HmacSHA256;
|
|
2207
2216
|
});
|
|
@@ -2211,7 +2220,7 @@ const $a = /* @__PURE__ */ F0(Qa);
|
|
|
2211
2220
|
var mr = { exports: {} };
|
|
2212
2221
|
(function(a, n) {
|
|
2213
2222
|
(function(y, x) {
|
|
2214
|
-
a.exports = x(
|
|
2223
|
+
a.exports = x(b0());
|
|
2215
2224
|
})(dt, function(y) {
|
|
2216
2225
|
return function() {
|
|
2217
2226
|
var x = y, N = x.lib, m = N.WordArray, P = x.enc;
|
|
@@ -2646,14 +2655,14 @@ var pr = { exports: {} };
|
|
|
2646
2655
|
var v = /* @__PURE__ */ new Date(), p = ("0" + v.getMinutes()).substr(-2) + ":" + ("0" + v.getSeconds()).substr(-2) + "." + ("00" + v.getMilliseconds()).substr(-3), k = this && this.envIn && this.envCheck && this.id, $ = ["[" + p + " " + ee + (k ? ":" + k : "") + "]" + e], M = arguments, o = m.CLog, ae = 2, de = o.log || console.log;
|
|
2647
2656
|
for (N(l) ? de = l == 1 ? o.error || console.error : l == 3 ? o.warn || console.warn : de : ae = 1; ae < M.length; ae++)
|
|
2648
2657
|
$.push(M[ae]);
|
|
2649
|
-
|
|
2658
|
+
Xe ? de && de("[IsLoser]" + $[0], $.length > 1 ? $ : "") : de.apply(console, $);
|
|
2650
2659
|
}
|
|
2651
2660
|
};
|
|
2652
2661
|
var Ye = function() {
|
|
2653
2662
|
m.CLog.apply(this, arguments);
|
|
2654
|
-
},
|
|
2663
|
+
}, Xe = !0;
|
|
2655
2664
|
try {
|
|
2656
|
-
|
|
2665
|
+
Xe = !console.log.apply;
|
|
2657
2666
|
} catch {
|
|
2658
2667
|
}
|
|
2659
2668
|
var Ie = 0;
|
|
@@ -3192,7 +3201,7 @@ var pr = { exports: {} };
|
|
|
3192
3201
|
});
|
|
3193
3202
|
})(pr);
|
|
3194
3203
|
var si = pr.exports;
|
|
3195
|
-
const
|
|
3204
|
+
const k0 = /* @__PURE__ */ F0(si);
|
|
3196
3205
|
(function(a) {
|
|
3197
3206
|
var n = typeof window == "object" && !!window.document, y = n ? window : Object, x = y.Recorder, N = x.i18n;
|
|
3198
3207
|
a(x, N, N.$T, n);
|
|
@@ -3234,7 +3243,7 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3234
3243
|
}
|
|
3235
3244
|
}
|
|
3236
3245
|
P(B);
|
|
3237
|
-
var Fe = new a.lamejs.Mp3Encoder(1, B.sampleRate, B.bitRate), Ue = 57600, Ge = new Int8Array(5e5), je = 0, Ye = 0,
|
|
3246
|
+
var Fe = new a.lamejs.Mp3Encoder(1, B.sampleRate, B.bitRate), Ue = 57600, Ge = new Int8Array(5e5), je = 0, Ye = 0, Xe = function() {
|
|
3238
3247
|
try {
|
|
3239
3248
|
if (Ye < ie)
|
|
3240
3249
|
var Ie = Fe.encodeBuffer(V.subarray(Ye, Ye + Ue));
|
|
@@ -3253,13 +3262,13 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3253
3262
|
Ge.set(Ie, je), je += K;
|
|
3254
3263
|
}
|
|
3255
3264
|
if (Ye < ie)
|
|
3256
|
-
Ye += Ue, setTimeout(
|
|
3265
|
+
Ye += Ue, setTimeout(Xe);
|
|
3257
3266
|
else {
|
|
3258
3267
|
var it = [Ge.buffer.slice(0, je)], $e = He.fn(it, je, ie, B.sampleRate);
|
|
3259
3268
|
Se($e, B), j(it[0] || new ArrayBuffer(0), "audio/mp3");
|
|
3260
3269
|
}
|
|
3261
3270
|
};
|
|
3262
|
-
|
|
3271
|
+
Xe();
|
|
3263
3272
|
};
|
|
3264
3273
|
var ue;
|
|
3265
3274
|
a.BindDestroy("mp3Worker", function() {
|
|
@@ -3271,8 +3280,8 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3271
3280
|
return ke(V);
|
|
3272
3281
|
};
|
|
3273
3282
|
var pe = { id: 0 }, ke = function(V, j) {
|
|
3274
|
-
var oe = function(
|
|
3275
|
-
var Ie =
|
|
3283
|
+
var oe = function(Xe) {
|
|
3284
|
+
var Ie = Xe.data, K = ie.wkScope.wk_ctxs, pt = ie.wkScope.wk_lame, it = ie.wkScope.wk_mp3TrimFix, $e = K[Ie.id];
|
|
3276
3285
|
if (Ie.action == "init")
|
|
3277
3286
|
K[Ie.id] = {
|
|
3278
3287
|
sampleRate: Ie.sampleRate,
|
|
@@ -3329,18 +3338,18 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3329
3338
|
});
|
|
3330
3339
|
break;
|
|
3331
3340
|
}
|
|
3332
|
-
}, Be = function(
|
|
3341
|
+
}, Be = function(Xe) {
|
|
3333
3342
|
_e.onmessage = function(Ie) {
|
|
3334
3343
|
var K = Ie;
|
|
3335
|
-
|
|
3344
|
+
Xe && (K = Ie.data);
|
|
3336
3345
|
var pt = pe[K.id];
|
|
3337
3346
|
pt && (K.action == "takeoff" ? pt.set.takeoffEncodeChunk(new Uint8Array(K.chunk.buffer)) : (pt.call && pt.call(K), pt.call = null));
|
|
3338
3347
|
};
|
|
3339
3348
|
}, B = function() {
|
|
3340
|
-
var
|
|
3341
|
-
return V ? (
|
|
3349
|
+
var Xe = { worker: _e, set: V };
|
|
3350
|
+
return V ? (Xe.id = ++pe.id, pe[Xe.id] = Xe, P(V), _e.postMessage({
|
|
3342
3351
|
action: "init",
|
|
3343
|
-
id:
|
|
3352
|
+
id: Xe.id,
|
|
3344
3353
|
sampleRate: V.sampleRate,
|
|
3345
3354
|
bitRate: V.bitRate,
|
|
3346
3355
|
takeoff: !!V.takeoffEncodeChunk,
|
|
@@ -3349,11 +3358,11 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3349
3358
|
})) : _e.postMessage({
|
|
3350
3359
|
x: new Int16Array(5)
|
|
3351
3360
|
//低版本浏览器不支持序列化TypedArray
|
|
3352
|
-
}),
|
|
3361
|
+
}), Xe;
|
|
3353
3362
|
}, ie, _e = ue;
|
|
3354
3363
|
if (j || !ee)
|
|
3355
|
-
return a.CLog(y("k9PT::当前环境不支持Web Worker,mp3实时编码器运行在主线程中"), 3), _e = { postMessage: function(
|
|
3356
|
-
oe({ data:
|
|
3364
|
+
return a.CLog(y("k9PT::当前环境不支持Web Worker,mp3实时编码器运行在主线程中"), 3), _e = { postMessage: function(Xe) {
|
|
3365
|
+
oe({ data: Xe });
|
|
3357
3366
|
} }, ie = { wkScope: {
|
|
3358
3367
|
wk_ctxs: {},
|
|
3359
3368
|
wk_lame: a.lamejs,
|
|
@@ -3372,8 +3381,8 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3372
3381
|
}
|
|
3373
3382
|
var Ye = B();
|
|
3374
3383
|
return Ye.isW = 1, ue = _e, Ye;
|
|
3375
|
-
} catch (
|
|
3376
|
-
return _e && _e.terminate(), console.error(
|
|
3384
|
+
} catch (Xe) {
|
|
3385
|
+
return _e && _e.terminate(), console.error(Xe), ke(V, 1);
|
|
3377
3386
|
}
|
|
3378
3387
|
};
|
|
3379
3388
|
a.prototype.mp3_stop = function(V) {
|
|
@@ -3425,7 +3434,7 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3425
3434
|
][Fe == 1 ? 1 : 0][oe(_e.substr(0, 4), 2)];
|
|
3426
3435
|
if (!Fe || !Ue || !je || !Ge)
|
|
3427
3436
|
return null;
|
|
3428
|
-
for (var Ye = Math.round(j * 8 / je),
|
|
3437
|
+
for (var Ye = Math.round(j * 8 / je), Xe = Ue == 1 ? 384 : Ue == 2 || Fe == 1 ? 1152 : 576, Ie = Xe / Ge * 1e3, K = Math.floor(Xe * je / 8 / Ge * 1e3), pt = 0, it = 0, $e = 0; $e < V.length; $e++) {
|
|
3429
3438
|
var ft = V[$e];
|
|
3430
3439
|
if (it += ft.byteLength, it >= K + 3) {
|
|
3431
3440
|
var ht = new Uint8Array(ft), vt = ft.byteLength - (it - (K + 3) + 1), Oe = B(vt, ht);
|
|
@@ -3463,8 +3472,8 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
3463
3472
|
break;
|
|
3464
3473
|
Fe >= Ye.byteLength ? (Fe -= Ye.byteLength, Ge.push(Ye), V.splice(je, 1), je--) : (V[je] = Ye.slice(Fe), Ue = Ye, Fe = 0);
|
|
3465
3474
|
}
|
|
3466
|
-
var
|
|
3467
|
-
if (!
|
|
3475
|
+
var Xe = this.rm(V, j);
|
|
3476
|
+
if (!Xe) {
|
|
3468
3477
|
Ue && (V[0] = Ue);
|
|
3469
3478
|
for (var je = 0; je < Ge.length; je++)
|
|
3470
3479
|
V.splice(je, 0, Ge[je]);
|
|
@@ -4554,12 +4563,12 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
4554
4563
|
X[0] = E(T[he + q], X[0]);
|
|
4555
4564
|
};
|
|
4556
4565
|
}
|
|
4557
|
-
|
|
4566
|
+
Xe.EQ = function(c, E) {
|
|
4558
4567
|
return Math.abs(c) > Math.abs(E) ? Math.abs(c - E) <= Math.abs(c) * 1e-6 : Math.abs(c - E) <= Math.abs(E) * 1e-6;
|
|
4559
|
-
},
|
|
4560
|
-
return !
|
|
4568
|
+
}, Xe.NEQ = function(c, E) {
|
|
4569
|
+
return !Xe.EQ(c, E);
|
|
4561
4570
|
};
|
|
4562
|
-
function
|
|
4571
|
+
function Xe() {
|
|
4563
4572
|
var c = this, E = null, X = null;
|
|
4564
4573
|
this.setModules = function(h, g, d, D) {
|
|
4565
4574
|
E = d, X = D;
|
|
@@ -8768,7 +8777,7 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
8768
8777
|
}
|
|
8769
8778
|
var xt = 575;
|
|
8770
8779
|
if (g.block_type != o.SHORT_TYPE)
|
|
8771
|
-
for (var St = 576; St-- != 0 &&
|
|
8780
|
+
for (var St = 576; St-- != 0 && Xe.EQ(R[St], 0); )
|
|
8772
8781
|
xt = St;
|
|
8773
8782
|
g.max_nonzero_coeff = xt;
|
|
8774
8783
|
for (var mt = g.sfb_smin; Z < g.psymax; mt++, Z += 3) {
|
|
@@ -8969,7 +8978,7 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
8969
8978
|
break;
|
|
8970
8979
|
}
|
|
8971
8980
|
case 0:
|
|
8972
|
-
h = C.over_count < u.over_count || C.over_count == u.over_count && C.over_noise < u.over_noise || C.over_count == u.over_count &&
|
|
8981
|
+
h = C.over_count < u.over_count || C.over_count == u.over_count && C.over_noise < u.over_noise || C.over_count == u.over_count && Xe.EQ(C.over_noise, u.over_noise) && C.tot_noise < u.tot_noise;
|
|
8973
8982
|
break;
|
|
8974
8983
|
case 8:
|
|
8975
8984
|
x();
|
|
@@ -8986,10 +8995,10 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
8986
8995
|
h = C.max_noise <= 0 && u.max_noise > 0.2 || C.max_noise <= 0 && u.max_noise < 0 && u.max_noise > C.max_noise - 0.2 && C.tot_noise < u.tot_noise || C.max_noise <= 0 && u.max_noise > 0 && u.max_noise > C.max_noise - 0.2 && C.tot_noise < u.tot_noise + u.over_noise || C.max_noise > 0 && u.max_noise > -0.05 && u.max_noise > C.max_noise - 0.1 && C.tot_noise + C.over_noise < u.tot_noise + u.over_noise || C.max_noise > 0 && u.max_noise > -0.1 && u.max_noise > C.max_noise - 0.15 && C.tot_noise + C.over_noise + C.over_noise < u.tot_noise + u.over_noise + u.over_noise;
|
|
8987
8996
|
break;
|
|
8988
8997
|
case 5:
|
|
8989
|
-
h = C.over_noise < u.over_noise ||
|
|
8998
|
+
h = C.over_noise < u.over_noise || Xe.EQ(C.over_noise, u.over_noise) && C.tot_noise < u.tot_noise;
|
|
8990
8999
|
break;
|
|
8991
9000
|
case 6:
|
|
8992
|
-
h = C.over_noise < u.over_noise ||
|
|
9001
|
+
h = C.over_noise < u.over_noise || Xe.EQ(C.over_noise, u.over_noise) && (C.max_noise < u.max_noise || Xe.EQ(C.max_noise, u.max_noise) && C.tot_noise <= u.tot_noise);
|
|
8993
9002
|
break;
|
|
8994
9003
|
case 7:
|
|
8995
9004
|
h = C.over_count < u.over_count || C.over_noise < u.over_noise;
|
|
@@ -10346,35 +10355,35 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
10346
10355
|
-0.313819 * 2
|
|
10347
10356
|
];
|
|
10348
10357
|
this.L3psycho_anal_ns = function(se, z, re, Ne, Le, ge, Ee, De, Ve, tt) {
|
|
10349
|
-
var Pe = se.internal_flags, _t = ue([2, o.BLKSIZE]), st = ue([2, 3, o.BLKSIZE_s]), ct = A(o.CBANDS + 1), gt = A(o.CBANDS + 1), ot = A(o.CBANDS + 2), Je = P(2), ut = P(2), Ct, ze, rt, Ze, bt,
|
|
10358
|
+
var Pe = se.internal_flags, _t = ue([2, o.BLKSIZE]), st = ue([2, 3, o.BLKSIZE_s]), ct = A(o.CBANDS + 1), gt = A(o.CBANDS + 1), ot = A(o.CBANDS + 2), Je = P(2), ut = P(2), Ct, ze, rt, Ze, bt, Wt, It, lt, u0 = ue([2, 576]), Ft, Kt = P(o.CBANDS + 2), e0 = P(o.CBANDS + 2);
|
|
10350
10359
|
for (Se.fill(e0, 0), Ct = Pe.channels_out, se.mode == ie.JOINT_STEREO && (Ct = 4), se.VBR == B.vbr_off ? Ft = Pe.ResvMax == 0 ? 0 : Pe.ResvSize / Pe.ResvMax * 0.5 : se.VBR == B.vbr_rh || se.VBR == B.vbr_mtrh || se.VBR == B.vbr_mt ? Ft = 0.6 : Ft = 1, ze = 0; ze < Pe.channels_out; ze++) {
|
|
10351
10360
|
var r0 = z[ze], a0 = re + 576 - 350 - U + 192;
|
|
10352
10361
|
for (Ze = 0; Ze < 576; Ze++) {
|
|
10353
|
-
var
|
|
10354
|
-
for (
|
|
10355
|
-
|
|
10356
|
-
u0[ze][Ze] =
|
|
10362
|
+
var w0, g0;
|
|
10363
|
+
for (w0 = r0[a0 + Ze + 10], g0 = 0, bt = 0; bt < (U - 1) / 2 - 1; bt += 2)
|
|
10364
|
+
w0 += Ke[bt] * (r0[a0 + Ze + bt] + r0[a0 + Ze + U - bt]), g0 += Ke[bt + 1] * (r0[a0 + Ze + bt + 1] + r0[a0 + Ze + U - bt - 1]);
|
|
10365
|
+
u0[ze][Ze] = w0 + g0;
|
|
10357
10366
|
}
|
|
10358
10367
|
Le[Ne][ze].en.assign(Pe.en[ze]), Le[Ne][ze].thm.assign(Pe.thm[ze]), Ct > 2 && x();
|
|
10359
10368
|
}
|
|
10360
10369
|
for (ze = 0; ze < Ct; ze++) {
|
|
10361
|
-
var N0, H0, Nt = A(12),
|
|
10370
|
+
var N0, H0, Nt = A(12), Xt = [0, 0, 0, 0], y0 = A(12), Y0 = 1, V0, P0 = A(o.CBANDS), U0 = A(o.CBANDS), Tt = [0, 0, 0, 0], z0 = A(o.HBLKSIZE), q0 = ue([3, o.HBLKSIZE_s]);
|
|
10362
10371
|
for (Ze = 0; Ze < 3; Ze++)
|
|
10363
|
-
Nt[Ze] = Pe.nsPsy.last_en_subshort[ze][Ze + 6],
|
|
10372
|
+
Nt[Ze] = Pe.nsPsy.last_en_subshort[ze][Ze + 6], y0[Ze] = Nt[Ze] / Pe.nsPsy.last_en_subshort[ze][Ze + 4], Xt[0] += Nt[Ze];
|
|
10364
10373
|
ze == 2 && x();
|
|
10365
10374
|
{
|
|
10366
10375
|
var G0 = u0[ze & 1], i0 = 0;
|
|
10367
10376
|
for (Ze = 0; Ze < 9; Ze++) {
|
|
10368
10377
|
for (var gr = i0 + 64, At = 1; i0 < gr; i0++)
|
|
10369
10378
|
At < Math.abs(G0[i0]) && (At = Math.abs(G0[i0]));
|
|
10370
|
-
Pe.nsPsy.last_en_subshort[ze][Ze] = Nt[Ze + 3] = At,
|
|
10379
|
+
Pe.nsPsy.last_en_subshort[ze][Ze] = Nt[Ze + 3] = At, Xt[1 + Ze / 3] += At, At > Nt[Ze + 3 - 2] ? At = At / Nt[Ze + 3 - 2] : Nt[Ze + 3 - 2] > At * 10 ? At = Nt[Ze + 3 - 2] / (At * 10) : At = 0, y0[Ze + 3] = At;
|
|
10371
10380
|
}
|
|
10372
10381
|
}
|
|
10373
10382
|
for (se.analysis && x(), V0 = ze == 3 ? Pe.nsPsy.attackthre_s : Pe.nsPsy.attackthre, Ze = 0; Ze < 12; Ze++)
|
|
10374
|
-
Tt[Ze / 3] == 0 &&
|
|
10383
|
+
Tt[Ze / 3] == 0 && y0[Ze] > V0 && (Tt[Ze / 3] = Ze % 3 + 1);
|
|
10375
10384
|
for (Ze = 1; Ze < 4; Ze++) {
|
|
10376
|
-
var
|
|
10377
|
-
|
|
10385
|
+
var x0;
|
|
10386
|
+
Xt[Ze - 1] > Xt[Ze] ? x0 = Xt[Ze - 1] / Xt[Ze] : x0 = Xt[Ze] / Xt[Ze - 1], x0 < 1.7 && (Tt[Ze] = 0, Ze == 1 && (Tt[0] = 0));
|
|
10378
10387
|
}
|
|
10379
10388
|
for (Tt[0] != 0 && Pe.nsPsy.lastAttacks[ze] != 0 && (Tt[0] = 0), (Pe.nsPsy.lastAttacks[ze] == 3 || Tt[0] + Tt[1] + Tt[2] + Tt[3] != 0) && (Y0 = 0, Tt[1] != 0 && Tt[0] != 0 && (Tt[1] = 0), Tt[2] != 0 && Tt[1] != 0 && (Tt[2] = 0), Tt[3] != 0 && Tt[2] != 0 && (Tt[3] = 0)), ze < 2 ? ut[ze] = Y0 : x(), Ve[ze] = Pe.tot_ener[ze], H0 = st, N0 = _t, C(
|
|
10380
10389
|
se,
|
|
@@ -10389,7 +10398,7 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
10389
10398
|
z,
|
|
10390
10399
|
re
|
|
10391
10400
|
), qe(Pe, z0, ct, P0, U0), Qe(Pe, P0, U0, Kt), lt = 0; lt < 3; lt++) {
|
|
10392
|
-
var
|
|
10401
|
+
var S0, Ot;
|
|
10393
10402
|
for (i(se, q0, gt, ot, ze, lt), L(Pe, gt, ot, ze, lt), It = 0; It < o.SBMAX_s; It++) {
|
|
10394
10403
|
if (Ot = Pe.thm[ze].s[It][lt], Ot *= ne, Tt[lt] >= 2 || Tt[lt + 1] == 1) {
|
|
10395
10404
|
var n0 = lt != 0 ? lt - 1 : 2, At = O(
|
|
@@ -10414,14 +10423,14 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
10414
10423
|
);
|
|
10415
10424
|
Ot = Math.min(Ot, At);
|
|
10416
10425
|
}
|
|
10417
|
-
|
|
10426
|
+
S0 = Nt[lt * 3 + 3] + Nt[lt * 3 + 4] + Nt[lt * 3 + 5], Nt[lt * 3 + 5] * 6 < S0 && (Ot *= 0.5, Nt[lt * 3 + 4] * 6 < S0 && (Ot *= 0.5)), Pe.thm[ze].s[It][lt] = Ot;
|
|
10418
10427
|
}
|
|
10419
10428
|
}
|
|
10420
|
-
for (Pe.nsPsy.lastAttacks[ze] = Tt[2],
|
|
10421
|
-
for (var Zt = Pe.s3ind[rt][0],
|
|
10422
|
-
|
|
10429
|
+
for (Pe.nsPsy.lastAttacks[ze] = Tt[2], Wt = 0, rt = 0; rt < Pe.npart_l; rt++) {
|
|
10430
|
+
for (var Zt = Pe.s3ind[rt][0], T0 = ct[Zt] * s[Kt[Zt]], Qt = Pe.s3_ll[Wt++] * T0; ++Zt <= Pe.s3ind[rt][1]; )
|
|
10431
|
+
T0 = ct[Zt] * s[Kt[Zt]], Qt = R(
|
|
10423
10432
|
Qt,
|
|
10424
|
-
Pe.s3_ll[
|
|
10433
|
+
Pe.s3_ll[Wt++] * T0,
|
|
10425
10434
|
Zt,
|
|
10426
10435
|
Zt - rt,
|
|
10427
10436
|
Pe
|
|
@@ -10437,8 +10446,8 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
10437
10446
|
r(Pe, ct, ot, ze);
|
|
10438
10447
|
}
|
|
10439
10448
|
for ((se.mode == ie.STEREO || se.mode == ie.JOINT_STEREO) && x(), se.mode == ie.JOINT_STEREO && x(), J(se, ut, tt, Je), ze = 0; ze < Ct; ze++) {
|
|
10440
|
-
var d0, c0 = 0, j0,
|
|
10441
|
-
ze > 1 ? x() : (d0 = Ee, c0 = 0, j0 = tt[ze],
|
|
10449
|
+
var d0, c0 = 0, j0, R0;
|
|
10450
|
+
ze > 1 ? x() : (d0 = Ee, c0 = 0, j0 = tt[ze], R0 = Le[Ne][ze]), j0 == o.SHORT_TYPE ? d0[c0 + ze] = me(R0, Pe.masking_lower) : d0[c0 + ze] = Me(R0, Pe.masking_lower), se.analysis && (Pe.pinfo.pe[Ne][ze] = d0[c0 + ze]);
|
|
10442
10451
|
}
|
|
10443
10452
|
return 0;
|
|
10444
10453
|
};
|
|
@@ -10466,8 +10475,8 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
10466
10475
|
}
|
|
10467
10476
|
st[ot] = De * Je;
|
|
10468
10477
|
for (var rt = 0; rt < _t; rt++) {
|
|
10469
|
-
var Ze, bt,
|
|
10470
|
-
|
|
10478
|
+
var Ze, bt, Wt, It, lt;
|
|
10479
|
+
Wt = tt[rt], It = tt[rt + 1], Ze = 0 | Math.floor(0.5 + Pe * (Wt - 0.5)), Ze < 0 && (Ze = 0), bt = 0 | Math.floor(0.5 + Pe * (It - 0.5)), bt > Ve / 2 && (bt = Ve / 2), re[rt] = (gt[Ze] + gt[bt]) / 2, z[rt] = gt[bt];
|
|
10471
10480
|
var u0 = ct * It;
|
|
10472
10481
|
Ee[rt] = (u0 - st[z[rt]]) / (st[z[rt] + 1] - st[z[rt]]), Ee[rt] < 0 ? Ee[rt] = 0 : Ee[rt] > 1 && (Ee[rt] = 1), lt = St(De * tt[rt] * Pe), lt = Math.min(lt, 15.5) / 15.5, ge[rt] = Math.pow(
|
|
10473
10482
|
10,
|
|
@@ -10611,8 +10620,8 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
10611
10620
|
for (var bt = 0; bt < z.npart_l; bt++)
|
|
10612
10621
|
z.s3ind[bt][1] > z.npart_l - 1 && (z.s3ind[bt][1] = z.npart_l - 1);
|
|
10613
10622
|
}
|
|
10614
|
-
var
|
|
10615
|
-
if (z.ATH.decay = Math.pow(10, -12 / 10 *
|
|
10623
|
+
var Wt = 576 * z.mode_gr / ct;
|
|
10624
|
+
if (z.ATH.decay = Math.pow(10, -12 / 10 * Wt), z.ATH.adjust = 0.01, z.ATH.adjustLimit = 1, se.ATHtype != -1) {
|
|
10616
10625
|
var ze, It = se.out_samplerate / o.BLKSIZE, lt = 0;
|
|
10617
10626
|
for (ze = 0, re = 0; re < o.BLKSIZE / 2; ++re)
|
|
10618
10627
|
ze += It, z.ATH.eql_w[re] = 1 / Math.pow(10, this.ATHformula(ze, se) / 10), lt += z.ATH.eql_w[re];
|
|
@@ -11014,13 +11023,13 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
11014
11023
|
return 0;
|
|
11015
11024
|
if (mt = he.copy_buffer(Me, Q, me, xe, 0), mt < 0)
|
|
11016
11025
|
return mt;
|
|
11017
|
-
if (me += mt, qe += mt, Mt[0] = i, Mt[1] = J,
|
|
11026
|
+
if (me += mt, qe += mt, Mt[0] = i, Mt[1] = J, Xe.NEQ(r.scale, 0) && Xe.NEQ(r.scale, 1))
|
|
11018
11027
|
for (Ke = 0; Ke < O; ++Ke)
|
|
11019
11028
|
Mt[0][Ke] *= r.scale, Me.channels_out == 2 && (Mt[1][Ke] *= r.scale);
|
|
11020
|
-
if (
|
|
11029
|
+
if (Xe.NEQ(r.scale_left, 0) && Xe.NEQ(r.scale_left, 1))
|
|
11021
11030
|
for (Ke = 0; Ke < O; ++Ke)
|
|
11022
11031
|
Mt[0][Ke] *= r.scale_left;
|
|
11023
|
-
if (
|
|
11032
|
+
if (Xe.NEQ(r.scale_right, 0) && Xe.NEQ(r.scale_right, 1))
|
|
11024
11033
|
for (Ke = 0; Ke < O; ++Ke)
|
|
11025
11034
|
Mt[1][Ke] *= r.scale_right;
|
|
11026
11035
|
r.num_channels == 2 && Me.channels_out == 1 && x(), St = f(r), wt[0] = Me.mfbuf[0], wt[1] = Me.mfbuf[1];
|
|
@@ -11104,7 +11113,7 @@ const A0 = /* @__PURE__ */ F0(si);
|
|
|
11104
11113
|
}
|
|
11105
11114
|
function le(c, E, X) {
|
|
11106
11115
|
c != 1 && x("fix cc: only supports mono");
|
|
11107
|
-
var T = new ve(), he = new te(), w = new Ue(), q = new
|
|
11116
|
+
var T = new ve(), he = new te(), w = new Ue(), q = new Xe(), ce = new Ge(), Y = new e(), ne = new k(), H = new Ye(), be = new _e(), F = new W(), U = new je(), t = new Fe(), u = new ye(), C = new Ce();
|
|
11108
11117
|
T.setModules(w, q, ce, Y, ne, H, be, F, C), q.setModules(w, C, be, H), F.setModules(q, be), ce.setModules(T), ne.setModules(q, U, Y, t), Y.setModules(t, U, T.enc.psy), U.setModules(q), t.setModules(Y), H.setModules(T, q, be), he.setModules(u, C), u.setModules(be, F, ce);
|
|
11109
11118
|
var G = T.lame_init();
|
|
11110
11119
|
G.num_channels = c, G.in_samplerate = E, G.out_samplerate = E, G.brate = X, G.mode = ie.STEREO, G.quality = 3, G.bWriteVbrTag = !1, G.disable_reservoir = !0, G.write_id3tag_automatic = !1, T.lame_init_params(G);
|
|
@@ -11235,7 +11244,7 @@ const oi = {
|
|
|
11235
11244
|
}
|
|
11236
11245
|
},
|
|
11237
11246
|
created() {
|
|
11238
|
-
this.width = this.isMobile || this.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, this.rec =
|
|
11247
|
+
this.width = this.isMobile || this.responsive ? "100vw" : `${document.querySelector(".record-tree").clientWidth}px`, this.rec = k0({
|
|
11239
11248
|
//本配置参数请参考下面的文档,有详细介绍
|
|
11240
11249
|
type: "mp3",
|
|
11241
11250
|
sampleRate: 16e3,
|
|
@@ -11250,7 +11259,7 @@ const oi = {
|
|
|
11250
11259
|
}
|
|
11251
11260
|
}), this.rec.open(
|
|
11252
11261
|
() => {
|
|
11253
|
-
|
|
11262
|
+
k0.WaveView && (this.wave = k0.WaveView({ elem: ".recwave" }), this.$nextTick(() => {
|
|
11254
11263
|
this.wave.input([0], 0, 16e3), this.start();
|
|
11255
11264
|
})), this.ready = !0;
|
|
11256
11265
|
},
|
|
@@ -11271,7 +11280,7 @@ const oi = {
|
|
|
11271
11280
|
url: null,
|
|
11272
11281
|
blob: null,
|
|
11273
11282
|
duration: "00:00",
|
|
11274
|
-
icon:
|
|
11283
|
+
icon: Gt,
|
|
11275
11284
|
width: "100vw",
|
|
11276
11285
|
text: "",
|
|
11277
11286
|
isMobile: Dt.isMobile
|
|
@@ -11321,10 +11330,10 @@ const oi = {
|
|
|
11321
11330
|
}, br = (a) => (Rr("data-v-e8535564"), a = a(), Mr(), a), li = {
|
|
11322
11331
|
key: 0,
|
|
11323
11332
|
class: "record-audio-mobile"
|
|
11324
|
-
}, ui = /* @__PURE__ */ br(() => /* @__PURE__ */
|
|
11333
|
+
}, ui = /* @__PURE__ */ br(() => /* @__PURE__ */ We("div", { class: "recwave" }, null, -1)), di = {
|
|
11325
11334
|
key: 1,
|
|
11326
11335
|
class: "record-audio"
|
|
11327
|
-
}, ci = { class: "main" }, fi = /* @__PURE__ */ br(() => /* @__PURE__ */
|
|
11336
|
+
}, ci = { class: "main" }, fi = /* @__PURE__ */ br(() => /* @__PURE__ */ We("div", { class: "recwave" }, null, -1)), hi = { class: "duration" }, vi = {
|
|
11328
11337
|
key: 0,
|
|
11329
11338
|
class: "audio-item"
|
|
11330
11339
|
}, mi = ["src"], _i = {
|
|
@@ -11335,7 +11344,7 @@ function bi(a, n, y, x, N, m) {
|
|
|
11335
11344
|
const P = Bt("inline-svg");
|
|
11336
11345
|
return et(), nt("div", {
|
|
11337
11346
|
class: "wrap",
|
|
11338
|
-
style:
|
|
11347
|
+
style: qt({
|
|
11339
11348
|
width: a.width
|
|
11340
11349
|
})
|
|
11341
11350
|
}, [
|
|
@@ -11365,22 +11374,22 @@ function bi(a, n, y, x, N, m) {
|
|
|
11365
11374
|
])),
|
|
11366
11375
|
ui
|
|
11367
11376
|
])) : (et(), nt("div", di, [
|
|
11368
|
-
|
|
11377
|
+
We("div", ci, [
|
|
11369
11378
|
fi,
|
|
11370
|
-
|
|
11379
|
+
We("div", hi, o0(a.duration), 1)
|
|
11371
11380
|
]),
|
|
11372
11381
|
a.url && !a.isMobile ? (et(), nt("div", vi, [
|
|
11373
|
-
|
|
11382
|
+
We("audio", {
|
|
11374
11383
|
src: a.url,
|
|
11375
11384
|
controls: "",
|
|
11376
11385
|
ref: "audio"
|
|
11377
11386
|
}, null, 8, mi),
|
|
11378
|
-
|
|
11387
|
+
We("a", {
|
|
11379
11388
|
onClick: n[2] || (n[2] = (...A) => m.handleTranslate && m.handleTranslate(...A))
|
|
11380
11389
|
}, "转文本")
|
|
11381
11390
|
])) : Rt("", !0),
|
|
11382
11391
|
a.text ? (et(), nt("div", _i, o0(a.text), 1)) : Rt("", !0),
|
|
11383
|
-
|
|
11392
|
+
We("div", pi, [
|
|
11384
11393
|
a.pending ? (et(), nt("a", {
|
|
11385
11394
|
key: 1,
|
|
11386
11395
|
onClick: n[4] || (n[4] = (...A) => m.stop && m.stop(...A)),
|
|
@@ -11404,7 +11413,7 @@ function bi(a, n, y, x, N, m) {
|
|
|
11404
11413
|
height: 24
|
|
11405
11414
|
}, null, 8, ["src"])
|
|
11406
11415
|
])),
|
|
11407
|
-
|
|
11416
|
+
We("a", {
|
|
11408
11417
|
onClick: n[5] || (n[5] = (...A) => m.handleFinish && m.handleFinish(...A)),
|
|
11409
11418
|
class: Lt({
|
|
11410
11419
|
btn: !0,
|
|
@@ -11420,19 +11429,19 @@ function bi(a, n, y, x, N, m) {
|
|
|
11420
11429
|
finish: !0
|
|
11421
11430
|
})
|
|
11422
11431
|
}, " 插入文本 ")) : Rt("", !0),
|
|
11423
|
-
|
|
11432
|
+
We("a", {
|
|
11424
11433
|
onClick: n[7] || (n[7] = (...A) => m.handleCancel && m.handleCancel(...A)),
|
|
11425
11434
|
class: "cancel btn"
|
|
11426
11435
|
}, "取消")
|
|
11427
11436
|
])
|
|
11428
11437
|
])),
|
|
11429
|
-
|
|
11438
|
+
We("div", {
|
|
11430
11439
|
class: "mask",
|
|
11431
11440
|
onClick: n[8] || (n[8] = (...A) => m.handleCancel && m.handleCancel(...A))
|
|
11432
11441
|
})
|
|
11433
11442
|
], 4);
|
|
11434
11443
|
}
|
|
11435
|
-
const wi = /* @__PURE__ */
|
|
11444
|
+
const wi = /* @__PURE__ */ jt(oi, [["render", bi], ["__scopeId", "data-v-e8535564"]]);
|
|
11436
11445
|
var wr = { exports: {} };
|
|
11437
11446
|
(function(a) {
|
|
11438
11447
|
/**
|
|
@@ -12038,7 +12047,7 @@ var wr = { exports: {} };
|
|
|
12038
12047
|
* @param {object} config - {type:"video", disableLogs: true, numberOfAudioChannels: 1, bufferSize: 0, sampleRate: 0, video: HTMLVideoElement, getNativeBlob:true, etc.}
|
|
12039
12048
|
*/
|
|
12040
12049
|
function y(I, e) {
|
|
12041
|
-
return !e.recorderType && !e.type && (e.audio && e.video ? e.type = "video" : e.audio && !e.video && (e.type = "audio")), e.recorderType && !e.type && (e.recorderType === K || e.recorderType === Ie || typeof Oe < "u" && e.recorderType === Oe ? e.type = "video" : e.recorderType === $e ? e.type = "gif" : e.recorderType ===
|
|
12050
|
+
return !e.recorderType && !e.type && (e.audio && e.video ? e.type = "video" : e.audio && !e.video && (e.type = "audio")), e.recorderType && !e.type && (e.recorderType === K || e.recorderType === Ie || typeof Oe < "u" && e.recorderType === Oe ? e.type = "video" : e.recorderType === $e ? e.type = "gif" : e.recorderType === Xe ? e.type = "audio" : e.recorderType === Ye && (_e(I, "audio").length && _e(I, "video").length || !_e(I, "audio").length && _e(I, "video").length ? e.type = "video" : _e(I, "audio").length && !_e(I, "video").length && (e.type = "audio"))), typeof Ye < "u" && typeof MediaRecorder < "u" && "requestData" in MediaRecorder.prototype && (e.mimeType || (e.mimeType = "video/webm"), e.type || (e.type = e.mimeType.split("/")[0]), e.bitsPerSecond), e.type || (e.mimeType && (e.type = e.mimeType.split("/")[0]), e.type || (e.type = "audio")), e;
|
|
12042
12051
|
}
|
|
12043
12052
|
/**
|
|
12044
12053
|
* {@link GetRecorderType} is an inner/private helper for {@link RecordRTC}.
|
|
@@ -12056,7 +12065,7 @@ var wr = { exports: {} };
|
|
|
12056
12065
|
*/
|
|
12057
12066
|
function x(I, e) {
|
|
12058
12067
|
var l;
|
|
12059
|
-
return (V || ke || He) && (l =
|
|
12068
|
+
return (V || ke || He) && (l = Xe), typeof MediaRecorder < "u" && "requestData" in MediaRecorder.prototype && !V && (l = Ye), e.type === "video" && (V || He) && (l = K, typeof Oe < "u" && typeof ReadableStream < "u" && (l = Oe)), e.type === "gif" && (l = $e), e.type === "canvas" && (l = Ie), je() && l !== Ie && l !== $e && typeof MediaRecorder < "u" && "requestData" in MediaRecorder.prototype && (_e(I, "video").length || _e(I, "audio").length) && (e.type === "audio" ? typeof MediaRecorder.isTypeSupported == "function" && MediaRecorder.isTypeSupported("audio/webm") && (l = Ye) : typeof MediaRecorder.isTypeSupported == "function" && MediaRecorder.isTypeSupported("video/webm") && (l = Ye)), I instanceof Array && I.length && (l = ht), e.recorderType && (l = e.recorderType), !e.disableLogs && l && l.name && console.log("Using recorderType:", l.name || l.constructor.name), !l && j && (l = Ye), l;
|
|
12060
12069
|
}
|
|
12061
12070
|
/**
|
|
12062
12071
|
* MRecordRTC runs on top of {@link RecordRTC} to bring multiple recordings in a single place, by providing simple API.
|
|
@@ -12136,7 +12145,7 @@ var wr = { exports: {} };
|
|
|
12136
12145
|
}
|
|
12137
12146
|
if (e.audio && e.video) {
|
|
12138
12147
|
var $ = this, M = je() === !0;
|
|
12139
|
-
(e.audio instanceof
|
|
12148
|
+
(e.audio instanceof Xe && e.video || e.audio !== !0 && e.video !== !0 && e.audio !== e.video) && (M = !1), M === !0 ? ($.audioRecorder = null, $.videoRecorder.startRecording()) : $.videoRecorder.initRecorder(function() {
|
|
12140
12149
|
$.audioRecorder.initRecorder(function() {
|
|
12141
12150
|
$.videoRecorder.startRecording(), $.audioRecorder.startRecording();
|
|
12142
12151
|
});
|
|
@@ -12561,7 +12570,7 @@ var wr = { exports: {} };
|
|
|
12561
12570
|
* @param {MediaStream} mediaStream - MediaStream object fetched using getUserMedia API or generated using captureStreamUntilEnded or WebAudio API.
|
|
12562
12571
|
* @param {object} config - {sampleRate: 44100, bufferSize: 4096, numberOfAudioChannels: 1, etc.}
|
|
12563
12572
|
*/
|
|
12564
|
-
function
|
|
12573
|
+
function Xe(I, e) {
|
|
12565
12574
|
if (!_e(I, "audio").length)
|
|
12566
12575
|
throw "Your stream has no audio tracks.";
|
|
12567
12576
|
e = e || {};
|
|
@@ -12748,7 +12757,7 @@ var wr = { exports: {} };
|
|
|
12748
12757
|
}) : setTimeout(X, e.timeSlice));
|
|
12749
12758
|
}
|
|
12750
12759
|
}
|
|
12751
|
-
typeof n < "u" && (n.StereoAudioRecorder =
|
|
12760
|
+
typeof n < "u" && (n.StereoAudioRecorder = Xe);
|
|
12752
12761
|
/**
|
|
12753
12762
|
* CanvasRecorder is a standalone class used by {@link RecordRTC} to bring HTML5-Canvas recording into video WebM. It uses HTML2Canvas library and runs top over {@link Whammy}.
|
|
12754
12763
|
* @summary HTML2Canvas recording into video WebM.
|
|
@@ -14010,7 +14019,7 @@ const yi = {
|
|
|
14010
14019
|
pending: !1,
|
|
14011
14020
|
blob: null,
|
|
14012
14021
|
duration: null,
|
|
14013
|
-
icon:
|
|
14022
|
+
icon: Gt,
|
|
14014
14023
|
width: "100vw"
|
|
14015
14024
|
};
|
|
14016
14025
|
},
|
|
@@ -14057,13 +14066,13 @@ function Ri(a, n, y, x, N, m) {
|
|
|
14057
14066
|
const P = Bt("inline-svg");
|
|
14058
14067
|
return et(), nt("div", {
|
|
14059
14068
|
class: "wrap",
|
|
14060
|
-
style:
|
|
14069
|
+
style: qt({
|
|
14061
14070
|
width: a.width
|
|
14062
14071
|
})
|
|
14063
14072
|
}, [
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14073
|
+
We("div", xi, [
|
|
14074
|
+
We("video", Si, null, 512),
|
|
14075
|
+
We("div", Ti, [
|
|
14067
14076
|
a.pending ? (et(), nt("a", {
|
|
14068
14077
|
key: 1,
|
|
14069
14078
|
onClick: n[1] || (n[1] = (...A) => m.stop && m.stop(...A)),
|
|
@@ -14087,26 +14096,26 @@ function Ri(a, n, y, x, N, m) {
|
|
|
14087
14096
|
height: 24
|
|
14088
14097
|
}, null, 8, ["src"])
|
|
14089
14098
|
])),
|
|
14090
|
-
|
|
14099
|
+
We("a", {
|
|
14091
14100
|
onClick: n[2] || (n[2] = (...A) => m.handleFinish && m.handleFinish(...A)),
|
|
14092
14101
|
class: Lt(["btn", {
|
|
14093
14102
|
finish: !0,
|
|
14094
14103
|
disabled: !a.blob
|
|
14095
14104
|
}])
|
|
14096
14105
|
}, "完成", 2),
|
|
14097
|
-
|
|
14106
|
+
We("a", {
|
|
14098
14107
|
onClick: n[3] || (n[3] = (...A) => m.handleCancel && m.handleCancel(...A)),
|
|
14099
14108
|
class: "cancel btn"
|
|
14100
14109
|
}, "取消")
|
|
14101
14110
|
])
|
|
14102
14111
|
]),
|
|
14103
|
-
|
|
14112
|
+
We("div", {
|
|
14104
14113
|
class: "mask",
|
|
14105
14114
|
onClick: n[4] || (n[4] = (...A) => m.handleCancel && m.handleCancel(...A))
|
|
14106
14115
|
})
|
|
14107
14116
|
], 4);
|
|
14108
14117
|
}
|
|
14109
|
-
const Mi = /* @__PURE__ */
|
|
14118
|
+
const Mi = /* @__PURE__ */ jt(yi, [["render", Ri], ["__scopeId", "data-v-be255be7"]]), Ci = {
|
|
14110
14119
|
components: { InlineSvg: Jt },
|
|
14111
14120
|
props: {
|
|
14112
14121
|
responsive: {
|
|
@@ -14129,7 +14138,7 @@ const Mi = /* @__PURE__ */ Gt(yi, [["render", Ri], ["__scopeId", "data-v-be255be
|
|
|
14129
14138
|
return {
|
|
14130
14139
|
url: null,
|
|
14131
14140
|
blob: null,
|
|
14132
|
-
icon:
|
|
14141
|
+
icon: Gt,
|
|
14133
14142
|
width: "100vw"
|
|
14134
14143
|
};
|
|
14135
14144
|
},
|
|
@@ -14174,22 +14183,22 @@ function Oi(a, n, y, x, N, m) {
|
|
|
14174
14183
|
const P = Bt("inline-svg");
|
|
14175
14184
|
return et(), nt("div", {
|
|
14176
14185
|
class: "wrap",
|
|
14177
|
-
style:
|
|
14186
|
+
style: qt({
|
|
14178
14187
|
width: a.width
|
|
14179
14188
|
})
|
|
14180
14189
|
}, [
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14190
|
+
We("div", Ai, [
|
|
14191
|
+
We("div", ki, [
|
|
14192
|
+
We("video", Bi, null, 512),
|
|
14193
|
+
We("div", Ei, [
|
|
14185
14194
|
a.url ? (et(), nt("img", {
|
|
14186
14195
|
key: 0,
|
|
14187
14196
|
src: a.url
|
|
14188
14197
|
}, null, 8, Di)) : Rt("", !0)
|
|
14189
14198
|
])
|
|
14190
14199
|
]),
|
|
14191
|
-
|
|
14192
|
-
|
|
14200
|
+
We("canvas", Li, null, 512),
|
|
14201
|
+
We("div", Ii, [
|
|
14193
14202
|
a.pending ? Rt("", !0) : (et(), nt("a", {
|
|
14194
14203
|
key: 0,
|
|
14195
14204
|
onClick: n[0] || (n[0] = (...A) => m.start && m.start(...A)),
|
|
@@ -14202,26 +14211,26 @@ function Oi(a, n, y, x, N, m) {
|
|
|
14202
14211
|
height: 24
|
|
14203
14212
|
}, null, 8, ["src"])
|
|
14204
14213
|
])),
|
|
14205
|
-
|
|
14214
|
+
We("a", {
|
|
14206
14215
|
onClick: n[1] || (n[1] = (...A) => m.handleFinish && m.handleFinish(...A)),
|
|
14207
14216
|
class: Lt(["btn", {
|
|
14208
14217
|
finish: !0,
|
|
14209
14218
|
disabled: !a.url
|
|
14210
14219
|
}])
|
|
14211
14220
|
}, "完成", 2),
|
|
14212
|
-
|
|
14221
|
+
We("a", {
|
|
14213
14222
|
onClick: n[2] || (n[2] = (...A) => m.handleCancel && m.handleCancel(...A)),
|
|
14214
14223
|
class: "cancel btn"
|
|
14215
14224
|
}, "取消")
|
|
14216
14225
|
])
|
|
14217
14226
|
]),
|
|
14218
|
-
|
|
14227
|
+
We("div", {
|
|
14219
14228
|
class: "mask",
|
|
14220
14229
|
onClick: n[3] || (n[3] = (...A) => m.handleCancel && m.handleCancel(...A))
|
|
14221
14230
|
})
|
|
14222
14231
|
], 4);
|
|
14223
14232
|
}
|
|
14224
|
-
const Fi = /* @__PURE__ */
|
|
14233
|
+
const Fi = /* @__PURE__ */ jt(Ci, [["render", Oi], ["__scopeId", "data-v-d1a4de11"]]), tr = "KEY_PENDING_NODES", Ni = "tree_title", Hi = {
|
|
14225
14234
|
name: "recordTree",
|
|
14226
14235
|
components: {
|
|
14227
14236
|
InlineSvg: Jt,
|
|
@@ -14280,7 +14289,7 @@ const Fi = /* @__PURE__ */ Gt(Ci, [["render", Oi], ["__scopeId", "data-v-d1a4de1
|
|
|
14280
14289
|
recordAudioVisible: !1,
|
|
14281
14290
|
recordVideoVisible: !1,
|
|
14282
14291
|
recordPhotoVisible: !1,
|
|
14283
|
-
icon:
|
|
14292
|
+
icon: Gt,
|
|
14284
14293
|
hash: Yt(),
|
|
14285
14294
|
store: Dt,
|
|
14286
14295
|
isMobile: Dt.isMobile,
|
|
@@ -14537,7 +14546,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14537
14546
|
"record-tree-mobile": N.isMobile
|
|
14538
14547
|
})
|
|
14539
14548
|
}, [
|
|
14540
|
-
|
|
14549
|
+
We("div", {
|
|
14541
14550
|
class: Lt({
|
|
14542
14551
|
"record-tree": !0,
|
|
14543
14552
|
"record-tree-nobar": !y.bar
|
|
@@ -14557,8 +14566,8 @@ function ji(a, n, y, x, N, m) {
|
|
|
14557
14566
|
onFile: m.handleTitleFile,
|
|
14558
14567
|
onDbEnter: m.handleDbEnter
|
|
14559
14568
|
}, null, 8, ["tags", "readOnly", "enableDbEnter", "note", "onFocusContent", "onChange", "onTagChange", "onFile", "onDbEnter"])) : Rt("", !0),
|
|
14560
|
-
|
|
14561
|
-
|
|
14569
|
+
We("div", Yi, [
|
|
14570
|
+
We("div", Vi, [
|
|
14562
14571
|
yt(A, {
|
|
14563
14572
|
ref: "treeEditor",
|
|
14564
14573
|
nodes: N.curNodes,
|
|
@@ -14575,8 +14584,8 @@ function ji(a, n, y, x, N, m) {
|
|
|
14575
14584
|
])
|
|
14576
14585
|
], 34),
|
|
14577
14586
|
y.bar && !y.readOnly ? (et(), nt("div", Pi, [
|
|
14578
|
-
|
|
14579
|
-
|
|
14587
|
+
We("div", Ui, [
|
|
14588
|
+
We("div", {
|
|
14580
14589
|
class: "record-tree-option-item",
|
|
14581
14590
|
onClick: n[2] || (n[2] = (...V) => m.setToParent && m.setToParent(...V)),
|
|
14582
14591
|
title: "左缩进"
|
|
@@ -14587,7 +14596,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14587
14596
|
height: 20
|
|
14588
14597
|
}, null, 8, ["src"])
|
|
14589
14598
|
]),
|
|
14590
|
-
|
|
14599
|
+
We("div", {
|
|
14591
14600
|
class: "record-tree-option-item",
|
|
14592
14601
|
onClick: n[3] || (n[3] = (...V) => m.setToChild && m.setToChild(...V)),
|
|
14593
14602
|
title: "右缩进"
|
|
@@ -14598,7 +14607,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14598
14607
|
height: 20
|
|
14599
14608
|
}, null, 8, ["src"])
|
|
14600
14609
|
]),
|
|
14601
|
-
|
|
14610
|
+
We("div", {
|
|
14602
14611
|
class: "record-tree-option-item",
|
|
14603
14612
|
onClick: n[4] || (n[4] = (...V) => m.setToUp && m.setToUp(...V)),
|
|
14604
14613
|
title: "上移"
|
|
@@ -14609,7 +14618,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14609
14618
|
height: 20
|
|
14610
14619
|
}, null, 8, ["src"])
|
|
14611
14620
|
]),
|
|
14612
|
-
|
|
14621
|
+
We("div", {
|
|
14613
14622
|
class: "record-tree-option-item",
|
|
14614
14623
|
onClick: n[5] || (n[5] = (...V) => m.setToDown && m.setToDown(...V)),
|
|
14615
14624
|
title: "移动"
|
|
@@ -14620,7 +14629,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14620
14629
|
height: 20
|
|
14621
14630
|
}, null, 8, ["src"])
|
|
14622
14631
|
]),
|
|
14623
|
-
|
|
14632
|
+
We("div", {
|
|
14624
14633
|
class: "record-tree-option-item",
|
|
14625
14634
|
onClick: n[6] || (n[6] = (...V) => m.handleToggleBold && m.handleToggleBold(...V)),
|
|
14626
14635
|
title: "加粗"
|
|
@@ -14650,7 +14659,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14650
14659
|
_: 1
|
|
14651
14660
|
})
|
|
14652
14661
|
])),
|
|
14653
|
-
|
|
14662
|
+
We("div", {
|
|
14654
14663
|
class: "record-tree-option-item",
|
|
14655
14664
|
onClick: n[7] || (n[7] = (...V) => m.handleSelectFile && m.handleSelectFile(...V)),
|
|
14656
14665
|
title: "添加附件"
|
|
@@ -14661,7 +14670,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14661
14670
|
height: 20
|
|
14662
14671
|
}, null, 8, ["src"])
|
|
14663
14672
|
]),
|
|
14664
|
-
|
|
14673
|
+
We("div", {
|
|
14665
14674
|
class: "record-tree-option-item",
|
|
14666
14675
|
onClick: n[8] || (n[8] = (...V) => m.handleRecordAudio && m.handleRecordAudio(...V)),
|
|
14667
14676
|
title: "录制音频"
|
|
@@ -14672,7 +14681,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14672
14681
|
height: 20
|
|
14673
14682
|
}, null, 8, ["src"])
|
|
14674
14683
|
]),
|
|
14675
|
-
|
|
14684
|
+
We("div", {
|
|
14676
14685
|
class: "record-tree-option-item",
|
|
14677
14686
|
onClick: n[9] || (n[9] = (...V) => m.handleRecordVideo && m.handleRecordVideo(...V)),
|
|
14678
14687
|
title: "录制视频"
|
|
@@ -14683,7 +14692,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14683
14692
|
height: 20
|
|
14684
14693
|
}, null, 8, ["src"])
|
|
14685
14694
|
]),
|
|
14686
|
-
|
|
14695
|
+
We("div", {
|
|
14687
14696
|
class: "record-tree-option-item",
|
|
14688
14697
|
onClick: n[10] || (n[10] = (...V) => m.handleRecordPhoto && m.handleRecordPhoto(...V)),
|
|
14689
14698
|
title: "拍照"
|
|
@@ -14696,25 +14705,25 @@ function ji(a, n, y, x, N, m) {
|
|
|
14696
14705
|
])
|
|
14697
14706
|
]),
|
|
14698
14707
|
N.isMobile ? (et(), nt("div", qi, [
|
|
14699
|
-
|
|
14708
|
+
We("div", {
|
|
14700
14709
|
class: "record-tree-option-item",
|
|
14701
14710
|
onClick: n[11] || (n[11] = kt((...V) => m.handleComplete && m.handleComplete(...V), ["stop"]))
|
|
14702
14711
|
}, o0(N.modified || y.note.created_at ? "完成" : "取消"), 1)
|
|
14703
14712
|
])) : Rt("", !0),
|
|
14704
|
-
|
|
14705
|
-
|
|
14713
|
+
We("div", Gi, [
|
|
14714
|
+
We("input", {
|
|
14706
14715
|
type: "file",
|
|
14707
14716
|
ref: "selectFile",
|
|
14708
14717
|
onChange: n[12] || (n[12] = (V) => m.handleFileUpload(V.target.files))
|
|
14709
14718
|
}, null, 544),
|
|
14710
|
-
|
|
14719
|
+
We("input", {
|
|
14711
14720
|
type: "file",
|
|
14712
14721
|
ref: "selectPhoto",
|
|
14713
14722
|
accept: "image/*",
|
|
14714
14723
|
capture: "camera",
|
|
14715
14724
|
onChange: n[13] || (n[13] = (V) => m.handleFileUpload(V.target.files))
|
|
14716
14725
|
}, null, 544),
|
|
14717
|
-
|
|
14726
|
+
We("input", {
|
|
14718
14727
|
type: "file",
|
|
14719
14728
|
ref: "selectVideo",
|
|
14720
14729
|
accept: "video/*",
|
|
@@ -14744,7 +14753,7 @@ function ji(a, n, y, x, N, m) {
|
|
|
14744
14753
|
}, null, 8, ["responsive", "onFinish"])) : Rt("", !0)
|
|
14745
14754
|
], 2);
|
|
14746
14755
|
}
|
|
14747
|
-
const sn = /* @__PURE__ */
|
|
14756
|
+
const sn = /* @__PURE__ */ jt(Hi, [["render", ji]]);
|
|
14748
14757
|
export {
|
|
14749
14758
|
wi as RecordAudio,
|
|
14750
14759
|
Fi as RecordPhoto,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codernote/record-tree",
|
|
3
|
-
"version": "2.4.0-beta.
|
|
3
|
+
"version": "2.4.0-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"recordrtc": "^5.6.2",
|
|
21
21
|
"vue-inline-svg": "^3.1.2",
|
|
22
22
|
"vue3-popper": "^1.5.0",
|
|
23
|
-
"@codernote/utils": "1.8.0-beta.
|
|
23
|
+
"@codernote/utils": "1.8.0-beta.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@vitejs/plugin-vue": "^5.0.4",
|